Package io.grpc.stub
Class InternalClientCalls
- java.lang.Object
-
- io.grpc.stub.InternalClientCalls
-
@Internal public final class InternalClientCalls extends java.lang.Object
InternalClientCallsaccessor. 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 Classes Modifier and Type Class Description static classInternalClientCalls.StubTypeCompanion enum for internal enumClientCalls.StubType.
-
Constructor Summary
Constructors Constructor Description InternalClientCalls()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InternalClientCalls.StubTypegetStubType(CallOptions callOptions)ReturnsInternalClientCalls.StubTypefrom call options.static CallOptions.Key<ClientCalls.StubType>getStubTypeOption()Internal accessor forClientCalls.STUB_TYPE_OPTION.static CallOptionssetStubType(CallOptions callOptions, InternalClientCalls.StubType stubType)ReturnsCallOptionswith the correspondingClientCalls.StubTypeset.
-
-
-
Method Detail
-
getStubTypeOption
public static CallOptions.Key<ClientCalls.StubType> getStubTypeOption()
Internal accessor forClientCalls.STUB_TYPE_OPTION.
-
getStubType
public static InternalClientCalls.StubType getStubType(CallOptions callOptions)
ReturnsInternalClientCalls.StubTypefrom call options.
-
setStubType
public static CallOptions setStubType(CallOptions callOptions, InternalClientCalls.StubType stubType)
ReturnsCallOptionswith the correspondingClientCalls.StubTypeset.
-
-