Package com.google.cloud.dialogflow.v2
Interface ConversationEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ConversationEvent,ConversationEvent.Builder
@Generated
public interface ConversationEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the conversation this notification refers to.com.google.protobuf.ByteStringThe unique identifier of the conversation this notification refers to.More detailed information about an error.More detailed information about an error.Payload of NEW_MESSAGE event.Payload of NEW_MESSAGE event.Payload of NEW_RECOGNITION_RESULT event.Payload of NEW_RECOGNITION_RESULT event.getType()The type of the event that this notification refers to.intThe type of the event that this notification refers to.booleanMore detailed information about an error.booleanPayload of NEW_MESSAGE event.booleanPayload of NEW_RECOGNITION_RESULT event.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getConversation
String getConversation()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()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()The type of the event that this notification refers to.
.google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
ConversationEvent.Type getType()The type of the event that this notification refers to.
.google.cloud.dialogflow.v2.ConversationEvent.Type type = 2;- Returns:
- The type.
-
hasErrorStatus
boolean hasErrorStatus()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
Status getErrorStatus()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
StatusOrBuilder getErrorStatusOrBuilder()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.v2.Message new_message_payload = 4;- Returns:
- Whether the newMessagePayload field is set.
-
getNewMessagePayload
Message getNewMessagePayload()Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4;- Returns:
- The newMessagePayload.
-
getNewMessagePayloadOrBuilder
MessageOrBuilder getNewMessagePayloadOrBuilder()Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2.Message new_message_payload = 4; -
hasNewRecognitionResultPayload
boolean hasNewRecognitionResultPayload()Payload of NEW_RECOGNITION_RESULT event.
.google.cloud.dialogflow.v2.StreamingRecognitionResult new_recognition_result_payload = 5;- Returns:
- Whether the newRecognitionResultPayload field is set.
-
getNewRecognitionResultPayload
StreamingRecognitionResult getNewRecognitionResultPayload()Payload of NEW_RECOGNITION_RESULT event.
.google.cloud.dialogflow.v2.StreamingRecognitionResult new_recognition_result_payload = 5;- Returns:
- The newRecognitionResultPayload.
-
getNewRecognitionResultPayloadOrBuilder
StreamingRecognitionResultOrBuilder getNewRecognitionResultPayloadOrBuilder()Payload of NEW_RECOGNITION_RESULT event.
.google.cloud.dialogflow.v2.StreamingRecognitionResult new_recognition_result_payload = 5; -
getPayloadCase
ConversationEvent.PayloadCase getPayloadCase()
-