Class Tool.Authentication.ServiceAgentAuthConfig.Builder (0.94.0)

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

Config for auth using Diglogflow service agent.

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

Static Methods

getDescriptor()

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

Methods

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

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.v3.Tool.Authentication.ServiceAgentAuthConfig.ServiceAgentAuth service_agent_auth = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Tool.Authentication.ServiceAgentAuthConfig.Builder

This builder for chaining.

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.v3.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.v3.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 GeneratedMessage.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

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.v3.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.v3.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.