Namespace Google.Api.Gax.Grpc
Classes
ApiBidirectionalStreamingCall<TRequest, TResponse>
Bridge between a duplex streaming RPC method and higher level abstractions, applying call settings as required.
ApiCall<TRequest, TResponse>
Bridge between an RPC method (with synchronous and asynchronous variants) and higher level abstractions, applying call settings as required.
ApiServerStreamingCall<TRequest, TResponse>
Bridge between a server streaming RPC method and higher level abstractions, applying call settings as required.
AsyncResponseStream<TResponse>
An adapter from the gRPC stream representation (IAsyncStreamReader<T>) to System.Collections.Generic.IAsyncEnumerable<T> and System.Collections.Generic.IAsyncEnumerator<T>. Note that GetAsyncEnumerator(CancellationToken) can only be called once per instance due to the "only iterate once" nature of the response stream.
BidirectionalStreamingBase<TRequest, TResponse>
Base class for bidirectional streaming RPC methods.
BidirectionalStreamingSettings
Settings for bidirectional streaming.
BufferedClientStreamWriter<T>
A wrapper around IClientStreamWriter<T> which removes the "one write at a time" restriction by buffering messages (and the completion signal) up to a given capacity.
CallSettings
Settings to determine how an RPC operates. This type is immutable.
CallSettingsExtensions
Extension methods for CallSettings. All methods accept a null first parameter as valid unless stated otherwise.
ChannelPool
A pool of channels for the same service, but with potentially different endpoints. Each endpoint has a single channel. All channels created by this pool use default application credentials. This class is thread-safe.
ClientBuilderBase<TClient>
Base class for API-specific builders.
ClientHelper
Common helper code shared by clients.
GrpcAdapter
Interoperability layer for the aspects of gRPC that aren't covered by Grpc.Core.Api.
GrpcChannelOptions
Portable abstraction of channel options
GrpcChannelOptions.CustomOption
A custom option, with a name and a value of either a 32-bit integer or a string.
GrpcPagedAsyncEnumerable<TRequest, TResponse, TResource>
An asynchronous sequence of resources, obtained lazily via API operations which retrieve a page at a time.
GrpcPagedEnumerable<TRequest, TResponse, TResource>
A sequence of resources, obtained lazily via API operations which retrieve a page at a time.
MonitoredResourceBuilder
Helper methods to build a MonitoredResource instance. See the Monitored Resource List for details.
RetryAttempt
An attempt at a retriable operation. Use CreateRetrySequence(RetrySettings, IScheduler, Nullable<DateTime>, IClock, Nullable<TimeSpan>) or CreateRetrySequence(RetrySettings, IScheduler, Nullable<TimeSpan>) to create a sequence of attempts that follow the specified settings.
RetrySettings
Settings for retrying RPCs.
ServerStreamingBase<TResponse>
Base class for server streaming RPC methods.
ServiceSettingsBase
Common settings for all services.
Interfaces
IPageRequest
A request for a page-streaming operation.
IPageResponse<TResource>
A response in a page-streaming operation.
RetrySettings.IJitter
Provides a mechanism for applying jitter to delays between retries. See the BackoffJitter property for more information.
Enums
GrpcChannelOptions.CustomOption.OptionType
Possible types of value within a custom option.