Send feedback
Class GrafeasClientBuilder (2.3.0) Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.0 keyboard_arrow_down
public sealed class GrafeasClientBuilder : ClientBuilderBase<GrafeasClient>
Builder class for GrafeasClient
to provide simple configuration of credentials, endpoint etc.
Namespace
Grafeas.V1
Assembly
Grafeas.V1.dll
Constructors
GrafeasClientBuilder()
public GrafeasClientBuilder()
Creates a new builder with default settings.
Properties
DefaultGrpcAdapter
protected override GrpcAdapter DefaultGrpcAdapter { get; }
Returns the default GrpcAdapter
to use if not otherwise specified.
Overrides Google.Api.Gax.Grpc.ClientBuilderBase<Grafeas.V1.GrafeasClient>.DefaultGrpcAdapter
Settings
public GrafeasSettings Settings { get; set; }
The settings to use for RPCs, or null
for the default settings.
Methods
Build()
public override GrafeasClient Build()
Builds the resulting client.
Overrides Google.Api.Gax.Grpc.ClientBuilderBase<Grafeas.V1.GrafeasClient>.Build()
BuildAsync(CancellationToken)
public override Task<GrafeasClient> BuildAsync(CancellationToken cancellationToken = default(CancellationToken))
Builds the resulting client asynchronously.
Overrides Google.Api.Gax.Grpc.ClientBuilderBase<Grafeas.V1.GrafeasClient>.BuildAsync(System.Threading.CancellationToken)
GetChannelPool()
protected override ChannelPool GetChannelPool()
Overrides Google.Api.Gax.Grpc.ClientBuilderBase<Grafeas.V1.GrafeasClient>.GetChannelPool()
GetDefaultEndpoint()
protected override string GetDefaultEndpoint()
Overrides Google.Api.Gax.Grpc.ClientBuilderBase<Grafeas.V1.GrafeasClient>.GetDefaultEndpoint()
GetDefaultScopes()
protected override IReadOnlyList<string> GetDefaultScopes()
Returns the default scopes for this builder type, used if no scopes are otherwise specified.
Overrides Google.Api.Gax.Grpc.ClientBuilderBase<Grafeas.V1.GrafeasClient>.GetDefaultScopes()
Validate()
protected override void Validate()
Overrides Google.Api.Gax.Grpc.ClientBuilderBase<Grafeas.V1.GrafeasClient>.Validate()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-05 UTC."],[],[]]