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
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
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.
|
getDefaultInstance()
public static HumanAgentAssistantEvent getDefaultInstance()
Returns
getDefaultInstanceForType()
public HumanAgentAssistantEvent getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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
newBuilder()
public static HumanAgentAssistantEvent.Builder newBuilder()
Returns
newBuilder(HumanAgentAssistantEvent prototype)
public static HumanAgentAssistantEvent.Builder newBuilder(HumanAgentAssistantEvent prototype)
Parameter
Returns
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
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
toBuilder()
public HumanAgentAssistantEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions