Skip navigation links
A B C D F G I M N O S U 

A

AbstractServiceDescriptor<T extends AbstractServiceDescriptor<?>> - Class in io.grpc.stub
Base class for all stub configurations.
AbstractServiceDescriptor() - Constructor for class io.grpc.stub.AbstractServiceDescriptor
 
AbstractStub<S extends AbstractStub<?,?>,C extends AbstractServiceDescriptor<C>> - Class in io.grpc.stub
Common base type for stub implementations.
AbstractStub(Channel, C) - Constructor for class io.grpc.stub.AbstractStub
Constructor for use by subclasses.
AbstractStub.StubConfigBuilder - Class in io.grpc.stub
Utility class for (re) configuring the operations in a stub.
addInterceptor(ClientInterceptor) - Method in class io.grpc.stub.AbstractStub.StubConfigBuilder
Adds a client interceptor to be attached to the channel of the reconfigured stub.
asyncClientStreamingCall(Call<ReqT, RespT>, StreamObserver<RespT>) - Static method in class io.grpc.stub.Calls
Executes a client-streaming call returning a StreamObserver for the request messages.
asyncServerStreamingCall(Call<ReqT, RespT>, ReqT, StreamObserver<RespT>) - Static method in class io.grpc.stub.Calls
Executes a server-streaming call with a response StreamObserver.
asyncStreamingRequestCall(ServerCalls.StreamingRequestMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Creates a ServerCallHandler for a streaming request call method of the service.
asyncUnaryCall(Call<ReqT, RespT>, ReqT, StreamObserver<RespT>) - Static method in class io.grpc.stub.Calls
Executes a unary call with a response StreamObserver.
asyncUnaryRequestCall(ServerCalls.UnaryRequestMethod<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Creates a ServerCallHandler for a unary request call method of the service.
attachHeaders(T, Metadata.Headers) - Static method in class io.grpc.stub.MetadataUtils
Attaches a set of request headers to a stub.
awaitCompletion() - Method in class io.grpc.stub.StreamRecorder
Waits for the stream to terminate.
awaitCompletion(int, TimeUnit) - Method in class io.grpc.stub.StreamRecorder
Waits a fixed timeout for the stream to terminate.

B

blockingClientStreamingCall(Call<ReqT, RespT>, Iterator<ReqT>) - Static method in class io.grpc.stub.Calls
Executes a client-streaming call with a blocking Iterator of request messages.
blockingServerStreamingCall(Call<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.Calls
Executes a server-streaming call returning a blocking Iterator over the response stream.
blockingUnaryCall(Call<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.Calls
Executes a unary call and blocks on the response.
build(Map<String, MethodDescriptor<?, ?>>) - Method in class io.grpc.stub.AbstractServiceDescriptor
Returns a new stub configuration for the provided method configurations.
build(Channel, C) - Method in class io.grpc.stub.AbstractStub
Returns a new stub with the given channel for the provided method configurations.
build() - Method in class io.grpc.stub.AbstractStub.StubConfigBuilder
Create a new stub with the configurations made on this builder.

C

Calls - Class in io.grpc.stub
Utility functions for processing different call idioms.
Calls() - Constructor for class io.grpc.stub.Calls
 
captureMetadata(T, AtomicReference<Metadata.Headers>, AtomicReference<Metadata.Trailers>) - Static method in class io.grpc.stub.MetadataUtils
Captures the last received metadata for a stub.
channel - Variable in class io.grpc.stub.AbstractStub
 
config - Variable in class io.grpc.stub.AbstractStub
 
configureNewStub() - Method in class io.grpc.stub.AbstractStub
Creates a builder for reconfiguring the stub.
create(MethodType, String, Marshaller<RequestT>, Marshaller<ResponseT>) - Static method in class io.grpc.stub.Method
Constructor.
create() - Static method in class io.grpc.stub.StreamRecorder
Creates a new recorder.
createMethodDefinition(Method<ReqT, RespT>, ServerCallHandler<ReqT, RespT>) - Static method in class io.grpc.stub.ServerCalls
Attaches the handler to a method and gets a ServerMethodDefinition.
createMethodDescriptor(String, Method<RequestT, ResponseT>) - Static method in class io.grpc.stub.Calls
Creates a MethodDescriptor for a given method.

D

duplexStreamingCall(Call<ReqT, RespT>, StreamObserver<RespT>) - Static method in class io.grpc.stub.Calls
Executes a duplex-streaming call.

F

firstValue() - Method in class io.grpc.stub.StreamRecorder
Returns a ListenableFuture for the first value received from the stream.

G

getChannel() - Method in class io.grpc.stub.AbstractStub
The underlying channel of the stub.
getError() - Method in class io.grpc.stub.StreamRecorder
Returns the stream terminating error.
getName() - Method in class io.grpc.stub.Method
The name of the method, not including the service name.
getRequestMarshaller() - Method in class io.grpc.stub.Method
The marshaller used to serialize/deserialize the request.
getResponseMarshaller() - Method in class io.grpc.stub.Method
The marshaller used to serialize/deserialize the response.
getServiceDescriptor() - Method in class io.grpc.stub.AbstractStub
 
getType() - Method in class io.grpc.stub.Method
The call type of the method.
getValues() - Method in class io.grpc.stub.StreamRecorder
Returns the current set of received values.

I

invoke(StreamObserver<RespT>) - Method in interface io.grpc.stub.ServerCalls.StreamingRequestMethod
 
invoke(ReqT, StreamObserver<RespT>) - Method in interface io.grpc.stub.ServerCalls.UnaryRequestMethod
 
io.grpc.stub - package io.grpc.stub
 

M

MetadataUtils - Class in io.grpc.stub
Utility functions for binding and receiving headers.
MetadataUtils() - Constructor for class io.grpc.stub.MetadataUtils
 
Method<RequestT,ResponseT> - Class in io.grpc.stub
A description of a method exposed by a service.
methods() - Method in class io.grpc.stub.AbstractServiceDescriptor
Returns the list of operations defined in the stub configuration.

N

newAttachHeadersInterceptor(Metadata.Headers) - Static method in class io.grpc.stub.MetadataUtils
Returns a client interceptor that attaches a set of headers to requests.
newCaptureMetadataInterceptor(AtomicReference<Metadata.Headers>, AtomicReference<Metadata.Trailers>) - Static method in class io.grpc.stub.MetadataUtils
Captures the last received metadata on a channel.

O

onCompleted() - Method in interface io.grpc.stub.StreamObserver
Receives a notification of successful stream completion.
onCompleted() - Method in class io.grpc.stub.StreamRecorder
 
onError(Throwable) - Method in interface io.grpc.stub.StreamObserver
Receives a terminating error from the stream.
onError(Throwable) - Method in class io.grpc.stub.StreamRecorder
 
onValue(V) - Method in interface io.grpc.stub.StreamObserver
Receives a value from the stream.
onValue(T) - Method in class io.grpc.stub.StreamRecorder
 

S

ServerCalls - Class in io.grpc.stub
Utility functions for adapting ServerCallHandlers to application service implementation, meant to be used by the generated code.
ServerCalls.StreamingRequestMethod<ReqT,RespT> - Interface in io.grpc.stub
Adaptor to a client stremaing or bi-directional stremaing method.
ServerCalls.UnaryRequestMethod<ReqT,RespT> - Interface in io.grpc.stub
Adaptor to a unary call or server streaming method.
setChannel(Channel) - Method in class io.grpc.stub.AbstractStub.StubConfigBuilder
Set the channel to be used by the stub.
setTimeout(long, TimeUnit) - Method in class io.grpc.stub.AbstractStub.StubConfigBuilder
Sets a timeout for all methods in the stub.
StreamObserver<V> - Interface in io.grpc.stub
Receives notifications from an observable stream of messages.
StreamRecorder<T> - Class in io.grpc.stub
Utility implementation of StreamObserver used in testing.

U

unaryFutureCall(Call<ReqT, RespT>, ReqT) - Static method in class io.grpc.stub.Calls
Executes a unary call and returns a ListenableFuture to the response.
A B C D F G I M N O S U 
Skip navigation links