Package com.google.api.gax.rpc
package com.google.api.gax.rpc
-
ClassDescriptionException thrown when the operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.Exception thrown when some entity that we attempted to create (e.g., file or directory) already exists.Context for an API call.Key for api call context options key-value pair.Implementation of HeaderProvider that provides headers describing the API client library making API calls.Represents an exception thrown during an RPC call.A factory class that returns the corresponding type of exception class from the given status code.A utility class for working with
ApiException.Receives notifications from an observable stream of messages.This exception is used to preserve the caller's stacktrace when invoking an async task in a sync context.Batch<RequestT,ResponseT> A Batch contains a collection of requests that are to be batched into a single API call.BatchedFuture<ResponseT>An ApiFuture to be used with batching.BatchedRequestIssuer<ResponseT>BatchedRequestIssuer receives a response or an exception and waits to set the given batchedFuture until sendResult() is called.BatcherFactory<RequestT,ResponseT> A Factory class which, for each unique partitionKey, creates a trio including a ThresholdBatcher, BatchExecutor, and ThresholdBatchingForwarder.BatchingCallable<RequestT,ResponseT> AUnaryCallablewhich will batch requests based on the given BatchingDescriptor and BatcherFactory.BatchingCallSettings<RequestT,ResponseT> A settings class to configure aUnaryCallablefor calls to an API method that supports batching.BatchingCallSettings.Builder<RequestT,ResponseT> BatchingDescriptor<RequestT,ResponseT> Interface which represents an object that transforms request/response data for the purposes of batching.BidiStream<RequestT,ResponseT> A wrapper around a bidirectional stream.BidiStreamingCallable<RequestT,ResponseT> A BidiStreamingCallable is an immutable object which is capable of making RPC calls to bidirectional streaming API methods.BidiStreamObserver<RequestT,ResponseT> Class with utility methods to create callable objects using provided settings.The exception thrown when the operation was cancelled (typically by the caller).Encapsulates client state, including executor, credentials, and transport channel.ClientSettings<SettingsT extends ClientSettings<SettingsT>>A base settings class to configure a client class.ClientSettings.Builder<SettingsT extends ClientSettings<SettingsT>,B extends ClientSettings.Builder<SettingsT, B>> ClientStream<RequestT>A wrapper used to send requests to the server.ClientStreamingCallable<RequestT,ResponseT> A ClientStreamingCallable is an immutable object which is capable of making RPC calls to client streaming API methods.A callback used to report that theClientStreamis ready to send more messages.Exception thrown due to unrecoverable data loss or corruption.Exception thrown when deadline expired before operation could complete.This class contains a list of standard error messages that returns from server.Exception thrown when the operation was rejected because the system is not in a state required for the operation's execution.An instance of HeaderProvider that always provides the same headers.An instance of TransportChannelProvider that always provides the same TransportChannel.A watchdog provider which always returns the same watchdog instance provided to the provider during construction.Provider of headers to put on http requests.A watchdog provider which instantiates a new provider on every request.Exception thrown due to internal errors.Exception thrown when client specified an invalid argument.Implementation-agnostic interface for managing long-running operations.Implementation of HeaderProvider that provides empty headers.Exception thrown when some requested entity (e.g., file or directory) was not found.OperationCallable<RequestT,ResponseT, MetadataT> An OperationCallable is an immutable object which is capable of initiating RPC calls to long-running API methods and returning anOperationFutureto manage the polling of the Operation and getting the response.OperationCallSettings<RequestT,ResponseT, MetadataT> A settings class to configure anOperationCallablefor calls to initiate, resume, and cancel a long-running operation.OperationCallSettings.Builder<RequestT,ResponseT, MetadataT> Exception thrown when the operation was attempted past the valid range.PageContext<RequestT,ResponseT, ResourceT> The context for a page call.PagedCallable<RequestT,ResponseT, PagedListResponseT> A UnaryCallable which provides page streaming functionality for unary calls.PagedCallSettings<RequestT,ResponseT, PagedListResponseT> A settings class to configure aUnaryCallablefor calls to an API method that supports page streaming.PagedCallSettings.Builder<RequestT,ResponseT, PagedListResponseT> PagedListDescriptor<RequestT,ResponseT, ResourceT> An interface which provides the functionality to extract data from requests and inject data into requests for the purposes of page streaming.PagedListResponseFactory<RequestT,ResponseT, PagedListResponseT> Interface for constructing futures which return PagedListResponse objects.Exception thrown when the caller does not have permission to execute the specified operation.Exception thrown when parsing protocol buffer message failedThis builder class builds a request params map that will be used by autogenerated implementation ofRequestParamsExtractor.RequestParamsEncoder<RequestT>A request params encoder takes arequestobject and encodes some (or all) of its parameters in a string form following specific parameter extraction and string encoding rules, defined by concrete implementations of this interface.RequestParamsExtractor<RequestT>A request params extractor takes arequestmessage, extracts specific field values from it, converts them in strings and returns them as key-value pairs, where a key is a request field name and a value is a string representation of a field value.RequestUrlParamsEncoder<RequestT>The request params encoder, which encodes URL-encoded parameters in one URL parameters string.Exception thrown when some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.Receives notifications from server-streaming calls.ServerStream<V>A blocking Iterable-style wrapper around server stream responses.ServerStreamingCallable<RequestT,ResponseT> A ServerStreamingCallable is an immutable object which is capable of making RPC calls to server streaming API methods.ServerStreamingCallSettings<RequestT,ResponseT> A settings class to configure aServerStreamingCallable.ServerStreamingCallSettings.Builder<RequestT,ResponseT> Base implementation ofResponseObserverthat performs state sanity checks.Transport-specific status code.Allows the implementer ofResponseObserverto control the flow of responses.StreamingCallSettings<RequestT,ResponseT> A settings class to configure a streaming callable object for calls to a streaming API method.StreamingCallSettings.Builder<RequestT,ResponseT> StubSettings<SettingsT extends StubSettings<SettingsT>>A base settings class to configure a client stub class.StubSettings.Builder<SettingsT extends StubSettings<SettingsT>,B extends StubSettings.Builder<SettingsT, B>> TranslatingUnaryCallable<InnerRequestT,InnerResponseT, OuterRequestT, OuterResponseT> A UnaryCallable that translates request types and response types using the given transformers.Class whose instances can issue RPCs on a particular transport.Provides an interface to either build a TransportChannel or provide a fixed TransportChannel that will be used to make calls to a service.UnaryCallable<RequestT,ResponseT> A UnaryCallable is an immutable object which is capable of making RPC calls to non-streaming API methods.UnaryCallSettings<RequestT,ResponseT> A base settings class to configure a UnaryCallable.UnaryCallSettings.Builder<RequestT,ResponseT> A base builder class forUnaryCallSettings.Exception thrown when the request does not have valid authentication credentials for the operation.Exception thrown when the service is currently unavailable.Exception thrown when the operation is not implemented or not supported/enabled in this service.Exception thrown due to an unknown error.Prevents the streams from hanging indefinitely.The marker exception thrown when a timeout is exceeded.