Interface ConversationEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConversationEvent
,ConversationEvent.Builder
public interface ConversationEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getConversation()
Required.com.google.protobuf.ByteString
getConversationBytes()
Required.com.google.rpc.Status
getErrorStatus()
Optional.com.google.rpc.StatusOrBuilder
getErrorStatusOrBuilder()
Optional.Message
getNewMessagePayload()
Payload of NEW_MESSAGE event.MessageOrBuilder
getNewMessagePayloadOrBuilder()
Payload of NEW_MESSAGE event.ConversationEvent.PayloadCase
getPayloadCase()
ConversationEvent.Type
getType()
Required.int
getTypeValue()
Required.boolean
hasErrorStatus()
Optional.boolean
hasNewMessagePayload()
Payload of NEW_MESSAGE event.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getConversation
String getConversation()
Required. The unique identifier of the conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;
- Returns:
- The conversation.
-
getConversationBytes
com.google.protobuf.ByteString getConversationBytes()
Required. The unique identifier of the conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;
- Returns:
- The bytes for conversation.
-
getTypeValue
int getTypeValue()
Required. The type of the event that this notification refers to.
.google.cloud.dialogflow.v2beta1.ConversationEvent.Type type = 2;
- Returns:
- The enum numeric value on the wire for type.
-
getType
ConversationEvent.Type getType()
Required. The type of the event that this notification refers to.
.google.cloud.dialogflow.v2beta1.ConversationEvent.Type type = 2;
- Returns:
- The type.
-
hasErrorStatus
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:
- Whether the errorStatus field is set.
-
getErrorStatus
com.google.rpc.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:
- The errorStatus.
-
getErrorStatusOrBuilder
com.google.rpc.StatusOrBuilder getErrorStatusOrBuilder()
Optional. More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
.google.rpc.Status error_status = 3;
-
hasNewMessagePayload
boolean hasNewMessagePayload()
Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2beta1.Message new_message_payload = 4;
- Returns:
- Whether the newMessagePayload field is set.
-
getNewMessagePayload
Message getNewMessagePayload()
Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2beta1.Message new_message_payload = 4;
- Returns:
- The newMessagePayload.
-
getNewMessagePayloadOrBuilder
MessageOrBuilder getNewMessagePayloadOrBuilder()
Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2beta1.Message new_message_payload = 4;
-
getPayloadCase
ConversationEvent.PayloadCase getPayloadCase()
-
-