@Internal public final class InternalClientCalls extends Object
ClientCalls accessor. This is intended for usage internal to the gRPC
team. If you *really* think you need to use this, contact the gRPC team first.| Modifier and Type | Class and Description |
|---|---|
static class |
InternalClientCalls.StubType
Companion enum for internal enum
ClientCalls.StubType. |
| Constructor and Description |
|---|
InternalClientCalls() |
| Modifier and Type | Method and Description |
|---|---|
static InternalClientCalls.StubType |
getStubType(CallOptions callOptions)
Returns
InternalClientCalls.StubType from call options. |
static CallOptions.Key<io.grpc.stub.ClientCalls.StubType> |
getStubTypeOption()
Internal accessor for
ClientCalls.STUB_TYPE_OPTION. |
static CallOptions |
setStubType(CallOptions callOptions,
InternalClientCalls.StubType stubType)
Returns
CallOptions with the corresponding ClientCalls.StubType set. |
public static CallOptions.Key<io.grpc.stub.ClientCalls.StubType> getStubTypeOption()
ClientCalls.STUB_TYPE_OPTION.public static InternalClientCalls.StubType getStubType(CallOptions callOptions)
InternalClientCalls.StubType from call options.public static CallOptions setStubType(CallOptions callOptions, InternalClientCalls.StubType stubType)
CallOptions with the corresponding ClientCalls.StubType set.