Interface ConversationOrBuilder (0.26.0)

public interface ConversationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndTime()

public abstract Timestamp getEndTime()

Output only. The time the conversation finished.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the conversation finished.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getMessages(int index)

public abstract ConversationMessage getMessages(int index)

Conversation messages.

repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationMessage

getMessagesCount()

public abstract int getMessagesCount()

Conversation messages.

repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4;

Returns
TypeDescription
int

getMessagesList()

public abstract List<ConversationMessage> getMessagesList()

Conversation messages.

repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4;

Returns
TypeDescription
List<ConversationMessage>

getMessagesOrBuilder(int index)

public abstract ConversationMessageOrBuilder getMessagesOrBuilder(int index)

Conversation messages.

repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ConversationMessageOrBuilder

getMessagesOrBuilderList()

public abstract List<? extends ConversationMessageOrBuilder> getMessagesOrBuilderList()

Conversation messages.

repeated .google.cloud.discoveryengine.v1beta.ConversationMessage messages = 4;

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1beta.ConversationMessageOrBuilder>

getName()

public abstract String getName()

Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Immutable. Fully qualified name project/*/locations/global/collections/{collection}/dataStore/*/conversations/*

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for name.

getStartTime()

public abstract Timestamp getStartTime()

Output only. The time the conversation started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Output only. The time the conversation started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getState()

public abstract Conversation.State getState()

The state of the Conversation.

.google.cloud.discoveryengine.v1beta.Conversation.State state = 2;

Returns
TypeDescription
Conversation.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the Conversation.

.google.cloud.discoveryengine.v1beta.Conversation.State state = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getUserPseudoId()

public abstract String getUserPseudoId()

A unique identifier for tracking users.

string user_pseudo_id = 3;

Returns
TypeDescription
String

The userPseudoId.

getUserPseudoIdBytes()

public abstract ByteString getUserPseudoIdBytes()

A unique identifier for tracking users.

string user_pseudo_id = 3;

Returns
TypeDescription
ByteString

The bytes for userPseudoId.

hasEndTime()

public abstract boolean hasEndTime()

Output only. The time the conversation finished.

.google.protobuf.Timestamp end_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasStartTime()

public abstract boolean hasStartTime()

Output only. The time the conversation started.

.google.protobuf.Timestamp start_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the startTime field is set.