public final class HumanAgentAssistantEvent extends GeneratedMessageV3 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
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.
Format: projects/<Project ID>/conversations/<Conversation
ID>/participants/<Participant ID>
. It will not be set in legacy workflow.
string participant = 3;
Returns
Type |
Description |
String |
The participant.
|
getParticipantBytes()
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;
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.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
Parameter
Name |
Description |
index |
int
|
Returns
getSuggestionResultsCount()
public int getSuggestionResultsCount()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
Returns
getSuggestionResultsList()
public List<SuggestionResult> getSuggestionResultsList()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
Returns
getSuggestionResultsOrBuilder(int index)
public SuggestionResultOrBuilder getSuggestionResultsOrBuilder(int index)
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
Parameter
Name |
Description |
index |
int
|
Returns
getSuggestionResultsOrBuilderList()
public List<? extends SuggestionResultOrBuilder> getSuggestionResultsOrBuilderList()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.v2.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