Class Tool.Authentication.ServiceAgentAuthConfig.Builder (0.69.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

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

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
Overrides

build()

public Tool.Authentication.ServiceAgentAuthConfig build()

buildPartial()

public Tool.Authentication.ServiceAgentAuthConfig buildPartial()

clear()

public Tool.Authentication.ServiceAgentAuthConfig.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Tool.Authentication.ServiceAgentAuthConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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()
Overrides

getDefaultInstanceForType()

public Tool.Authentication.ServiceAgentAuthConfig getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Tool.Authentication.ServiceAgentAuthConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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
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
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
Overrides