Class Tool.Authentication.ServiceAgentAuthConfig.Builder (0.66.0)

public static final class Tool.Authentication.ServiceAgentAuthConfig.Builder extends GeneratedMessageV3.Builder<Tool.Authentication.ServiceAgentAuthConfig.Builder> implements Tool.Authentication.ServiceAgentAuthConfigOrBuilder

Config for auth using Diglogflow service agent.

Protobuf type google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceAgentAuth()

public Tool.Authentication.ServiceAgentAuthConfig.Builder clearServiceAgentAuth()

Optional. Indicate the auth token type generated from the Diglogflow service agent. The generated token is sent in the Authorization header.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.Authentication.ServiceAgentAuthConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

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

getServiceAgentAuth()

public Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth getServiceAgentAuth()

Optional. Indicate the auth token type generated from the Diglogflow service agent. The generated token is sent in the Authorization header.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth

The serviceAgentAuth.

getServiceAgentAuthValue()

public int getServiceAgentAuthValue()

Optional. Indicate the auth token type generated from the Diglogflow service agent. The generated token is sent in the Authorization header.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for serviceAgentAuth.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Tool.Authentication.ServiceAgentAuthConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setServiceAgentAuth(Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth value)

public Tool.Authentication.ServiceAgentAuthConfig.Builder setServiceAgentAuth(Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth value)

Optional. Indicate the auth token type generated from the Diglogflow service agent. The generated token is sent in the Authorization header.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth

The serviceAgentAuth to set.

Returns
Type Description
Tool.Authentication.ServiceAgentAuthConfig.Builder

This builder for chaining.

setServiceAgentAuthValue(int value)

public Tool.Authentication.ServiceAgentAuthConfig.Builder setServiceAgentAuthValue(int value)

Optional. Indicate the auth token type generated from the Diglogflow service agent. The generated token is sent in the Authorization header.

.google.cloud.dialogflow.cx.v3beta1.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for serviceAgentAuth to set.

Returns
Type Description
Tool.Authentication.ServiceAgentAuthConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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