Namespace Google.Api.Gax.Grpc (4.3.1)

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.

ApiClientStreamingCall<TRequest, TResponse>

Bridge between a client streaming RPC method and higher level abstractions, applying call settings as required.

ApiMetadata

Provides metadata about an API. This is expected to be constructed with a single instance per API; equality is by simple identity.

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 () to and . 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 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.

ChannelBaseExtensions

Extension methods for .

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.

ClientStreamingBase<TRequest, TResponse>

Base class for the client-side streaming RPC methods.

ClientStreamingSettings

Settings for client streaming.

ForwardingCallInvoker<TSourceRequest>

Non-generic static class just for generic type inference, to make it easier to construct instances of Google.Api.Gax.Grpc.ForwardingCallInvoker`4.

GrpcAdapter

Interoperability layer for different gRPC transports. Concrete subclasses are GrpcCoreAdapter, GrpcNetClientAdapter and RestGrpcAdapter.

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.

GrpcCoreAdapter

Implementation of GrpcAdapter for Grpc.Core.

GrpcNetClientAdapter

Implementation of GrpcAdapter for Grpc.Net.Client.

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 Google.Api.MonitoredResource instance. See the Monitored Resource List for details.

RetryAttempt

An attempt at a retriable operation. Use CreateRetrySequence(RetrySettings, IScheduler, DateTime?, IClock, TimeSpan?) or CreateRetrySequence(RetrySettings, IScheduler, TimeSpan?) to create a sequence of attempts that follow the specified settings.

RetrySettings

Settings for retrying RPCs.

RoutingHeaderExtractor<TRequest>

Collects the explicit routing header extraction instructions and extracts the routing header value from a specific request using these instructions. This class is immutable.

RpcExceptionExtensions

Utility extension methods to make it easier to retrieve extended error information from an .

ServerStreamingBase<TResponse>

Base class for server streaming RPC methods.

ServiceMetadata

Provides metadata about a single service within an API. Often most of these aspects will be the same across multiple services, but they can be specified with different values in the original proto, so they are specified individually here. This class is expected to be constructed with a single instance per service; equality is by simple identity.

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.