Package io.grpc.stub
Class InternalClientCalls
- java.lang.Object
-
- io.grpc.stub.InternalClientCalls
-
@Internal public final class InternalClientCalls extends java.lang.Object
InternalClientCalls
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 Classes Modifier and Type Class Description static class
InternalClientCalls.StubType
Companion 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.StubType
getStubType(CallOptions callOptions)
ReturnsInternalClientCalls.StubType
from call options.static CallOptions.Key<ClientCalls.StubType>
getStubTypeOption()
Internal accessor forClientCalls.STUB_TYPE_OPTION
.static CallOptions
setStubType(CallOptions callOptions, InternalClientCalls.StubType stubType)
ReturnsCallOptions
with the correspondingClientCalls.StubType
set.
-
-
-
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.StubType
from call options.
-
setStubType
public static CallOptions setStubType(CallOptions callOptions, InternalClientCalls.StubType stubType)
ReturnsCallOptions
with the correspondingClientCalls.StubType
set.
-
-