public static final class HumanAgentAssistantEvent.Builder extends 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 type
google.cloud.dialogflow.v2.HumanAgentAssistantEvent
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public HumanAgentAssistantEvent.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public HumanAgentAssistantEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public HumanAgentAssistantEvent build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public HumanAgentAssistantEvent buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public HumanAgentAssistantEvent.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public HumanAgentAssistantEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public HumanAgentAssistantEvent.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public HumanAgentAssistantEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public HumanAgentAssistantEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public HumanAgentAssistantEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public HumanAgentAssistantEvent.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<HumanAgentAssistantEvent.Builder>
public HumanAgentAssistantEvent.Builder mergeFrom(HumanAgentAssistantEvent other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public HumanAgentAssistantEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<HumanAgentAssistantEvent.Builder>
IOException
public String getConversation()
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;
getConversation
in interface HumanAgentAssistantEventOrBuilder
public ByteString getConversationBytes()
The conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;
getConversationBytes
in interface HumanAgentAssistantEventOrBuilder
public 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(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. Format: `projects/<Project ID>/conversations/<Conversation ID>/participants/<Participant ID>`. It will not be set in legacy workflow.
string participant = 3;
getParticipant
in interface HumanAgentAssistantEventOrBuilder
public 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;
getParticipantBytes
in interface HumanAgentAssistantEventOrBuilder
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;
value
- The participant to set.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;
public HumanAgentAssistantEvent.Builder setParticipantBytes(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;
value
- The bytes for participant to set.public List<SuggestionResult> getSuggestionResultsList()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
getSuggestionResultsList
in interface HumanAgentAssistantEventOrBuilder
public int getSuggestionResultsCount()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
getSuggestionResultsCount
in interface HumanAgentAssistantEventOrBuilder
public SuggestionResult getSuggestionResults(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
getSuggestionResults
in interface HumanAgentAssistantEventOrBuilder
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;
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;
public HumanAgentAssistantEvent.Builder addSuggestionResults(SuggestionResult value)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
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;
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;
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;
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;
public HumanAgentAssistantEvent.Builder clearSuggestionResults()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
public HumanAgentAssistantEvent.Builder removeSuggestionResults(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
public SuggestionResult.Builder getSuggestionResultsBuilder(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
public SuggestionResultOrBuilder getSuggestionResultsOrBuilder(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
getSuggestionResultsOrBuilder
in interface HumanAgentAssistantEventOrBuilder
public List<? extends SuggestionResultOrBuilder> getSuggestionResultsOrBuilderList()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
getSuggestionResultsOrBuilderList
in interface HumanAgentAssistantEventOrBuilder
public SuggestionResult.Builder addSuggestionResultsBuilder()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
public SuggestionResult.Builder addSuggestionResultsBuilder(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
public List<SuggestionResult.Builder> getSuggestionResultsBuilderList()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
public final HumanAgentAssistantEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
public final HumanAgentAssistantEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<HumanAgentAssistantEvent.Builder>
Copyright © 2022 Google LLC. All rights reserved.