Interface Tool.AuthenticationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Tool.Authentication, Tool.Authentication.Builder
Enclosing class:
Tool

public static interface Tool.AuthenticationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasApiKeyConfig

      boolean hasApiKeyConfig()
       Config for API key auth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.ApiKeyConfig api_key_config = 1;
      Returns:
      Whether the apiKeyConfig field is set.
    • getApiKeyConfig

       Config for API key auth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.ApiKeyConfig api_key_config = 1;
      Returns:
      The apiKeyConfig.
    • getApiKeyConfigOrBuilder

      Tool.Authentication.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()
       Config for API key auth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.ApiKeyConfig api_key_config = 1;
    • hasOauthConfig

      boolean hasOauthConfig()
       Config for OAuth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.OAuthConfig oauth_config = 2;
      Returns:
      Whether the oauthConfig field is set.
    • getOauthConfig

       Config for OAuth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.OAuthConfig oauth_config = 2;
      Returns:
      The oauthConfig.
    • getOauthConfigOrBuilder

      Tool.Authentication.OAuthConfigOrBuilder getOauthConfigOrBuilder()
       Config for OAuth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.OAuthConfig oauth_config = 2;
    • hasServiceAgentAuthConfig

      boolean hasServiceAgentAuthConfig()
       Config for [Diglogflow service
       agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent)
       auth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
      Returns:
      Whether the serviceAgentAuthConfig field is set.
    • getServiceAgentAuthConfig

      Tool.Authentication.ServiceAgentAuthConfig getServiceAgentAuthConfig()
       Config for [Diglogflow service
       agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent)
       auth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
      Returns:
      The serviceAgentAuthConfig.
    • getServiceAgentAuthConfigOrBuilder

      Tool.Authentication.ServiceAgentAuthConfigOrBuilder getServiceAgentAuthConfigOrBuilder()
       Config for [Diglogflow service
       agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent)
       auth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;
    • hasBearerTokenConfig

      boolean hasBearerTokenConfig()
       Config for bearer token auth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
      Returns:
      Whether the bearerTokenConfig field is set.
    • getBearerTokenConfig

       Config for bearer token auth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
      Returns:
      The bearerTokenConfig.
    • getBearerTokenConfigOrBuilder

      Tool.Authentication.BearerTokenConfigOrBuilder getBearerTokenConfigOrBuilder()
       Config for bearer token auth.
       
      .google.cloud.dialogflow.v2.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
    • getAuthConfigCase