Class Tool.Authentication.Builder (0.52.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Tool.Authentication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Tool.Authentication.Builder
Overrides

build()

public Tool.Authentication build()
Returns
TypeDescription
Tool.Authentication

buildPartial()

public Tool.Authentication buildPartial()
Returns
TypeDescription
Tool.Authentication

clear()

public Tool.Authentication.Builder clear()
Returns
TypeDescription
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
TypeDescription
Tool.Authentication.Builder

clearAuthConfig()

public Tool.Authentication.Builder clearAuthConfig()
Returns
TypeDescription
Tool.Authentication.Builder

clearField(Descriptors.FieldDescriptor field)

public Tool.Authentication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Tool.Authentication.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Tool.Authentication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Tool.Authentication.Builder

clone()

public Tool.Authentication.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Tool.Authentication.ApiKeyConfigOrBuilder

getAuthConfigCase()

public Tool.Authentication.AuthConfigCase getAuthConfigCase()
Returns
TypeDescription
Tool.Authentication.AuthConfigCase

getDefaultInstanceForType()

public Tool.Authentication getDefaultInstanceForType()
Returns
TypeDescription
Tool.Authentication

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOauthConfig()

public Tool.Authentication.OAuthConfig getOauthConfig()

Config for OAuth.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the serviceAgentAuthConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTool.Authentication.ApiKeyConfig
Returns
TypeDescription
Tool.Authentication.Builder

mergeFrom(Tool.Authentication other)

public Tool.Authentication.Builder mergeFrom(Tool.Authentication other)
Parameter
NameDescription
otherTool.Authentication
Returns
TypeDescription
Tool.Authentication.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Tool.Authentication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Tool.Authentication.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Tool.Authentication.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTool.Authentication.OAuthConfig
Returns
TypeDescription
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
NameDescription
valueTool.Authentication.ServiceAgentAuthConfig
Returns
TypeDescription
Tool.Authentication.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Tool.Authentication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTool.Authentication.ApiKeyConfig
Returns
TypeDescription
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
NameDescription
builderForValueTool.Authentication.ApiKeyConfig.Builder
Returns
TypeDescription
Tool.Authentication.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Tool.Authentication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTool.Authentication.OAuthConfig
Returns
TypeDescription
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
NameDescription
builderForValueTool.Authentication.OAuthConfig.Builder
Returns
TypeDescription
Tool.Authentication.Builder

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

public Tool.Authentication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTool.Authentication.ServiceAgentAuthConfig
Returns
TypeDescription
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
NameDescription
builderForValueTool.Authentication.ServiceAgentAuthConfig.Builder
Returns
TypeDescription
Tool.Authentication.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Tool.Authentication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Tool.Authentication.Builder
Overrides