public final class ConversationEvent extends com.google.protobuf.GeneratedMessageV3 implements ConversationEventOrBuilder
Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.Protobuf type
google.cloud.dialogflow.v2beta1.ConversationEvent| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationEvent.Builder
Represents a notification sent to Pub/Sub subscribers for conversation
lifecycle events.
|
static class |
ConversationEvent.PayloadCase |
static class |
ConversationEvent.Type
Enumeration of the types of events available.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONVERSATION_FIELD_NUMBER |
static int |
ERROR_STATUS_FIELD_NUMBER |
static int |
NEW_MESSAGE_PAYLOAD_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getConversation()
Required.
|
com.google.protobuf.ByteString |
getConversationBytes()
Required.
|
static ConversationEvent |
getDefaultInstance() |
ConversationEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<ConversationEvent> |
getParserForType() |
ConversationEvent.PayloadCase |
getPayloadCase() |
int |
getSerializedSize() |
ConversationEvent.Type |
getType()
Required.
|
int |
getTypeValue()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasErrorStatus()
Optional.
|
int |
hashCode() |
boolean |
hasNewMessagePayload()
Payload of NEW_MESSAGE event.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConversationEvent.Builder |
newBuilder() |
static ConversationEvent.Builder |
newBuilder(ConversationEvent prototype) |
ConversationEvent.Builder |
newBuilderForType() |
protected ConversationEvent.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConversationEvent |
parseDelimitedFrom(InputStream input) |
static ConversationEvent |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationEvent |
parseFrom(byte[] data) |
static ConversationEvent |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationEvent |
parseFrom(ByteBuffer data) |
static ConversationEvent |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationEvent |
parseFrom(com.google.protobuf.ByteString data) |
static ConversationEvent |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationEvent |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConversationEvent |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConversationEvent |
parseFrom(InputStream input) |
static ConversationEvent |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConversationEvent> |
parser() |
ConversationEvent.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CONVERSATION_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int ERROR_STATUS_FIELD_NUMBER
public static final int NEW_MESSAGE_PAYLOAD_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ConversationEvent.PayloadCase getPayloadCase()
getPayloadCase in interface ConversationEventOrBuilderpublic String getConversation()
Required. The unique identifier of the conversation this notification refers to. Format: `projects/<Project ID>/conversations/<Conversation ID>`.
string conversation = 1;getConversation in interface ConversationEventOrBuilderpublic 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;getConversationBytes in interface ConversationEventOrBuilderpublic int getTypeValue()
Required. The type of the event that this notification refers to.
.google.cloud.dialogflow.v2beta1.ConversationEvent.Type type = 2;getTypeValue in interface ConversationEventOrBuilderpublic ConversationEvent.Type getType()
Required. The type of the event that this notification refers to.
.google.cloud.dialogflow.v2beta1.ConversationEvent.Type type = 2;getType in interface ConversationEventOrBuilderpublic boolean hasErrorStatus()
Optional. More detailed information about an error. Only set for type UNRECOVERABLE_ERROR_IN_PHONE_CALL.
.google.rpc.Status error_status = 3;hasErrorStatus in interface ConversationEventOrBuilderpublic 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;getErrorStatus in interface ConversationEventOrBuilderpublic 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;getErrorStatusOrBuilder in interface ConversationEventOrBuilderpublic boolean hasNewMessagePayload()
Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2beta1.Message new_message_payload = 4;hasNewMessagePayload in interface ConversationEventOrBuilderpublic Message getNewMessagePayload()
Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2beta1.Message new_message_payload = 4;getNewMessagePayload in interface ConversationEventOrBuilderpublic MessageOrBuilder getNewMessagePayloadOrBuilder()
Payload of NEW_MESSAGE event.
.google.cloud.dialogflow.v2beta1.Message new_message_payload = 4;getNewMessagePayloadOrBuilder in interface ConversationEventOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ConversationEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConversationEvent parseFrom(InputStream input) throws IOException
IOExceptionpublic static ConversationEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConversationEvent parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ConversationEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConversationEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ConversationEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ConversationEvent.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ConversationEvent.Builder newBuilder()
public static ConversationEvent.Builder newBuilder(ConversationEvent prototype)
public ConversationEvent.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ConversationEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ConversationEvent getDefaultInstance()
public static com.google.protobuf.Parser<ConversationEvent> parser()
public com.google.protobuf.Parser<ConversationEvent> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ConversationEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.