Class Tool.Authentication.Builder (0.54.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.54.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  Tool . Authentication . Builder   extends   GeneratedMessageV3 . Builder<Tool . Authentication . Builder >  implements   Tool . AuthenticationOrBuilder  
   Authentication information required for API calls
 Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.Authentication
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
    
public   Tool . Authentication . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   Tool . Authentication   build ()  
  
  
    
public   Tool . Authentication   buildPartial ()  
  
  
    
public   Tool . Authentication . Builder   clear ()  
  
  Overrides 
  
  
    
public   Tool . Authentication . Builder   clearApiKeyConfig ()  
   Config for API key auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
 
    
public   Tool . Authentication . Builder   clearAuthConfig ()  
  
  
    
public   Tool . Authentication . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
    
public   Tool . Authentication . Builder   clearOauthConfig ()  
   Config for OAuth.
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
 
    
public   Tool . Authentication . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
    
public   Tool . Authentication . Builder   clearServiceAgentAuthConfig ()  
   Config for Diglogflow service
 agent 
 auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
 
    
public   Tool . Authentication . Builder   clone ()  
  
  Overrides 
  
  
    
public   Tool . Authentication . ApiKeyConfig   getApiKeyConfig ()  
   Config for API key auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
 
    
public   Tool . Authentication . ApiKeyConfig . Builder   getApiKeyConfigBuilder ()  
   Config for API key auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
 
    
public   Tool . Authentication . ApiKeyConfigOrBuilder   getApiKeyConfigOrBuilder ()  
   Config for API key auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
 
    
public   Tool . Authentication . AuthConfigCase   getAuthConfigCase ()  
  
  
    
public   Tool . Authentication   getDefaultInstanceForType ()  
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
    
public   Tool . Authentication . OAuthConfig   getOauthConfig ()  
   Config for OAuth.
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
 
    
public   Tool . Authentication . OAuthConfig . Builder   getOauthConfigBuilder ()  
   Config for OAuth.
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
 
    
public   Tool . Authentication . OAuthConfigOrBuilder   getOauthConfigOrBuilder ()  
   Config for OAuth.
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
 
    
public   Tool . Authentication . ServiceAgentAuthConfig   getServiceAgentAuthConfig ()  
   Config for Diglogflow service
 agent 
 auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
 
    
public   Tool . Authentication . ServiceAgentAuthConfig . Builder   getServiceAgentAuthConfigBuilder ()  
   Config for Diglogflow service
 agent 
 auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
 
    
public   Tool . Authentication . ServiceAgentAuthConfigOrBuilder   getServiceAgentAuthConfigOrBuilder ()  
   Config for Diglogflow service
 agent 
 auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
 
    
public   boolean   hasApiKeyConfig ()  
   Config for API key auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the apiKeyConfig field is set.
 
     
  
  
    
public   boolean   hasOauthConfig ()  
   Config for OAuth.
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the oauthConfig field is set.
 
     
  
  
    
public   boolean   hasServiceAgentAuthConfig ()  
   Config for Diglogflow service
 agent 
 auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the serviceAgentAuthConfig field is set.
 
     
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   Tool . Authentication . Builder   mergeApiKeyConfig ( Tool . Authentication . ApiKeyConfig   value )  
   Config for API key auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
 
    
public   Tool . Authentication . Builder   mergeFrom ( Tool . Authentication   other )  
  
  
  
    
public   Tool . Authentication . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
    
public   Tool . Authentication . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   Tool . Authentication . Builder   mergeOauthConfig ( Tool . Authentication . OAuthConfig   value )  
   Config for OAuth.
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
 
    
public   Tool . Authentication . Builder   mergeServiceAgentAuthConfig ( Tool . Authentication . ServiceAgentAuthConfig   value )  
   Config for Diglogflow service
 agent 
 auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
 
    
public   final   Tool . Authentication . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   Tool . Authentication . Builder   setApiKeyConfig ( Tool . Authentication . ApiKeyConfig   value )  
   Config for API key auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
 
    
public   Tool . Authentication . Builder   setApiKeyConfig ( Tool . Authentication . ApiKeyConfig . Builder   builderForValue )  
   Config for API key auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;
 
    
public   Tool . Authentication . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   Tool . Authentication . Builder   setOauthConfig ( Tool . Authentication . OAuthConfig   value )  
   Config for OAuth.
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
 
    
public   Tool . Authentication . Builder   setOauthConfig ( Tool . Authentication . OAuthConfig . Builder   builderForValue )  
   Config for OAuth.
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;
 
    
public   Tool . Authentication . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   Tool . Authentication . Builder   setServiceAgentAuthConfig ( Tool . Authentication . ServiceAgentAuthConfig   value )  
   Config for Diglogflow service
 agent 
 auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
 
    
public   Tool . Authentication . Builder   setServiceAgentAuthConfig ( Tool . Authentication . ServiceAgentAuthConfig . Builder   builderForValue )  
   Config for Diglogflow service
 agent 
 auth.
 
 .google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
 
    
public   final   Tool . Authentication . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]