Send feedback
Class HumanAgentAssistantEvent (4.7.4)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.7.4 keyboard_arrow_down
public final class HumanAgentAssistantEvent extends GeneratedMessageV3 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
Static Fields
CONVERSATION_FIELD_NUMBER
public static final int CONVERSATION_FIELD_NUMBER
Field Value
PARTICIPANT_FIELD_NUMBER
public static final int PARTICIPANT_FIELD_NUMBER
Field Value
SUGGESTION_RESULTS_FIELD_NUMBER
public static final int SUGGESTION_RESULTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static HumanAgentAssistantEvent getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static HumanAgentAssistantEvent . Builder newBuilder ()
Returns
newBuilder(HumanAgentAssistantEvent prototype)
public static HumanAgentAssistantEvent . Builder newBuilder ( HumanAgentAssistantEvent prototype )
Parameter
Returns
public static HumanAgentAssistantEvent parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static HumanAgentAssistantEvent parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static HumanAgentAssistantEvent parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantEvent parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static HumanAgentAssistantEvent parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantEvent parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static HumanAgentAssistantEvent parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static HumanAgentAssistantEvent parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static HumanAgentAssistantEvent parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static HumanAgentAssistantEvent parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static HumanAgentAssistantEvent parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantEvent parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<HumanAgentAssistantEvent> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getConversation()
public String getConversation ()
The conversation this notification refers to.
Format: projects/<Project ID>/conversations/<Conversation ID>
.
string conversation = 1;
Returns
Type Description String The conversation.
getConversationBytes()
public ByteString getConversationBytes ()
The conversation this notification refers to.
Format: projects/<Project ID>/conversations/<Conversation ID>
.
string conversation = 1;
Returns
Type Description ByteString The bytes for conversation.
getDefaultInstanceForType()
public HumanAgentAssistantEvent getDefaultInstanceForType ()
Returns
getParserForType()
public Parser<HumanAgentAssistantEvent> getParserForType ()
Returns
Overrides
getParticipant()
public String getParticipant ()
The participant that the suggestion is compiled for. And This field is used
to call Participants.ListSuggestions API. Format:
projects/<Project ID>/conversations/<Conversation
ID>/participants/<Participant ID>
.
It will not be set in legacy workflow.
HumanAgentAssistantConfig.name for more
information.
string participant = 3;
Returns
Type Description String The participant.
getParticipantBytes()
public ByteString getParticipantBytes ()
The participant that the suggestion is compiled for. And This field is used
to call Participants.ListSuggestions API. Format:
projects/<Project ID>/conversations/<Conversation
ID>/participants/<Participant ID>
.
It will not be set in legacy workflow.
HumanAgentAssistantConfig.name for more
information.
string participant = 3;
Returns
Type Description ByteString The bytes for participant.
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getSuggestionResults(int index)
public SuggestionResult getSuggestionResults ( int index )
The suggestion results payload that this notification refers to. It will
only be set when
HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses
sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
Parameter
Returns
getSuggestionResultsCount()
public int getSuggestionResultsCount ()
The suggestion results payload that this notification refers to. It will
only be set when
HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses
sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
Returns
getSuggestionResultsList()
public List<SuggestionResult> getSuggestionResultsList ()
The suggestion results payload that this notification refers to. It will
only be set when
HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses
sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
Returns
getSuggestionResultsOrBuilder(int index)
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
sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
Parameter
Returns
getSuggestionResultsOrBuilderList()
public List <? extends SuggestionResultOrBuilder > getSuggestionResultsOrBuilderList ()
The suggestion results payload that this notification refers to. It will
only be set when
HumanAgentAssistantConfig.SuggestionConfig.group_suggestion_responses
sets to true.
repeated .google.cloud.dialogflow.v2beta1.SuggestionResult suggestion_results = 5;
Returns
Type Description List <? extends com.google.cloud.dialogflow.v2beta1.SuggestionResultOrBuilder >
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public HumanAgentAssistantEvent . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HumanAgentAssistantEvent . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public HumanAgentAssistantEvent . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]