public static final class HumanAgentAssistantEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder> implements HumanAgentAssistantEventOrBuilder
Output only. Represents a notification sent to Pub/Sub subscribers for agent assistant events in a specific conversation.Protobuf type
google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent| Modifier and Type | Method and Description |
|---|---|
HumanAgentAssistantEvent.Builder |
addAllSuggestionResults(Iterable<? extends SuggestionResult> values)
The suggestion results payload that this notification refers to.
|
HumanAgentAssistantEvent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HumanAgentAssistantEvent.Builder |
addSuggestionResults(int index,
SuggestionResult.Builder builderForValue)
The suggestion results payload that this notification refers to.
|
HumanAgentAssistantEvent.Builder |
addSuggestionResults(int index,
SuggestionResult value)
The suggestion results payload that this notification refers to.
|
HumanAgentAssistantEvent.Builder |
addSuggestionResults(SuggestionResult.Builder builderForValue)
The suggestion results payload that this notification refers to.
|
HumanAgentAssistantEvent.Builder |
addSuggestionResults(SuggestionResult value)
The suggestion results payload that this notification refers to.
|
SuggestionResult.Builder |
addSuggestionResultsBuilder()
The suggestion results payload that this notification refers to.
|
SuggestionResult.Builder |
addSuggestionResultsBuilder(int index)
The suggestion results payload that this notification refers to.
|
HumanAgentAssistantEvent |
build() |
HumanAgentAssistantEvent |
buildPartial() |
HumanAgentAssistantEvent.Builder |
clear() |
HumanAgentAssistantEvent.Builder |
clearConversation()
The conversation this notification refers to.
|
HumanAgentAssistantEvent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HumanAgentAssistantEvent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HumanAgentAssistantEvent.Builder |
clearParticipant()
The participant that the suggestion is compiled for.
|
HumanAgentAssistantEvent.Builder |
clearSuggestionResults()
The suggestion results payload that this notification refers to.
|
HumanAgentAssistantEvent.Builder |
clone() |
String |
getConversation()
The conversation this notification refers to.
|
com.google.protobuf.ByteString |
getConversationBytes()
The conversation this notification refers to.
|
HumanAgentAssistantEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getParticipant()
The participant that the suggestion is compiled for.
|
com.google.protobuf.ByteString |
getParticipantBytes()
The participant that the suggestion is compiled for.
|
SuggestionResult |
getSuggestionResults(int index)
The suggestion results payload that this notification refers to.
|
SuggestionResult.Builder |
getSuggestionResultsBuilder(int index)
The suggestion results payload that this notification refers to.
|
List<SuggestionResult.Builder> |
getSuggestionResultsBuilderList()
The suggestion results payload that this notification refers to.
|
int |
getSuggestionResultsCount()
The suggestion results payload that this notification refers to.
|
List<SuggestionResult> |
getSuggestionResultsList()
The suggestion results payload that this notification refers to.
|
SuggestionResultOrBuilder |
getSuggestionResultsOrBuilder(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.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HumanAgentAssistantEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HumanAgentAssistantEvent.Builder |
mergeFrom(HumanAgentAssistantEvent other) |
HumanAgentAssistantEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
HumanAgentAssistantEvent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HumanAgentAssistantEvent.Builder |
removeSuggestionResults(int index)
The suggestion results payload that this notification refers to.
|
HumanAgentAssistantEvent.Builder |
setConversation(String value)
The conversation this notification refers to.
|
HumanAgentAssistantEvent.Builder |
setConversationBytes(com.google.protobuf.ByteString value)
The conversation this notification refers to.
|
HumanAgentAssistantEvent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HumanAgentAssistantEvent.Builder |
setParticipant(String value)
The participant that the suggestion is compiled for.
|
HumanAgentAssistantEvent.Builder |
setParticipantBytes(com.google.protobuf.ByteString value)
The participant that the suggestion is compiled for.
|
HumanAgentAssistantEvent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HumanAgentAssistantEvent.Builder |
setSuggestionResults(int index,
SuggestionResult.Builder builderForValue)
The suggestion results payload that this notification refers to.
|
HumanAgentAssistantEvent.Builder |
setSuggestionResults(int index,
SuggestionResult value)
The suggestion results payload that this notification refers to.
|
HumanAgentAssistantEvent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public HumanAgentAssistantEvent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public HumanAgentAssistantEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HumanAgentAssistantEvent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HumanAgentAssistantEvent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HumanAgentAssistantEvent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public HumanAgentAssistantEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public HumanAgentAssistantEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public HumanAgentAssistantEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public HumanAgentAssistantEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public HumanAgentAssistantEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public HumanAgentAssistantEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantEvent.Builder>public HumanAgentAssistantEvent.Builder mergeFrom(HumanAgentAssistantEvent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public HumanAgentAssistantEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HumanAgentAssistantEvent.Builder>IOExceptionpublic String getConversation()
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;getConversation in interface HumanAgentAssistantEventOrBuilderpublic com.google.protobuf.ByteString getConversationBytes()
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;getConversationBytes in interface HumanAgentAssistantEventOrBuilderpublic HumanAgentAssistantEvent.Builder setConversation(String value)
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;value - The conversation to set.public HumanAgentAssistantEvent.Builder clearConversation()
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;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;value - The bytes for conversation to set.public String getParticipant()
The participant that the suggestion is compiled for. And This field is used to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow. [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more information.
string participant = 3;getParticipant in interface HumanAgentAssistantEventOrBuilderpublic com.google.protobuf.ByteString getParticipantBytes()
The participant that the suggestion is compiled for. And This field is used to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow. [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more information.
string participant = 3;getParticipantBytes in interface HumanAgentAssistantEventOrBuilderpublic HumanAgentAssistantEvent.Builder setParticipant(String value)
The participant that the suggestion is compiled for. And This field is used to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow. [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more information.
string participant = 3;value - The participant to set.public HumanAgentAssistantEvent.Builder clearParticipant()
The participant that the suggestion is compiled for. And This field is used to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow. [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more information.
string participant = 3;public HumanAgentAssistantEvent.Builder setParticipantBytes(com.google.protobuf.ByteString value)
The participant that the suggestion is compiled for. And This field is used to call [Participants.ListSuggestions][google.cloud.dialogflow.v2beta1.Participants.ListSuggestions] API. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow. [HumanAgentAssistantConfig.name][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.name] for more information.
string participant = 3;value - The bytes for participant to set.public List<SuggestionResult> getSuggestionResultsList()
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
getSuggestionResultsList in interface HumanAgentAssistantEventOrBuilderpublic int getSuggestionResultsCount()
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
getSuggestionResultsCount in interface HumanAgentAssistantEventOrBuilderpublic SuggestionResult getSuggestionResults(int index)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
getSuggestionResults in interface HumanAgentAssistantEventOrBuilderpublic HumanAgentAssistantEvent.Builder setSuggestionResults(int index, SuggestionResult value)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public HumanAgentAssistantEvent.Builder setSuggestionResults(int index, SuggestionResult.Builder builderForValue)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public HumanAgentAssistantEvent.Builder addSuggestionResults(SuggestionResult value)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public HumanAgentAssistantEvent.Builder addSuggestionResults(int index, SuggestionResult value)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public HumanAgentAssistantEvent.Builder addSuggestionResults(SuggestionResult.Builder builderForValue)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public HumanAgentAssistantEvent.Builder addSuggestionResults(int index, SuggestionResult.Builder builderForValue)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public HumanAgentAssistantEvent.Builder addAllSuggestionResults(Iterable<? extends SuggestionResult> values)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public HumanAgentAssistantEvent.Builder clearSuggestionResults()
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public HumanAgentAssistantEvent.Builder removeSuggestionResults(int index)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public SuggestionResult.Builder getSuggestionResultsBuilder(int index)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public SuggestionResultOrBuilder getSuggestionResultsOrBuilder(int index)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
getSuggestionResultsOrBuilder in interface HumanAgentAssistantEventOrBuilderpublic List<? extends SuggestionResultOrBuilder> getSuggestionResultsOrBuilderList()
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
getSuggestionResultsOrBuilderList in interface HumanAgentAssistantEventOrBuilderpublic SuggestionResult.Builder addSuggestionResultsBuilder()
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public SuggestionResult.Builder addSuggestionResultsBuilder(int index)
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public List<SuggestionResult.Builder> getSuggestionResultsBuilderList()
The suggestion results payload that this notification refers to. It will only be set when [HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses][google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses] sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
public final HumanAgentAssistantEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>public final HumanAgentAssistantEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>Copyright © 2023 Google LLC. All rights reserved.