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 enumCompanion enum for internal enumClientCalls.StubType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InternalClientCalls.StubTypegetStubType(CallOptions callOptions) ReturnsInternalClientCalls.StubTypefrom call options.static CallOptions.Key<io.grpc.stub.ClientCalls.StubType>Internal accessor forClientCalls.STUB_TYPE_OPTION.static CallOptionssetStubType(CallOptions callOptions, InternalClientCalls.StubType stubType) ReturnsCallOptionswith the correspondingClientCalls.StubTypeset.
-
Constructor Details
-
InternalClientCalls
public InternalClientCalls()
-
-
Method Details
-
getStubTypeOption
Internal accessor forClientCalls.STUB_TYPE_OPTION. -
getStubType
ReturnsInternalClientCalls.StubTypefrom call options. -
setStubType
public static CallOptions setStubType(CallOptions callOptions, InternalClientCalls.StubType stubType) ReturnsCallOptionswith the correspondingClientCalls.StubTypeset.
-