Class AgentCoachingSuggestion.AgentActionSuggestion.Builder (4.87.0)

public static final class AgentCoachingSuggestion.AgentActionSuggestion.Builder extends GeneratedMessageV3.Builder<AgentCoachingSuggestion.AgentActionSuggestion.Builder> implements AgentCoachingSuggestion.AgentActionSuggestionOrBuilder

Actions suggested for the agent. This is based on applicable instructions.

Protobuf type google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.AgentActionSuggestion

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AgentCoachingSuggestion.AgentActionSuggestion build()
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion

buildPartial()

public AgentCoachingSuggestion.AgentActionSuggestion buildPartial()
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion

clear()

public AgentCoachingSuggestion.AgentActionSuggestion.Builder clear()
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder
Overrides

clearAgentAction()

public AgentCoachingSuggestion.AgentActionSuggestion.Builder clearAgentAction()

Optional. The suggested action for the agent.

string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

This builder for chaining.

clearDuplicateCheckResult()

public AgentCoachingSuggestion.AgentActionSuggestion.Builder clearDuplicateCheckResult()

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

clearField(Descriptors.FieldDescriptor field)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder
Overrides

clearSources()

public AgentCoachingSuggestion.AgentActionSuggestion.Builder clearSources()

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

clone()

public AgentCoachingSuggestion.AgentActionSuggestion.Builder clone()
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder
Overrides

getAgentAction()

public String getAgentAction()

Optional. The suggested action for the agent.

string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The agentAction.

getAgentActionBytes()

public ByteString getAgentActionBytes()

Optional. The suggested action for the agent.

string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for agentAction.

getDefaultInstanceForType()

public AgentCoachingSuggestion.AgentActionSuggestion getDefaultInstanceForType()
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion

getDescriptorForType()

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

getDuplicateCheckResult()

public AgentCoachingSuggestion.DuplicateCheckResult getDuplicateCheckResult()

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.DuplicateCheckResult

The duplicateCheckResult.

getDuplicateCheckResultBuilder()

public AgentCoachingSuggestion.DuplicateCheckResult.Builder getDuplicateCheckResultBuilder()

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.DuplicateCheckResult.Builder

getDuplicateCheckResultOrBuilder()

public AgentCoachingSuggestion.DuplicateCheckResultOrBuilder getDuplicateCheckResultOrBuilder()

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.DuplicateCheckResultOrBuilder

getSources()

public AgentCoachingSuggestion.Sources getSources()

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.Sources

The sources.

getSourcesBuilder()

public AgentCoachingSuggestion.Sources.Builder getSourcesBuilder()

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.Sources.Builder

getSourcesOrBuilder()

public AgentCoachingSuggestion.SourcesOrBuilder getSourcesOrBuilder()

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AgentCoachingSuggestion.SourcesOrBuilder

hasDuplicateCheckResult()

public boolean hasDuplicateCheckResult()

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the duplicateCheckResult field is set.

hasSources()

public boolean hasSources()

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the sources field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDuplicateCheckResult(AgentCoachingSuggestion.DuplicateCheckResult value)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeDuplicateCheckResult(AgentCoachingSuggestion.DuplicateCheckResult value)

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AgentCoachingSuggestion.DuplicateCheckResult
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

mergeFrom(AgentCoachingSuggestion.AgentActionSuggestion other)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeFrom(AgentCoachingSuggestion.AgentActionSuggestion other)
Parameter
Name Description
other AgentCoachingSuggestion.AgentActionSuggestion
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder
Overrides

mergeSources(AgentCoachingSuggestion.Sources value)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeSources(AgentCoachingSuggestion.Sources value)

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AgentCoachingSuggestion.Sources
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder
Overrides

setAgentAction(String value)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder setAgentAction(String value)

Optional. The suggested action for the agent.

string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The agentAction to set.

Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

This builder for chaining.

setAgentActionBytes(ByteString value)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder setAgentActionBytes(ByteString value)

Optional. The suggested action for the agent.

string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for agentAction to set.

Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

This builder for chaining.

setDuplicateCheckResult(AgentCoachingSuggestion.DuplicateCheckResult value)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder setDuplicateCheckResult(AgentCoachingSuggestion.DuplicateCheckResult value)

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AgentCoachingSuggestion.DuplicateCheckResult
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

setDuplicateCheckResult(AgentCoachingSuggestion.DuplicateCheckResult.Builder builderForValue)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder setDuplicateCheckResult(AgentCoachingSuggestion.DuplicateCheckResult.Builder builderForValue)

Output only. Duplicate check result for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AgentCoachingSuggestion.DuplicateCheckResult.Builder
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSources(AgentCoachingSuggestion.Sources value)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder setSources(AgentCoachingSuggestion.Sources value)

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AgentCoachingSuggestion.Sources
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

setSources(AgentCoachingSuggestion.Sources.Builder builderForValue)

public AgentCoachingSuggestion.AgentActionSuggestion.Builder setSources(AgentCoachingSuggestion.Sources.Builder builderForValue)

Output only. Sources for the agent action suggestion.

.google.cloud.dialogflow.v2beta1.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue AgentCoachingSuggestion.Sources.Builder
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AgentCoachingSuggestion.AgentActionSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AgentCoachingSuggestion.AgentActionSuggestion.Builder
Overrides