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 clearBearerTokenConfig()
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
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.BearerTokenConfig getBearerTokenConfig()
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
public Tool.Authentication.BearerTokenConfig.Builder getBearerTokenConfigBuilder()
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
public Tool.Authentication.BearerTokenConfigOrBuilder getBearerTokenConfigOrBuilder()
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
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 hasBearerTokenConfig()
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
Returns |
Type |
Description |
boolean |
Whether the bearerTokenConfig 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 mergeBearerTokenConfig(Tool.Authentication.BearerTokenConfig value)
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
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 |
other |
Message
|
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 setBearerTokenConfig(Tool.Authentication.BearerTokenConfig value)
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
public Tool.Authentication.Builder setBearerTokenConfig(Tool.Authentication.BearerTokenConfig.Builder builderForValue)
Config for bearer token auth.
.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.BearerTokenConfig bearer_token_config = 4;
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