Class HumanAgentAssistantEvent (4.7.1)

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
TypeDescription
int

PARTICIPANT_FIELD_NUMBER

public static final int PARTICIPANT_FIELD_NUMBER
Field Value
TypeDescription
int

SUGGESTION_RESULTS_FIELD_NUMBER

public static final int SUGGESTION_RESULTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HumanAgentAssistantEvent getDefaultInstance()
Returns
TypeDescription
HumanAgentAssistantEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static HumanAgentAssistantEvent.Builder newBuilder()
Returns
TypeDescription
HumanAgentAssistantEvent.Builder

newBuilder(HumanAgentAssistantEvent prototype)

public static HumanAgentAssistantEvent.Builder newBuilder(HumanAgentAssistantEvent prototype)
Parameter
NameDescription
prototypeHumanAgentAssistantEvent
Returns
TypeDescription
HumanAgentAssistantEvent.Builder

parseDelimitedFrom(InputStream input)

public static HumanAgentAssistantEvent parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HumanAgentAssistantEvent parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HumanAgentAssistantEvent parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HumanAgentAssistantEvent parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HumanAgentAssistantEvent parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HumanAgentAssistantEvent parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HumanAgentAssistantEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HumanAgentAssistantEvent
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HumanAgentAssistantEvent> parser()
Returns
TypeDescription
Parser<HumanAgentAssistantEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getConversation()

public String getConversation()

The conversation this notification refers to. Format: projects/<Project ID>/conversations/<Conversation ID>.

string conversation = 1;

Returns
TypeDescription
String

The conversation.

getConversationBytes()

public ByteString getConversationBytes()

The conversation this notification refers to. Format: projects/<Project ID>/conversations/<Conversation ID>.

string conversation = 1;

Returns
TypeDescription
ByteString

The bytes for conversation.

getDefaultInstanceForType()

public HumanAgentAssistantEvent getDefaultInstanceForType()
Returns
TypeDescription
HumanAgentAssistantEvent

getParserForType()

public Parser<HumanAgentAssistantEvent> getParserForType()
Returns
TypeDescription
Parser<HumanAgentAssistantEvent>
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
TypeDescription
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
TypeDescription
ByteString

The bytes for participant.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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
NameDescription
indexint
Returns
TypeDescription
SuggestionResult

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
TypeDescription
int

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
TypeDescription
List<SuggestionResult>

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
NameDescription
indexint
Returns
TypeDescription
SuggestionResultOrBuilder

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
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.SuggestionResultOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HumanAgentAssistantEvent.Builder newBuilderForType()
Returns
TypeDescription
HumanAgentAssistantEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HumanAgentAssistantEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HumanAgentAssistantEvent.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HumanAgentAssistantEvent.Builder toBuilder()
Returns
TypeDescription
HumanAgentAssistantEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException