Interface ConversationEventOrBuilder (4.46.0)

public interface ConversationEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConversation()

public abstract String getConversation()

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

string conversation = 1;

Returns
Type Description
String

The conversation.

getConversationBytes()

public abstract ByteString getConversationBytes()

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

string conversation = 1;

Returns
Type Description
ByteString

The bytes for conversation.

getErrorStatus()

public abstract Status getErrorStatus()

More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.

.google.rpc.Status error_status = 3;

Returns
Type Description
com.google.rpc.Status

The errorStatus.

getErrorStatusOrBuilder()

public abstract StatusOrBuilder getErrorStatusOrBuilder()

More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.

.google.rpc.Status error_status = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getNewMessagePayload()

public abstract Message getNewMessagePayload()

Payload of NEW_MESSAGE event.

.google.cloud.dialogflow.v2.Message new_message_payload = 4;

Returns
Type Description
Message

The newMessagePayload.

getNewMessagePayloadOrBuilder()

public abstract MessageOrBuilder getNewMessagePayloadOrBuilder()

Payload of NEW_MESSAGE event.

.google.cloud.dialogflow.v2.Message new_message_payload = 4;

Returns
Type Description
MessageOrBuilder

getPayloadCase()

public abstract ConversationEvent.PayloadCase getPayloadCase()
Returns
Type Description
ConversationEvent.PayloadCase

getType()

public abstract ConversationEvent.Type getType()

The type of the event that this notification refers to.

.google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;

Returns
Type Description
ConversationEvent.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of the event that this notification refers to.

.google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasErrorStatus()

public abstract boolean hasErrorStatus()

More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.

.google.rpc.Status error_status = 3;

Returns
Type Description
boolean

Whether the errorStatus field is set.

hasNewMessagePayload()

public abstract boolean hasNewMessagePayload()

Payload of NEW_MESSAGE event.

.google.cloud.dialogflow.v2.Message new_message_payload = 4;

Returns
Type Description
boolean

Whether the newMessagePayload field is set.