Package com.google.cloud.dialogflow.v2
Class AgentCoachingSuggestion.AgentActionSuggestion.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AgentCoachingSuggestion.AgentActionSuggestion.Builder>
com.google.cloud.dialogflow.v2.AgentCoachingSuggestion.AgentActionSuggestion.Builder
- All Implemented Interfaces:
AgentCoachingSuggestion.AgentActionSuggestionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AgentCoachingSuggestion.AgentActionSuggestion
public static final class AgentCoachingSuggestion.AgentActionSuggestion.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Output only.Output only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.Output only.Output only.Output only.Output only.Output only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOutput only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setAgentAction(String value) Optional.setAgentActionBytes(com.google.protobuf.ByteString value) Optional.Output only.Output only.Output only.setSources(AgentCoachingSuggestion.Sources.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AgentCoachingSuggestion.AgentActionSuggestion.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AgentCoachingSuggestion.AgentActionSuggestion.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AgentCoachingSuggestion.AgentActionSuggestion.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AgentCoachingSuggestion.AgentActionSuggestion.Builder>
-
mergeFrom
public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeFrom(AgentCoachingSuggestion.AgentActionSuggestion other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AgentCoachingSuggestion.AgentActionSuggestion.Builder>
-
mergeFrom
public AgentCoachingSuggestion.AgentActionSuggestion.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AgentCoachingSuggestion.AgentActionSuggestion.Builder>- Throws:
IOException
-
getAgentAction
Optional. The suggested action for the agent.
string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAgentActionin interfaceAgentCoachingSuggestion.AgentActionSuggestionOrBuilder- Returns:
- The agentAction.
-
getAgentActionBytes
public com.google.protobuf.ByteString getAgentActionBytes()Optional. The suggested action for the agent.
string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAgentActionBytesin interfaceAgentCoachingSuggestion.AgentActionSuggestionOrBuilder- Returns:
- The bytes for agentAction.
-
setAgentAction
Optional. The suggested action for the agent.
string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The agentAction to set.- Returns:
- This builder for chaining.
-
clearAgentAction
Optional. The suggested action for the agent.
string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setAgentActionBytes
public AgentCoachingSuggestion.AgentActionSuggestion.Builder setAgentActionBytes(com.google.protobuf.ByteString value) Optional. The suggested action for the agent.
string agent_action = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for agentAction to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
hasSourcesin interfaceAgentCoachingSuggestion.AgentActionSuggestionOrBuilder- Returns:
- Whether the sources field is set.
-
getSources
Output only. Sources for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourcesin interfaceAgentCoachingSuggestion.AgentActionSuggestionOrBuilder- Returns:
- The sources.
-
setSources
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
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]; -
mergeSources
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]; -
clearSources
Output only. Sources for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSourcesBuilder
Output only. Sources for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSourcesOrBuilder
Output only. Sources for the agent action suggestion.
.google.cloud.dialogflow.v2.AgentCoachingSuggestion.Sources sources = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSourcesOrBuilderin interfaceAgentCoachingSuggestion.AgentActionSuggestionOrBuilder
-
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];- Specified by:
hasDuplicateCheckResultin interfaceAgentCoachingSuggestion.AgentActionSuggestionOrBuilder- Returns:
- Whether the duplicateCheckResult field is set.
-
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];- Specified by:
getDuplicateCheckResultin interfaceAgentCoachingSuggestion.AgentActionSuggestionOrBuilder- Returns:
- The duplicateCheckResult.
-
setDuplicateCheckResult
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
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]; -
mergeDuplicateCheckResult
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]; -
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]; -
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
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];- Specified by:
getDuplicateCheckResultOrBuilderin interfaceAgentCoachingSuggestion.AgentActionSuggestionOrBuilder
-