public static final class AgentCoachingSuggestion.AgentActionSuggestion.Builder extends GeneratedMessage.Builder<AgentCoachingSuggestion.AgentActionSuggestion.Builder> implements AgentCoachingSuggestion.AgentActionSuggestionOrBuilderActions suggested for the agent. This is based on applicable instructions.
Protobuf type
google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AgentCoachingSuggestion.AgentActionSuggestion.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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.v2.AgentCoachingSuggestion.DuplicateCheckResult duplicate_check_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.AgentActionSuggestion.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.AgentActionSuggestion.Builder |
|
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 |
|
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];
| 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.v2.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.v2.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.v2.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.v2.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.v2.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.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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];
| 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 |
|
| 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 |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
AgentCoachingSuggestion.Sources |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.AgentActionSuggestion.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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.v2.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.v2.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 |
|
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];
| 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.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AgentCoachingSuggestion.Sources.Builder |
| Returns | |
|---|---|
| Type | Description |
AgentCoachingSuggestion.AgentActionSuggestion.Builder |
|