Interface ConversationOrBuilder (0.40.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
Type Description
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
Type Description
TimestampOrBuilder

getMessages(int index)

public abstract ConversationMessage getMessages(int index)

Conversation messages.

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

Parameter
Name Description
index int
Returns
Type Description
ConversationMessage

getMessagesCount()

public abstract int getMessagesCount()

Conversation messages.

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

Returns
Type Description
int

getMessagesList()

public abstract List<ConversationMessage> getMessagesList()

Conversation messages.

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

Returns
Type Description
List<ConversationMessage>

getMessagesOrBuilder(int index)

public abstract ConversationMessageOrBuilder getMessagesOrBuilder(int index)

Conversation messages.

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

Parameter
Name Description
index int
Returns
Type Description
ConversationMessageOrBuilder

getMessagesOrBuilderList()

public abstract List<? extends ConversationMessageOrBuilder> getMessagesOrBuilderList()

Conversation messages.

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

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.ConversationMessageOrBuilder>

getName()

public abstract String getName()

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

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

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

Returns
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getState()

public abstract Conversation.State getState()

The state of the Conversation.

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

Returns
Type Description
Conversation.State

The state.

getStateValue()

public abstract int getStateValue()

The state of the Conversation.

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

Returns
Type Description
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
Type Description
String

The userPseudoId.

getUserPseudoIdBytes()

public abstract ByteString getUserPseudoIdBytes()

A unique identifier for tracking users.

string user_pseudo_id = 3;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the startTime field is set.