Package io.grpc.reflection.v1alpha
Class ServerReflectionGrpc.ServerReflectionBlockingV2Stub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<ServerReflectionGrpc.ServerReflectionBlockingV2Stub>
-
- io.grpc.reflection.v1alpha.ServerReflectionGrpc.ServerReflectionBlockingV2Stub
-
- Enclosing class:
- ServerReflectionGrpc
public static final class ServerReflectionGrpc.ServerReflectionBlockingV2Stub extends AbstractBlockingStub<ServerReflectionGrpc.ServerReflectionBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service ServerReflection.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
AbstractStub.StubFactory<T extends AbstractStub<T>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ServerReflectionGrpc.ServerReflectionBlockingV2Stub
build(Channel channel, CallOptions callOptions)
Returns a new stub with the given channel for the provided method configurations.BlockingClientCall<ServerReflectionRequest,ServerReflectionResponse>
serverReflectionInfo()
The reflection service is structured as a bidirectional stream, ensuring all related requests go to a single server.-
Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected ServerReflectionGrpc.ServerReflectionBlockingV2Stub build(Channel channel, CallOptions callOptions)
Description copied from class:AbstractStub
Returns a new stub with the given channel for the provided method configurations.- Specified by:
build
in classAbstractStub<ServerReflectionGrpc.ServerReflectionBlockingV2Stub>
- Parameters:
channel
- the channel that this stub will use to do communicationscallOptions
- the runtime call options to be applied to every call on this stub
-
serverReflectionInfo
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public BlockingClientCall<ServerReflectionRequest,ServerReflectionResponse> serverReflectionInfo()
The reflection service is structured as a bidirectional stream, ensuring all related requests go to a single server.
-
-