[[["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-09-04 UTC."],[[["\u003cp\u003eThe GrafeasClientBuilder class is used to configure and build instances of the GrafeasClient for interacting with the Grafeas v1 API.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.7.0 is the latest version of GrafeasClientBuilder, with several prior versions available for reference, ranging down to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThis builder class inherits from ClientBuilderBase and offers methods for configuring credentials, endpoints, and other settings necessary for GrafeasClient operations.\u003c/p\u003e\n"],["\u003cp\u003eThe GrafeasClientBuilder has methods for both synchronous (Build) and asynchronous (BuildAsync) construction of the GrafeasClient.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a \u003ccode\u003eSettings\u003c/code\u003e property to customize the RPC settings of the Grafeas client, with the option to use default settings if \u003ccode\u003enull\u003c/code\u003e is provided.\u003c/p\u003e\n"]]],[],null,["# Grafeas v1 API - Class GrafeasClientBuilder (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.GrafeasClientBuilder)\n- [3.8.0](/dotnet/docs/reference/Grafeas.V1/3.8.0/Grafeas.V1.GrafeasClientBuilder)\n- [3.7.0](/dotnet/docs/reference/Grafeas.V1/3.7.0/Grafeas.V1.GrafeasClientBuilder)\n- [3.6.0](/dotnet/docs/reference/Grafeas.V1/3.6.0/Grafeas.V1.GrafeasClientBuilder)\n- [3.5.0](/dotnet/docs/reference/Grafeas.V1/3.5.0/Grafeas.V1.GrafeasClientBuilder)\n- [3.4.0](/dotnet/docs/reference/Grafeas.V1/3.4.0/Grafeas.V1.GrafeasClientBuilder)\n- [3.3.0](/dotnet/docs/reference/Grafeas.V1/3.3.0/Grafeas.V1.GrafeasClientBuilder)\n- [3.2.0](/dotnet/docs/reference/Grafeas.V1/3.2.0/Grafeas.V1.GrafeasClientBuilder)\n- [3.1.0](/dotnet/docs/reference/Grafeas.V1/3.1.0/Grafeas.V1.GrafeasClientBuilder)\n- [3.0.0](/dotnet/docs/reference/Grafeas.V1/3.0.0/Grafeas.V1.GrafeasClientBuilder)\n- [2.4.0](/dotnet/docs/reference/Grafeas.V1/2.4.0/Grafeas.V1.GrafeasClientBuilder)\n- [2.3.0](/dotnet/docs/reference/Grafeas.V1/2.3.0/Grafeas.V1.GrafeasClientBuilder)\n- [2.2.0](/dotnet/docs/reference/Grafeas.V1/2.2.0/Grafeas.V1.GrafeasClientBuilder) \n\n public sealed class GrafeasClientBuilder : ClientBuilderBase\u003cGrafeasClient\u003e\n\nReference documentation and code samples for the Grafeas v1 API class GrafeasClientBuilder.\n\nBuilder class for [GrafeasClient](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.GrafeasClient) to provide simple configuration of credentials, endpoint etc. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ClientBuilderBase](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html)[GrafeasClient](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.GrafeasClient) \\\u003e GrafeasClientBuilder \n\nInherited Members\n-----------------\n\n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.Build(IServiceProvider)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_Build_System_IServiceProvider_) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.BuildAsync(IServiceProvider, CancellationToken)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_BuildAsync_System_IServiceProvider_System_Threading_CancellationToken_) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.UniverseDomain](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_UniverseDomain) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.Endpoint](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_Endpoint) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.Logger](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_Logger) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.Scopes](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_Scopes) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.ChannelCredentials](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_ChannelCredentials) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.CredentialsPath](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_CredentialsPath) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.JsonCredentials](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_JsonCredentials) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.GoogleCredential](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_GoogleCredential) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.Credential](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_Credential) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.TokenAccessMethod](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_TokenAccessMethod) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.CallInvoker](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_CallInvoker) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.UserAgent](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_UserAgent) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.GrpcAdapter](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_GrpcAdapter) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.ApiKey](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_ApiKey) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.QuotaProject](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_QuotaProject) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.GrpcChannelOptions](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_GrpcChannelOptions) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.LastCreatedChannel](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_LastCreatedChannel) \n[ClientBuilderBase\\\u003cGrafeasClient\\\u003e.UseJwtAccessWithScopes](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_UseJwtAccessWithScopes) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Grafeas.V1](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1)\n\nAssembly\n--------\n\nGrafeas.V1.dll\n\nConstructors\n------------\n\n### GrafeasClientBuilder()\n\n public GrafeasClientBuilder()\n\nCreates a new builder with default settings.\n\nProperties\n----------\n\n### Settings\n\n public GrafeasSettings Settings { get; set; }\n\nThe settings to use for RPCs, or `null` for the default settings.\n\nMethods\n-------\n\n### Build()\n\n public override GrafeasClient Build()\n\nBuilds the resulting client.\n\n**Overrides** \nGoogle.Api.Gax.Grpc.ClientBuilderBase\\\u003cGrafeas.V1.GrafeasClient\\\u003e.Build()\n\n### BuildAsync(CancellationToken)\n\n public override Task\u003cGrafeasClient\u003e BuildAsync(CancellationToken cancellationToken = default)\n\nBuilds the resulting client asynchronously.\n\n**Overrides** \nGoogle.Api.Gax.Grpc.ClientBuilderBase\\\u003cGrafeas.V1.GrafeasClient\\\u003e.BuildAsync(System.Threading.CancellationToken)\n\n### GetChannelPool()\n\n protected override ChannelPool GetChannelPool()\n\nReturns the channel pool to use when no other options are specified.\n\n**Overrides** \nGoogle.Api.Gax.Grpc.ClientBuilderBase\\\u003cGrafeas.V1.GrafeasClient\\\u003e.GetChannelPool()"]]