Class HumanAgentAssistantEvent (4.12.0)

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
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()
Returns
Type Description
HumanAgentAssistantEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static HumanAgentAssistantEvent.Builder newBuilder()
Returns
Type Description
HumanAgentAssistantEvent.Builder

newBuilder(HumanAgentAssistantEvent prototype)

public static HumanAgentAssistantEvent.Builder newBuilder(HumanAgentAssistantEvent prototype)
Parameter
Name Description
prototype HumanAgentAssistantEvent
Returns
Type Description
HumanAgentAssistantEvent.Builder

parseDelimitedFrom(InputStream input)

public static HumanAgentAssistantEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HumanAgentAssistantEvent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentAssistantEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentAssistantEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HumanAgentAssistantEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HumanAgentAssistantEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HumanAgentAssistantEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HumanAgentAssistantEvent> parser()
Returns
Type Description
Parser<HumanAgentAssistantEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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
Type Description
HumanAgentAssistantEvent

getParserForType()

public Parser<HumanAgentAssistantEvent> getParserForType()
Returns
Type Description
Parser<HumanAgentAssistantEvent>
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
Returns
Type Description
SuggestionResult

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;

Returns
Type Description
List<SuggestionResult>

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
Type Description
SuggestionResultOrBuilder

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
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HumanAgentAssistantEvent.Builder newBuilderForType()
Returns
Type Description
HumanAgentAssistantEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentAssistantEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HumanAgentAssistantEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HumanAgentAssistantEvent.Builder toBuilder()
Returns
Type Description
HumanAgentAssistantEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides Exceptions
Type Description
IOException