Package io.grpc.stub
Class InternalClientCalls
java.lang.Object
io.grpc.stub.InternalClientCalls
Internal
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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Companion enum for internal enumClientCalls.StubType
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InternalClientCalls.StubType
getStubType
(CallOptions callOptions) ReturnsInternalClientCalls.StubType
from call options.static CallOptions.Key
<io.grpc.stub.ClientCalls.StubType> Internal accessor forClientCalls.STUB_TYPE_OPTION
.static CallOptions
setStubType
(CallOptions callOptions, InternalClientCalls.StubType stubType) ReturnsCallOptions
with the correspondingClientCalls.StubType
set.
-
Constructor Details
-
InternalClientCalls
public InternalClientCalls()
-
-
Method Details
-
getStubTypeOption
Internal accessor forClientCalls.STUB_TYPE_OPTION
. -
getStubType
ReturnsInternalClientCalls.StubType
from call options. -
setStubType
public static CallOptions setStubType(CallOptions callOptions, InternalClientCalls.StubType stubType) ReturnsCallOptions
with the correspondingClientCalls.StubType
set.
-