Interface ConversationEventOrBuilder (4.43.0)

public interface ConversationEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConversation()

public abstract String getConversation()

Required. 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()

Required. 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()

Optional. 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()

Optional. 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.v2beta1.Message new_message_payload = 4;

Returns
TypeDescription
Message

The newMessagePayload.

getNewMessagePayloadOrBuilder()

public abstract MessageOrBuilder getNewMessagePayloadOrBuilder()

Payload of NEW_MESSAGE event.

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

Returns
TypeDescription
MessageOrBuilder

getPayloadCase()

public abstract ConversationEvent.PayloadCase getPayloadCase()
Returns
TypeDescription
ConversationEvent.PayloadCase

getType()

public abstract ConversationEvent.Type getType()

Required. The type of the event that this notification refers to.

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

Returns
TypeDescription
ConversationEvent.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Required. The type of the event that this notification refers to.

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

Returns
TypeDescription
int

The enum numeric value on the wire for type.

hasErrorStatus()

public abstract boolean hasErrorStatus()

Optional. 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.v2beta1.Message new_message_payload = 4;

Returns
TypeDescription
boolean

Whether the newMessagePayload field is set.