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 Summary
Modifier and TypeMethodDescriptionConfig for API key auth.Config for API key auth.Config for bearer token auth.Config for bearer token auth.Config for OAuth.Config for OAuth.Configuration for service account authentication.Configuration for service account authentication.Config for [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent) auth.Config for [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent) auth.booleanConfig for API key auth.booleanConfig for bearer token auth.booleanConfig for OAuth.booleanConfiguration for service account authentication.booleanConfig for [Diglogflow service agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent) auth.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasApiKeyConfig
boolean hasApiKeyConfig()Config for API key auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;- Returns:
- Whether the apiKeyConfig field is set.
-
getApiKeyConfig
Tool.Authentication.ApiKeyConfig getApiKeyConfig()Config for API key auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;- Returns:
- The apiKeyConfig.
-
getApiKeyConfigOrBuilder
Tool.Authentication.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()Config for API key auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1; -
hasOauthConfig
boolean hasOauthConfig()Config for OAuth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;- Returns:
- Whether the oauthConfig field is set.
-
getOauthConfig
Tool.Authentication.OAuthConfig getOauthConfig()Config for OAuth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;- Returns:
- The oauthConfig.
-
getOauthConfigOrBuilder
Tool.Authentication.OAuthConfigOrBuilder getOauthConfigOrBuilder()Config for OAuth.
.google.cloud.dialogflow.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.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.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3; -
hasBearerTokenConfig
boolean hasBearerTokenConfig()Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;- Returns:
- Whether the bearerTokenConfig field is set.
-
getBearerTokenConfig
Tool.Authentication.BearerTokenConfig getBearerTokenConfig()Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;- Returns:
- The bearerTokenConfig.
-
getBearerTokenConfigOrBuilder
Tool.Authentication.BearerTokenConfigOrBuilder getBearerTokenConfigOrBuilder()Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4; -
hasServiceAccountAuthConfig
boolean hasServiceAccountAuthConfig()Configuration for service account authentication.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAccountAuthConfig service_account_auth_config = 5;- Returns:
- Whether the serviceAccountAuthConfig field is set.
-
getServiceAccountAuthConfig
Tool.Authentication.ServiceAccountAuthConfig getServiceAccountAuthConfig()Configuration for service account authentication.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAccountAuthConfig service_account_auth_config = 5;- Returns:
- The serviceAccountAuthConfig.
-
getServiceAccountAuthConfigOrBuilder
Tool.Authentication.ServiceAccountAuthConfigOrBuilder getServiceAccountAuthConfigOrBuilder()Configuration for service account authentication.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAccountAuthConfig service_account_auth_config = 5; -
getAuthConfigCase
Tool.Authentication.AuthConfigCase getAuthConfigCase()
-