Show / Hide Table of Contents

Class DataLabelingServiceClientBuilder

Builder class for DataLabelingServiceClient to provide simple configuration of credentials, endpoint etc.

Inheritance
System.Object
ClientBuilderBase<DataLabelingServiceClient>
DataLabelingServiceClientBuilder
Inherited Members
ClientBuilderBase<DataLabelingServiceClient>.CopyCommonSettings<TOther>(ClientBuilderBase<TOther>)
ClientBuilderBase<DataLabelingServiceClient>.Validate()
ClientBuilderBase<DataLabelingServiceClient>.GetEmulatorEnvironment(IEnumerable<String>, IEnumerable<String>, Func<String, String>)
ClientBuilderBase<DataLabelingServiceClient>.ValidateAtMostOneNotNull(String, Object[])
ClientBuilderBase<DataLabelingServiceClient>.ValidateOptionExcludesOthers(String, Object, Object[])
ClientBuilderBase<DataLabelingServiceClient>.CreateCallInvoker()
ClientBuilderBase<DataLabelingServiceClient>.CreateCallInvokerAsync(CancellationToken)
ClientBuilderBase<DataLabelingServiceClient>.GetChannelCredentials()
ClientBuilderBase<DataLabelingServiceClient>.GetChannelCredentialsAsync(CancellationToken)
ClientBuilderBase<DataLabelingServiceClient>.GetChannelOptions()
ClientBuilderBase<DataLabelingServiceClient>.Endpoint
ClientBuilderBase<DataLabelingServiceClient>.Scopes
ClientBuilderBase<DataLabelingServiceClient>.ChannelCredentials
ClientBuilderBase<DataLabelingServiceClient>.CredentialsPath
ClientBuilderBase<DataLabelingServiceClient>.JsonCredentials
ClientBuilderBase<DataLabelingServiceClient>.TokenAccessMethod
ClientBuilderBase<DataLabelingServiceClient>.CallInvoker
ClientBuilderBase<DataLabelingServiceClient>.UserAgent
ClientBuilderBase<DataLabelingServiceClient>.GrpcAdapter
ClientBuilderBase<DataLabelingServiceClient>.EmulatorDetection
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DataLabeling.V1Beta1.DataLabelingServiceClient>.QuotaProject
ClientBuilderBase<DataLabelingServiceClient>.CanUseChannelPool
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.DataLabeling.V1Beta1
Assembly: Google.Cloud.DataLabeling.V1Beta1.dll
Syntax
public sealed class DataLabelingServiceClientBuilder : ClientBuilderBase<DataLabelingServiceClient>

Properties

DefaultGrpcAdapter

Returns the default GrpcAdapterto use if not otherwise specified.

Declaration
protected override GrpcAdapter DefaultGrpcAdapter { get; }
Property Value
Type Description
GrpcAdapter
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DataLabeling.V1Beta1.DataLabelingServiceClient>.DefaultGrpcAdapter

Settings

The settings to use for RPCs, or null for the default settings.

Declaration
public DataLabelingServiceSettings Settings { get; set; }
Property Value
Type Description
DataLabelingServiceSettings

Methods

Build()

Builds the resulting client.

Declaration
public override DataLabelingServiceClient Build()
Returns
Type Description
DataLabelingServiceClient
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DataLabeling.V1Beta1.DataLabelingServiceClient>.Build()

BuildAsync(CancellationToken)

Builds the resulting client asynchronously.

Declaration
public override Task<DataLabelingServiceClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<DataLabelingServiceClient>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DataLabeling.V1Beta1.DataLabelingServiceClient>.BuildAsync(System.Threading.CancellationToken)

GetChannelPool()

Returns the channel pool to use when no other options are specified.

Declaration
protected override ChannelPool GetChannelPool()
Returns
Type Description
ChannelPool
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DataLabeling.V1Beta1.DataLabelingServiceClient>.GetChannelPool()

GetDefaultEndpoint()

Returns the endpoint for this builder type, used if no endpoint is otherwise specified.

Declaration
protected override string GetDefaultEndpoint()
Returns
Type Description
System.String
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DataLabeling.V1Beta1.DataLabelingServiceClient>.GetDefaultEndpoint()

GetDefaultScopes()

Returns the default scopes for this builder type, used if no scopes are otherwise specified.

Declaration
protected override IReadOnlyList<string> GetDefaultScopes()
Returns
Type Description
System.Collections.Generic.IReadOnlyList<System.String>
Overrides
Google.Api.Gax.Grpc.ClientBuilderBase<Google.Cloud.DataLabeling.V1Beta1.DataLabelingServiceClient>.GetDefaultScopes()
Back to top