public sealed class CloudProductRegistryReadServiceClientBuilder : ClientBuilderBase<CloudProductRegistryReadServiceClient>Reference documentation and code samples for the Cloud Product Registry v1 API class CloudProductRegistryReadServiceClientBuilder.
Builder class for CloudProductRegistryReadServiceClient to provide simple configuration of credentials, endpoint etc.
Inheritance
object > ClientBuilderBaseCloudProductRegistryReadServiceClient > CloudProductRegistryReadServiceClientBuilderNamespace
Google.Cloud.ProductRegistry.V1Assembly
Google.Cloud.ProductRegistry.V1.dll
Constructors
CloudProductRegistryReadServiceClientBuilder()
public CloudProductRegistryReadServiceClientBuilder()Creates a new builder with default settings.
Properties
Settings
public CloudProductRegistryReadServiceSettings Settings { get; set; }The settings to use for RPCs, or null for the default settings.
| Property Value | |
|---|---|
| Type | Description |
CloudProductRegistryReadServiceSettings |
|
Methods
Build()
public override CloudProductRegistryReadServiceClient Build()Builds the resulting client.
| Returns | |
|---|---|
| Type | Description |
CloudProductRegistryReadServiceClient |
|
BuildAsync(CancellationToken)
public override Task<CloudProductRegistryReadServiceClient> BuildAsync(CancellationToken cancellationToken = default)Builds the resulting client asynchronously.
| Parameter | |
|---|---|
| Name | Description |
cancellationToken |
CancellationToken |
| Returns | |
|---|---|
| Type | Description |
TaskCloudProductRegistryReadServiceClient |
|
GetChannelPool()
protected override ChannelPool GetChannelPool()Returns the channel pool to use when no other options are specified.
| Returns | |
|---|---|
| Type | Description |
ChannelPool |
|