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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CONVERSATION_FIELD_NUMBER
public static final int CONVERSATION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PARTICIPANT_FIELD_NUMBER
public static final int PARTICIPANT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUGGESTION_RESULTS_FIELD_NUMBER
public static final int SUGGESTION_RESULTS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static HumanAgentAssistantEvent getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static HumanAgentAssistantEvent.Builder newBuilder()
newBuilder(HumanAgentAssistantEvent prototype)
public static HumanAgentAssistantEvent.Builder newBuilder(HumanAgentAssistantEvent prototype)
public static HumanAgentAssistantEvent parseDelimitedFrom(InputStream input)
public static HumanAgentAssistantEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static HumanAgentAssistantEvent parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static HumanAgentAssistantEvent parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantEvent parseFrom(CodedInputStream input)
public static HumanAgentAssistantEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantEvent parseFrom(InputStream input)
public static HumanAgentAssistantEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static HumanAgentAssistantEvent parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HumanAgentAssistantEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<HumanAgentAssistantEvent> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getParserForType()
public Parser<HumanAgentAssistantEvent> getParserForType()
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 |
Type |
Description |
int |
|
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
|
getSuggestionResultsCount()
public int getSuggestionResultsCount()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
Returns |
Type |
Description |
int |
|
getSuggestionResultsList()
public List<SuggestionResult> getSuggestionResultsList()
The suggestion results payload that this notification refers to.
repeated .google.cloud.dialogflow.v2.SuggestionResult suggestion_results = 5;
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
|
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> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public HumanAgentAssistantEvent.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected HumanAgentAssistantEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public HumanAgentAssistantEvent.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides