Interface ConversationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Conversation,Conversation.Builder
@Generated
public interface ConversationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getMessages(int index) Conversation messages.intConversation messages.Conversation messages.getMessagesOrBuilder(int index) Conversation messages.List<? extends ConversationMessageOrBuilder>Conversation messages.getName()Immutable.com.google.protobuf.ByteStringImmutable.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getState()The state of the Conversation.intThe state of the Conversation.A unique identifier for tracking users.com.google.protobuf.ByteStringA unique identifier for tracking users.booleanOutput only.booleanOutput only.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
-
getName
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];- Returns:
- The name.
-
getNameBytes
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];- Returns:
- The bytes for name.
-
getStateValue
int getStateValue()The state of the Conversation.
.google.cloud.discoveryengine.v1beta.Conversation.State state = 2;- Returns:
- The enum numeric value on the wire for state.
-
getState
Conversation.State getState()The state of the Conversation.
.google.cloud.discoveryengine.v1beta.Conversation.State state = 2;- Returns:
- The state.
-
getUserPseudoId
String getUserPseudoId()A unique identifier for tracking users.
string user_pseudo_id = 3;- Returns:
- The userPseudoId.
-
getUserPseudoIdBytes
com.google.protobuf.ByteString getUserPseudoIdBytes()A unique identifier for tracking users.
string user_pseudo_id = 3;- Returns:
- The bytes for userPseudoId.
-
getMessagesList
List<ConversationMessage> getMessagesList()Conversation messages.
repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4; -
getMessages
Conversation messages.
repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4; -
getMessagesCount
int getMessagesCount()Conversation messages.
repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4; -
getMessagesOrBuilderList
List<? extends ConversationMessageOrBuilder> getMessagesOrBuilderList()Conversation messages.
repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4; -
getMessagesOrBuilder
Conversation messages.
repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4; -
hasStartTime
boolean hasStartTime()Output only. The time the conversation started.
.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()Output only. The time the conversation started.
.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. The time the conversation started.
.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasEndTime
boolean hasEndTime()Output only. The time the conversation finished.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()Output only. The time the conversation finished.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Output only. The time the conversation finished.
.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-