public static enum InternalClientCalls.StubType extends Enum<InternalClientCalls.StubType>
ClientCalls.StubType.| Modifier and Type | Method and Description |
|---|---|
static InternalClientCalls.StubType |
of(io.grpc.stub.ClientCalls.StubType internal)
Returns companion enum value of passed internal enum equivalent.
|
static InternalClientCalls.StubType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalClientCalls.StubType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InternalClientCalls.StubType BLOCKING
public static final InternalClientCalls.StubType ASYNC
public static final InternalClientCalls.StubType FUTURE
public static InternalClientCalls.StubType[] values()
for (InternalClientCalls.StubType c : InternalClientCalls.StubType.values()) System.out.println(c);
public static InternalClientCalls.StubType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static InternalClientCalls.StubType of(io.grpc.stub.ClientCalls.StubType internal)