public interface TurnCompletedEventOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getFinalSequenceNumber()
public abstract long getFinalSequenceNumber()Sequence number of the last event the turn produced. A client whose cursor is lower missed content and should reload the session to see it.
int64 final_sequence_number = 3;
| Returns | |
|---|---|
| Type | Description |
long |
The finalSequenceNumber. |
getReason()
public abstract TurnCompletedEvent.Reason getReason()Why the turn ended.
.google.cloud.ces.v1beta.TurnCompletedEvent.Reason reason = 2;
| Returns | |
|---|---|
| Type | Description |
TurnCompletedEvent.Reason |
The reason. |
getReasonValue()
public abstract int getReasonValue()Why the turn ended.
.google.cloud.ces.v1beta.TurnCompletedEvent.Reason reason = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for reason. |
getTurnId()
public abstract String getTurnId()Identifier of the turn that ended; matches TurnResumeSnapshot.turn_id and ActiveTurnInfo.turn_id.
string turn_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The turnId. |
getTurnIdBytes()
public abstract ByteString getTurnIdBytes()Identifier of the turn that ended; matches TurnResumeSnapshot.turn_id and ActiveTurnInfo.turn_id.
string turn_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for turnId. |