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.GeneratedMessage.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.GeneratedMessage.Builder<HumanAgentAssistantEvent.Builder>
implements HumanAgentAssistantEventOrBuilder
Represents a notification sent to Cloud Pub/Sub subscribers for human agent assistant events in a specific conversation.Protobuf type
google.cloud.dialogflow.v2.HumanAgentAssistantEvent-
Method Summary
Modifier and TypeMethodDescriptionaddAllSuggestionResults(Iterable<? extends SuggestionResult> values) The suggestion results payload that this notification refers to.addSuggestionResults(int index, SuggestionResult value) The suggestion results payload that this notification refers to.addSuggestionResults(int index, SuggestionResult.Builder builderForValue) The suggestion results payload that this notification refers to.The suggestion results payload that this notification refers to.addSuggestionResults(SuggestionResult.Builder builderForValue) The suggestion results payload that this notification refers to.The suggestion results payload that this notification refers to.addSuggestionResultsBuilder(int index) The suggestion results payload that this notification refers to.build()clear()The conversation this notification refers to.The participant that the suggestion is compiled for.The suggestion results payload that this notification refers to.The conversation this notification refers to.com.google.protobuf.ByteStringThe conversation this notification refers to.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe participant that the suggestion is compiled for.com.google.protobuf.ByteStringThe participant that the suggestion is compiled for.getSuggestionResults(int index) The suggestion results payload that this notification refers to.getSuggestionResultsBuilder(int index) The suggestion results payload that this notification refers to.The suggestion results payload that this notification refers to.intThe suggestion results payload that this notification refers to.The suggestion results payload that this notification refers to.getSuggestionResultsOrBuilder(int index) The suggestion results payload that this notification refers to.List<? extends SuggestionResultOrBuilder>The suggestion results payload that this notification refers to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSuggestionResults(int index) The suggestion results payload that this notification refers to.setConversation(String value) The conversation this notification refers to.setConversationBytes(com.google.protobuf.ByteString value) The conversation this notification refers to.setParticipant(String value) The participant that the suggestion is compiled for.setParticipantBytes(com.google.protobuf.ByteString value) The participant that the suggestion is compiled for.setSuggestionResults(int index, SuggestionResult value) The suggestion results payload that this notification refers to.setSuggestionResults(int index, SuggestionResult.Builder builderForValue) The suggestion results payload that this notification refers to.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<HumanAgentAssistantEvent.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<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.GeneratedMessage.Builder<HumanAgentAssistantEvent.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
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
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;- Returns:
- This builder for chaining.
-
setConversationBytes
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
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
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
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
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
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
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;- Specified by:
getSuggestionResultsin interfaceHumanAgentAssistantEventOrBuilder
-
setSuggestionResults
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
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5; -
addSuggestionResults
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
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5; -
removeSuggestionResults
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5; -
getSuggestionResultsBuilder
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5; -
getSuggestionResultsOrBuilder
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;- Specified by:
getSuggestionResultsOrBuilderin interfaceHumanAgentAssistantEventOrBuilder
-
getSuggestionResultsOrBuilderList
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;- Specified by:
getSuggestionResultsOrBuilderListin interfaceHumanAgentAssistantEventOrBuilder
-
addSuggestionResultsBuilder
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5; -
addSuggestionResultsBuilder
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5; -
getSuggestionResultsBuilderList
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
-