Interface ConversationEventOrBuilder (4.21.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
Type Description
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
Type Description
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
Type Description
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
Type Description
com.google.rpc.StatusOrBuilder

getNewMessagePayload()

public abstract Message getNewMessagePayload()

Payload of NEW_MESSAGE event.

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

Returns
Type Description
Message

The newMessagePayload.

getNewMessagePayloadOrBuilder()

public abstract MessageOrBuilder getNewMessagePayloadOrBuilder()

Payload of NEW_MESSAGE event.

.google.cloud.dialogflow.v2beta1.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()

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

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the newMessagePayload field is set.