Interface TurnResumeSnapshotOrBuilder (0.19.0)

public interface TurnResumeSnapshotOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvents(int index)

public abstract StreamChatAiAssistantResponse getEvents(int index)

Compacted events reconstructing the turn's visible output, in render order, using the same event shapes as live streaming.

repeated .google.cloud.ces.v1beta.StreamChatAiAssistantResponse events = 3;

Parameter
Name Description
index int
Returns
Type Description
StreamChatAiAssistantResponse

getEventsCount()

public abstract int getEventsCount()

Compacted events reconstructing the turn's visible output, in render order, using the same event shapes as live streaming.

repeated .google.cloud.ces.v1beta.StreamChatAiAssistantResponse events = 3;

Returns
Type Description
int

getEventsList()

public abstract List<StreamChatAiAssistantResponse> getEventsList()

Compacted events reconstructing the turn's visible output, in render order, using the same event shapes as live streaming.

repeated .google.cloud.ces.v1beta.StreamChatAiAssistantResponse events = 3;

Returns
Type Description
List<StreamChatAiAssistantResponse>

getEventsOrBuilder(int index)

public abstract StreamChatAiAssistantResponseOrBuilder getEventsOrBuilder(int index)

Compacted events reconstructing the turn's visible output, in render order, using the same event shapes as live streaming.

repeated .google.cloud.ces.v1beta.StreamChatAiAssistantResponse events = 3;

Parameter
Name Description
index int
Returns
Type Description
StreamChatAiAssistantResponseOrBuilder

getEventsOrBuilderList()

public abstract List<? extends StreamChatAiAssistantResponseOrBuilder> getEventsOrBuilderList()

Compacted events reconstructing the turn's visible output, in render order, using the same event shapes as live streaming.

repeated .google.cloud.ces.v1beta.StreamChatAiAssistantResponse events = 3;

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.StreamChatAiAssistantResponseOrBuilder>

getOrphanDeadlineTime()

public abstract Timestamp getOrphanDeadlineTime()

When the turn will be wound down if no client remains attached.

.google.protobuf.Timestamp orphan_deadline_time = 4;

Returns
Type Description
Timestamp

The orphanDeadlineTime.

getOrphanDeadlineTimeOrBuilder()

public abstract TimestampOrBuilder getOrphanDeadlineTimeOrBuilder()

When the turn will be wound down if no client remains attached.

.google.protobuf.Timestamp orphan_deadline_time = 4;

Returns
Type Description
TimestampOrBuilder

getResolvedSequenceNumber()

public abstract long getResolvedSequenceNumber()

The position this snapshot represents. Live events follow with sequence_number strictly greater than this. When lower than the resume_from_sequence_number the client requested, flushed progress lags what the client already rendered: the client must discard its rendered content of this turn beyond this position before applying the snapshot.

int64 resolved_sequence_number = 2;

Returns
Type Description
long

The resolvedSequenceNumber.

getTurnId()

public abstract String getTurnId()

Identifies the turn being attached to.

string turn_id = 1;

Returns
Type Description
String

The turnId.

getTurnIdBytes()

public abstract ByteString getTurnIdBytes()

Identifies the turn being attached to.

string turn_id = 1;

Returns
Type Description
ByteString

The bytes for turnId.

hasOrphanDeadlineTime()

public abstract boolean hasOrphanDeadlineTime()

When the turn will be wound down if no client remains attached.

.google.protobuf.Timestamp orphan_deadline_time = 4;

Returns
Type Description
boolean

Whether the orphanDeadlineTime field is set.