Class Tool.Authentication.Builder (0.62.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Tool.Authentication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Tool.Authentication.Builder
Overrides

build()

public Tool.Authentication build()
Returns
Type Description
Tool.Authentication

buildPartial()

public Tool.Authentication buildPartial()
Returns
Type Description
Tool.Authentication

clear()

public Tool.Authentication.Builder clear()
Returns
Type Description
Tool.Authentication.Builder
Overrides

clearApiKeyConfig()

public Tool.Authentication.Builder clearApiKeyConfig()

Config for API key auth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;

Returns
Type Description
Tool.Authentication.Builder

clearAuthConfig()

public Tool.Authentication.Builder clearAuthConfig()
Returns
Type Description
Tool.Authentication.Builder

clearField(Descriptors.FieldDescriptor field)

public Tool.Authentication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Tool.Authentication.Builder
Overrides

clearOauthConfig()

public Tool.Authentication.Builder clearOauthConfig()

Config for OAuth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;

Returns
Type Description
Tool.Authentication.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Tool.Authentication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Tool.Authentication.Builder
Overrides

clearServiceAgentAuthConfig()

public Tool.Authentication.Builder clearServiceAgentAuthConfig()

Config for Diglogflow service agent auth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;

Returns
Type Description
Tool.Authentication.Builder

clone()

public Tool.Authentication.Builder clone()
Returns
Type Description
Tool.Authentication.Builder
Overrides

getApiKeyConfig()

public Tool.Authentication.ApiKeyConfig getApiKeyConfig()

Config for API key auth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;

Returns
Type Description
Tool.Authentication.ApiKeyConfig

The apiKeyConfig.

getApiKeyConfigBuilder()

public Tool.Authentication.ApiKeyConfig.Builder getApiKeyConfigBuilder()

Config for API key auth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;

Returns
Type Description
Tool.Authentication.ApiKeyConfig.Builder

getApiKeyConfigOrBuilder()

public Tool.Authentication.ApiKeyConfigOrBuilder getApiKeyConfigOrBuilder()

Config for API key auth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ApiKeyConfig api_key_config = 1;

Returns
Type Description
Tool.Authentication.ApiKeyConfigOrBuilder

getAuthConfigCase()

public Tool.Authentication.AuthConfigCase getAuthConfigCase()
Returns
Type Description
Tool.Authentication.AuthConfigCase

getDefaultInstanceForType()

public Tool.Authentication getDefaultInstanceForType()
Returns
Type Description
Tool.Authentication

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOauthConfig()

public Tool.Authentication.OAuthConfig getOauthConfig()

Config for OAuth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;

Returns
Type Description
Tool.Authentication.OAuthConfig

The oauthConfig.

getOauthConfigBuilder()

public Tool.Authentication.OAuthConfig.Builder getOauthConfigBuilder()

Config for OAuth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;

Returns
Type Description
Tool.Authentication.OAuthConfig.Builder

getOauthConfigOrBuilder()

public Tool.Authentication.OAuthConfigOrBuilder getOauthConfigOrBuilder()

Config for OAuth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;

Returns
Type Description
Tool.Authentication.OAuthConfigOrBuilder

getServiceAgentAuthConfig()

public Tool.Authentication.ServiceAgentAuthConfig getServiceAgentAuthConfig()

Config for Diglogflow service agent auth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;

Returns
Type Description
Tool.Authentication.ServiceAgentAuthConfig

The serviceAgentAuthConfig.

getServiceAgentAuthConfigBuilder()

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;

Returns
Type Description
Tool.Authentication.ServiceAgentAuthConfig.Builder

getServiceAgentAuthConfigOrBuilder()

public Tool.Authentication.ServiceAgentAuthConfigOrBuilder getServiceAgentAuthConfigOrBuilder()

Config for Diglogflow service agent auth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig service_agent_auth_config = 3;

Returns
Type Description
Tool.Authentication.ServiceAgentAuthConfigOrBuilder

hasApiKeyConfig()

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.

hasOauthConfig()

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.

hasServiceAgentAuthConfig()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApiKeyConfig(Tool.Authentication.ApiKeyConfig value)

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;

Parameter
Name Description
value Tool.Authentication.ApiKeyConfig
Returns
Type Description
Tool.Authentication.Builder

mergeFrom(Tool.Authentication other)

public Tool.Authentication.Builder mergeFrom(Tool.Authentication other)
Parameter
Name Description
other Tool.Authentication
Returns
Type Description
Tool.Authentication.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Tool.Authentication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Tool.Authentication.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Tool.Authentication.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Tool.Authentication.Builder
Overrides

mergeOauthConfig(Tool.Authentication.OAuthConfig value)

public Tool.Authentication.Builder mergeOauthConfig(Tool.Authentication.OAuthConfig value)

Config for OAuth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;

Parameter
Name Description
value Tool.Authentication.OAuthConfig
Returns
Type Description
Tool.Authentication.Builder

mergeServiceAgentAuthConfig(Tool.Authentication.ServiceAgentAuthConfig value)

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;

Parameter
Name Description
value Tool.Authentication.ServiceAgentAuthConfig
Returns
Type Description
Tool.Authentication.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Tool.Authentication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Tool.Authentication.Builder
Overrides

setApiKeyConfig(Tool.Authentication.ApiKeyConfig value)

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;

Parameter
Name Description
value Tool.Authentication.ApiKeyConfig
Returns
Type Description
Tool.Authentication.Builder

setApiKeyConfig(Tool.Authentication.ApiKeyConfig.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Tool.Authentication.ApiKeyConfig.Builder
Returns
Type Description
Tool.Authentication.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Tool.Authentication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Tool.Authentication.Builder
Overrides

setOauthConfig(Tool.Authentication.OAuthConfig value)

public Tool.Authentication.Builder setOauthConfig(Tool.Authentication.OAuthConfig value)

Config for OAuth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;

Parameter
Name Description
value Tool.Authentication.OAuthConfig
Returns
Type Description
Tool.Authentication.Builder

setOauthConfig(Tool.Authentication.OAuthConfig.Builder builderForValue)

public Tool.Authentication.Builder setOauthConfig(Tool.Authentication.OAuthConfig.Builder builderForValue)

Config for OAuth.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.OAuthConfig oauth_config = 2;

Parameter
Name Description
builderForValue Tool.Authentication.OAuthConfig.Builder
Returns
Type Description
Tool.Authentication.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Tool.Authentication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Tool.Authentication.Builder
Overrides

setServiceAgentAuthConfig(Tool.Authentication.ServiceAgentAuthConfig value)

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;

Parameter
Name Description
value Tool.Authentication.ServiceAgentAuthConfig
Returns
Type Description
Tool.Authentication.Builder

setServiceAgentAuthConfig(Tool.Authentication.ServiceAgentAuthConfig.Builder builderForValue)

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;

Parameter
Name Description
builderForValue Tool.Authentication.ServiceAgentAuthConfig.Builder
Returns
Type Description
Tool.Authentication.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Tool.Authentication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Tool.Authentication.Builder
Overrides