Package com.google.cloud.dialogflow.v2
Class HumanAgentAssistantEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
- com.google.cloud.dialogflow.v2.HumanAgentAssistantEvent.Builder
-
- All Implemented Interfaces:
HumanAgentAssistantEventOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HumanAgentAssistantEvent
public static final class HumanAgentAssistantEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder> implements HumanAgentAssistantEventOrBuilder
Represents a notification sent to Cloud Pub/Sub subscribers for human agent assistant events in a specific conversation.
Protobuf typegoogle.cloud.dialogflow.v2.HumanAgentAssistantEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HumanAgentAssistantEvent.BuilderaddAllSuggestionResults(Iterable<? extends SuggestionResult> values)The suggestion results payload that this notification refers to.HumanAgentAssistantEvent.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HumanAgentAssistantEvent.BuilderaddSuggestionResults(int index, SuggestionResult value)The suggestion results payload that this notification refers to.HumanAgentAssistantEvent.BuilderaddSuggestionResults(int index, SuggestionResult.Builder builderForValue)The suggestion results payload that this notification refers to.HumanAgentAssistantEvent.BuilderaddSuggestionResults(SuggestionResult value)The suggestion results payload that this notification refers to.HumanAgentAssistantEvent.BuilderaddSuggestionResults(SuggestionResult.Builder builderForValue)The suggestion results payload that this notification refers to.SuggestionResult.BuilderaddSuggestionResultsBuilder()The suggestion results payload that this notification refers to.SuggestionResult.BuilderaddSuggestionResultsBuilder(int index)The suggestion results payload that this notification refers to.HumanAgentAssistantEventbuild()HumanAgentAssistantEventbuildPartial()HumanAgentAssistantEvent.Builderclear()HumanAgentAssistantEvent.BuilderclearConversation()The conversation this notification refers to.HumanAgentAssistantEvent.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HumanAgentAssistantEvent.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HumanAgentAssistantEvent.BuilderclearParticipant()The participant that the suggestion is compiled for.HumanAgentAssistantEvent.BuilderclearSuggestionResults()The suggestion results payload that this notification refers to.HumanAgentAssistantEvent.Builderclone()StringgetConversation()The conversation this notification refers to.com.google.protobuf.ByteStringgetConversationBytes()The conversation this notification refers to.HumanAgentAssistantEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetParticipant()The participant that the suggestion is compiled for.com.google.protobuf.ByteStringgetParticipantBytes()The participant that the suggestion is compiled for.SuggestionResultgetSuggestionResults(int index)The suggestion results payload that this notification refers to.SuggestionResult.BuildergetSuggestionResultsBuilder(int index)The suggestion results payload that this notification refers to.List<SuggestionResult.Builder>getSuggestionResultsBuilderList()The suggestion results payload that this notification refers to.intgetSuggestionResultsCount()The suggestion results payload that this notification refers to.List<SuggestionResult>getSuggestionResultsList()The suggestion results payload that this notification refers to.SuggestionResultOrBuildergetSuggestionResultsOrBuilder(int index)The suggestion results payload that this notification refers to.List<? extends SuggestionResultOrBuilder>getSuggestionResultsOrBuilderList()The suggestion results payload that this notification refers to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HumanAgentAssistantEvent.BuildermergeFrom(HumanAgentAssistantEvent other)HumanAgentAssistantEvent.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HumanAgentAssistantEvent.BuildermergeFrom(com.google.protobuf.Message other)HumanAgentAssistantEvent.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HumanAgentAssistantEvent.BuilderremoveSuggestionResults(int index)The suggestion results payload that this notification refers to.HumanAgentAssistantEvent.BuildersetConversation(String value)The conversation this notification refers to.HumanAgentAssistantEvent.BuildersetConversationBytes(com.google.protobuf.ByteString value)The conversation this notification refers to.HumanAgentAssistantEvent.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HumanAgentAssistantEvent.BuildersetParticipant(String value)The participant that the suggestion is compiled for.HumanAgentAssistantEvent.BuildersetParticipantBytes(com.google.protobuf.ByteString value)The participant that the suggestion is compiled for.HumanAgentAssistantEvent.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HumanAgentAssistantEvent.BuildersetSuggestionResults(int index, SuggestionResult value)The suggestion results payload that this notification refers to.HumanAgentAssistantEvent.BuildersetSuggestionResults(int index, SuggestionResult.Builder builderForValue)The suggestion results payload that this notification refers to.HumanAgentAssistantEvent.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
clear
public HumanAgentAssistantEvent.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.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.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
getDefaultInstanceForType
public HumanAgentAssistantEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HumanAgentAssistantEvent build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HumanAgentAssistantEvent buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HumanAgentAssistantEvent.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
setField
public HumanAgentAssistantEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
clearField
public HumanAgentAssistantEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
clearOneof
public HumanAgentAssistantEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
setRepeatedField
public HumanAgentAssistantEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
addRepeatedField
public HumanAgentAssistantEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
mergeFrom
public HumanAgentAssistantEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantEvent.Builder>
-
mergeFrom
public HumanAgentAssistantEvent.Builder mergeFrom(HumanAgentAssistantEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
mergeFrom
public HumanAgentAssistantEvent.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<HumanAgentAssistantEvent.Builder>- Throws:
IOException
-
getConversation
public String getConversation()
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;- Specified by:
getConversationin interfaceHumanAgentAssistantEventOrBuilder- Returns:
- The conversation.
-
getConversationBytes
public com.google.protobuf.ByteString getConversationBytes()
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;- Specified by:
getConversationBytesin interfaceHumanAgentAssistantEventOrBuilder- Returns:
- The bytes for conversation.
-
setConversation
public HumanAgentAssistantEvent.Builder setConversation(String value)
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;- Parameters:
value- The conversation to set.- Returns:
- This builder for chaining.
-
clearConversation
public HumanAgentAssistantEvent.Builder clearConversation()
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;- Returns:
- This builder for chaining.
-
setConversationBytes
public HumanAgentAssistantEvent.Builder setConversationBytes(com.google.protobuf.ByteString value)
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;- Parameters:
value- The bytes for conversation to set.- Returns:
- This builder for chaining.
-
getParticipant
public String getParticipant()
The participant that the suggestion is compiled for. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
string participant = 3;- Specified by:
getParticipantin interfaceHumanAgentAssistantEventOrBuilder- Returns:
- The participant.
-
getParticipantBytes
public com.google.protobuf.ByteString getParticipantBytes()
The participant that the suggestion is compiled for. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
string participant = 3;- Specified by:
getParticipantBytesin interfaceHumanAgentAssistantEventOrBuilder- Returns:
- The bytes for participant.
-
setParticipant
public HumanAgentAssistantEvent.Builder setParticipant(String value)
The participant that the suggestion is compiled for. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
string participant = 3;- Parameters:
value- The participant to set.- Returns:
- This builder for chaining.
-
clearParticipant
public HumanAgentAssistantEvent.Builder clearParticipant()
The participant that the suggestion is compiled for. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
string participant = 3;- Returns:
- This builder for chaining.
-
setParticipantBytes
public HumanAgentAssistantEvent.Builder setParticipantBytes(com.google.protobuf.ByteString value)
The participant that the suggestion is compiled for. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
string participant = 3;- Parameters:
value- The bytes for participant to set.- Returns:
- This builder for chaining.
-
getSuggestionResultsList
public List<SuggestionResult> getSuggestionResultsList()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;- Specified by:
getSuggestionResultsListin interfaceHumanAgentAssistantEventOrBuilder
-
getSuggestionResultsCount
public int getSuggestionResultsCount()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;- Specified by:
getSuggestionResultsCountin interfaceHumanAgentAssistantEventOrBuilder
-
getSuggestionResults
public SuggestionResult getSuggestionResults(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;- Specified by:
getSuggestionResultsin interfaceHumanAgentAssistantEventOrBuilder
-
setSuggestionResults
public HumanAgentAssistantEvent.Builder setSuggestionResults(int index, SuggestionResult value)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
setSuggestionResults
public HumanAgentAssistantEvent.Builder setSuggestionResults(int index, SuggestionResult.Builder builderForValue)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
addSuggestionResults
public HumanAgentAssistantEvent.Builder addSuggestionResults(SuggestionResult value)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
addSuggestionResults
public HumanAgentAssistantEvent.Builder addSuggestionResults(int index, SuggestionResult value)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
addSuggestionResults
public HumanAgentAssistantEvent.Builder addSuggestionResults(SuggestionResult.Builder builderForValue)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
addSuggestionResults
public HumanAgentAssistantEvent.Builder addSuggestionResults(int index, SuggestionResult.Builder builderForValue)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
addAllSuggestionResults
public HumanAgentAssistantEvent.Builder addAllSuggestionResults(Iterable<? extends SuggestionResult> values)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
clearSuggestionResults
public HumanAgentAssistantEvent.Builder clearSuggestionResults()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
removeSuggestionResults
public HumanAgentAssistantEvent.Builder removeSuggestionResults(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
getSuggestionResultsBuilder
public SuggestionResult.Builder getSuggestionResultsBuilder(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
getSuggestionResultsOrBuilder
public SuggestionResultOrBuilder getSuggestionResultsOrBuilder(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;- Specified by:
getSuggestionResultsOrBuilderin interfaceHumanAgentAssistantEventOrBuilder
-
getSuggestionResultsOrBuilderList
public List<? extends SuggestionResultOrBuilder> getSuggestionResultsOrBuilderList()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;- Specified by:
getSuggestionResultsOrBuilderListin interfaceHumanAgentAssistantEventOrBuilder
-
addSuggestionResultsBuilder
public SuggestionResult.Builder addSuggestionResultsBuilder()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
addSuggestionResultsBuilder
public SuggestionResult.Builder addSuggestionResultsBuilder(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
getSuggestionResultsBuilderList
public List<SuggestionResult.Builder> getSuggestionResultsBuilderList()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-
setUnknownFields
public final HumanAgentAssistantEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
mergeUnknownFields
public final HumanAgentAssistantEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
-
-