Interface ConversationEventOrBuilder (4.5.11)

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
com.google.rpc.StatusOrBuilder

getNewMessagePayload()

public abstract Message getNewMessagePayload()

Payload of NEW_MESSAGE event.

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

Returns
TypeDescription
Message

The newMessagePayload.

getNewMessagePayloadOrBuilder()

public abstract MessageOrBuilder getNewMessagePayloadOrBuilder()

Payload of NEW_MESSAGE event.

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

Returns
TypeDescription
MessageOrBuilder

getPayloadCase()

public abstract ConversationEvent.PayloadCase getPayloadCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the newMessagePayload field is set.