public final class Conversation extends com.google.protobuf.GeneratedMessageV3 implements ConversationOrBuilder
External conversation proto definition.Protobuf type
google.cloud.discoveryengine.v1beta.Conversation| Modifier and Type | Class and Description |
|---|---|
static class |
Conversation.Builder
External conversation proto definition.
|
static class |
Conversation.State
Enumeration of the state of the conversation.
|
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 |
END_TIME_FIELD_NUMBER |
static int |
MESSAGES_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
USER_PSEUDO_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Conversation |
getDefaultInstance() |
Conversation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
ConversationMessage |
getMessages(int index)
Conversation messages.
|
int |
getMessagesCount()
Conversation messages.
|
List<ConversationMessage> |
getMessagesList()
Conversation messages.
|
ConversationMessageOrBuilder |
getMessagesOrBuilder(int index)
Conversation messages.
|
List<? extends ConversationMessageOrBuilder> |
getMessagesOrBuilderList()
Conversation messages.
|
String |
getName()
Immutable.
|
com.google.protobuf.ByteString |
getNameBytes()
Immutable.
|
com.google.protobuf.Parser<Conversation> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
Conversation.State |
getState()
The state of the Conversation.
|
int |
getStateValue()
The state of the Conversation.
|
String |
getUserPseudoId()
A unique identifier for tracking users.
|
com.google.protobuf.ByteString |
getUserPseudoIdBytes()
A unique identifier for tracking users.
|
boolean |
hasEndTime()
Output only.
|
int |
hashCode() |
boolean |
hasStartTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Conversation.Builder |
newBuilder() |
static Conversation.Builder |
newBuilder(Conversation prototype) |
Conversation.Builder |
newBuilderForType() |
protected Conversation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Conversation |
parseDelimitedFrom(InputStream input) |
static Conversation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation |
parseFrom(byte[] data) |
static Conversation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation |
parseFrom(ByteBuffer data) |
static Conversation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation |
parseFrom(com.google.protobuf.ByteString data) |
static Conversation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Conversation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Conversation |
parseFrom(InputStream input) |
static Conversation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Conversation> |
parser() |
Conversation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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 NAME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int USER_PSEUDO_ID_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 String getName()
Immutable. Fully qualified name
`projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*`
or
`projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getName in interface ConversationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Immutable. Fully qualified name
`projects/{project}/locations/global/collections/{collection}/dataStore/*/conversations/*`
or
`projects/{project}/locations/global/collections/{collection}/engines/*/conversations/*`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];getNameBytes in interface ConversationOrBuilderpublic int getStateValue()
The state of the Conversation.
.google.cloud.discoveryengine.v1beta.Conversation.State state = 2;getStateValue in interface ConversationOrBuilderpublic Conversation.State getState()
The state of the Conversation.
.google.cloud.discoveryengine.v1beta.Conversation.State state = 2;getState in interface ConversationOrBuilderpublic String getUserPseudoId()
A unique identifier for tracking users.
string user_pseudo_id = 3;getUserPseudoId in interface ConversationOrBuilderpublic com.google.protobuf.ByteString getUserPseudoIdBytes()
A unique identifier for tracking users.
string user_pseudo_id = 3;getUserPseudoIdBytes in interface ConversationOrBuilderpublic List<ConversationMessage> getMessagesList()
Conversation messages.
repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4;getMessagesList in interface ConversationOrBuilderpublic List<? extends ConversationMessageOrBuilder> getMessagesOrBuilderList()
Conversation messages.
repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4;getMessagesOrBuilderList in interface ConversationOrBuilderpublic int getMessagesCount()
Conversation messages.
repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4;getMessagesCount in interface ConversationOrBuilderpublic ConversationMessage getMessages(int index)
Conversation messages.
repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4;getMessages in interface ConversationOrBuilderpublic ConversationMessageOrBuilder getMessagesOrBuilder(int index)
Conversation messages.
repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4;getMessagesOrBuilder in interface ConversationOrBuilderpublic boolean hasStartTime()
Output only. The time the conversation started.
.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStartTime in interface ConversationOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Output only. The time the conversation started.
.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTime in interface ConversationOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time the conversation started.
.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTimeOrBuilder in interface ConversationOrBuilderpublic boolean hasEndTime()
Output only. The time the conversation finished.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface ConversationOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. The time the conversation finished.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface ConversationOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the conversation finished.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface ConversationOrBuilderpublic 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 Conversation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Conversation parseFrom(InputStream input) throws IOException
IOExceptionpublic static Conversation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Conversation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Conversation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Conversation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Conversation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Conversation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Conversation.Builder newBuilder()
public static Conversation.Builder newBuilder(Conversation prototype)
public Conversation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Conversation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Conversation getDefaultInstance()
public static com.google.protobuf.Parser<Conversation> parser()
public com.google.protobuf.Parser<Conversation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Conversation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.