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.v2.AgentCoachingSuggestion.AgentActionSuggestion
Inherited Members
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AgentCoachingSuggestion.AgentActionSuggestion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AgentCoachingSuggestion.AgentActionSuggestion build()
buildPartial()
public AgentCoachingSuggestion.AgentActionSuggestion buildPartial()
clear()
public AgentCoachingSuggestion.AgentActionSuggestion.Builder clear()
Overrides
clearAgentAction()
public AgentCoachingSuggestion.AgentActionSuggestion.Builder clearAgentAction()
Optional. The suggested action for the agent.
string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];
clearDuplicateCheckResult()
public AgentCoachingSuggestion.AgentActionSuggestion.Builder clearDuplicateCheckResult()
Output only. Duplicate check result for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public AgentCoachingSuggestion.AgentActionSuggestion.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AgentCoachingSuggestion.AgentActionSuggestion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSources()
public AgentCoachingSuggestion.AgentActionSuggestion.Builder clearSources()
Output only. Sources for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public AgentCoachingSuggestion.AgentActionSuggestion.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDuplicateCheckResult()
public AgentCoachingSuggestion.DuplicateCheckResult getDuplicateCheckResult()
Output only. Duplicate check result for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDuplicateCheckResultBuilder()
public AgentCoachingSuggestion.DuplicateCheckResult.Builder getDuplicateCheckResultBuilder()
Output only. Duplicate check result for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDuplicateCheckResultOrBuilder()
public AgentCoachingSuggestion.DuplicateCheckResultOrBuilder getDuplicateCheckResultOrBuilder()
Output only. Duplicate check result for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSources()
public AgentCoachingSuggestion.Sources getSources()
Output only. Sources for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSourcesBuilder()
public AgentCoachingSuggestion.Sources.Builder getSourcesBuilder()
Output only. Sources for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSourcesOrBuilder()
public AgentCoachingSuggestion.SourcesOrBuilder getSourcesOrBuilder()
Output only. Sources for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasDuplicateCheckResult()
public boolean hasDuplicateCheckResult()
Output only. Duplicate check result for the agent action suggestion.
.google.cloud.dialogflow.v2.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.v2.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()
Overrides
isInitialized()
public final boolean isInitialized()
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.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeFrom(AgentCoachingSuggestion.AgentActionSuggestion other)
public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeFrom(AgentCoachingSuggestion.AgentActionSuggestion other)
public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeSources(AgentCoachingSuggestion.Sources value)
public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeSources(AgentCoachingSuggestion.Sources value)
Output only. Sources for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
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.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
setField(Descriptors.FieldDescriptor field, Object value)
public AgentCoachingSuggestion.AgentActionSuggestion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AgentCoachingSuggestion.AgentActionSuggestion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSources(AgentCoachingSuggestion.Sources value)
public AgentCoachingSuggestion.AgentActionSuggestion.Builder setSources(AgentCoachingSuggestion.Sources value)
Output only. Sources for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setUnknownFields(UnknownFieldSet unknownFields)
public final AgentCoachingSuggestion.AgentActionSuggestion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides