Class ActiveTurnInfo (0.19.0)

public final class ActiveTurnInfo extends GeneratedMessage implements ActiveTurnInfoOrBuilder

Live-attachment info for a session turn that is currently running, disconnected from its client, or parked for pickup by another server task.

Protobuf type google.cloud.ces.v1beta.ActiveTurnInfo

Static Fields

LAST_PROGRESS_TIME_FIELD_NUMBER

public static final int LAST_PROGRESS_TIME_FIELD_NUMBER
Field Value
Type Description
int

ORPHAN_DEADLINE_TIME_FIELD_NUMBER

public static final int ORPHAN_DEADLINE_TIME_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

TURN_ID_FIELD_NUMBER

public static final int TURN_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ActiveTurnInfo getDefaultInstance()
Returns
Type Description
ActiveTurnInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ActiveTurnInfo.Builder newBuilder()
Returns
Type Description
ActiveTurnInfo.Builder

newBuilder(ActiveTurnInfo prototype)

public static ActiveTurnInfo.Builder newBuilder(ActiveTurnInfo prototype)
Parameter
Name Description
prototype ActiveTurnInfo
Returns
Type Description
ActiveTurnInfo.Builder

parseDelimitedFrom(InputStream input)

public static ActiveTurnInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ActiveTurnInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ActiveTurnInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ActiveTurnInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ActiveTurnInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ActiveTurnInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ActiveTurnInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ActiveTurnInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ActiveTurnInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ActiveTurnInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ActiveTurnInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ActiveTurnInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveTurnInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ActiveTurnInfo> parser()
Returns
Type Description
Parser<ActiveTurnInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ActiveTurnInfo getDefaultInstanceForType()
Returns
Type Description
ActiveTurnInfo

getLastProgressTime()

public Timestamp getLastProgressTime()

Output only. When the turn last persisted progress.

.google.protobuf.Timestamp last_progress_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastProgressTime.

getLastProgressTimeOrBuilder()

public TimestampOrBuilder getLastProgressTimeOrBuilder()

Output only. When the turn last persisted progress.

.google.protobuf.Timestamp last_progress_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getOrphanDeadlineTime()

public Timestamp getOrphanDeadlineTime()

Output only. When the turn will be wound down if no client attaches.

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

Returns
Type Description
Timestamp

The orphanDeadlineTime.

getOrphanDeadlineTimeOrBuilder()

public TimestampOrBuilder getOrphanDeadlineTimeOrBuilder()

Output only. When the turn will be wound down if no client attaches.

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

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<ActiveTurnInfo> getParserForType()
Returns
Type Description
Parser<ActiveTurnInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartTime()

public Timestamp getStartTime()

Output only. When the turn started.

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

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. When the turn started.

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

Returns
Type Description
TimestampOrBuilder

getStatus()

public ActiveTurnInfo.Status getStatus()

Current attachment status.

.google.cloud.ces.v1beta.ActiveTurnInfo.Status status = 2;

Returns
Type Description
ActiveTurnInfo.Status

The status.

getStatusValue()

public int getStatusValue()

Current attachment status.

.google.cloud.ces.v1beta.ActiveTurnInfo.Status status = 2;

Returns
Type Description
int

The enum numeric value on the wire for status.

getTurnId()

public String getTurnId()

Identifies the turn; echoed by resume snapshots on the streaming API.

string turn_id = 1;

Returns
Type Description
String

The turnId.

getTurnIdBytes()

public ByteString getTurnIdBytes()

Identifies the turn; echoed by resume snapshots on the streaming API.

string turn_id = 1;

Returns
Type Description
ByteString

The bytes for turnId.

hasLastProgressTime()

public boolean hasLastProgressTime()

Output only. When the turn last persisted progress.

.google.protobuf.Timestamp last_progress_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastProgressTime field is set.

hasOrphanDeadlineTime()

public boolean hasOrphanDeadlineTime()

Output only. When the turn will be wound down if no client attaches.

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

Returns
Type Description
boolean

Whether the orphanDeadlineTime field is set.

hasStartTime()

public boolean hasStartTime()

Output only. When the turn started.

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

Returns
Type Description
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ActiveTurnInfo.Builder newBuilderForType()
Returns
Type Description
ActiveTurnInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ActiveTurnInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ActiveTurnInfo.Builder
Overrides

toBuilder()

public ActiveTurnInfo.Builder toBuilder()
Returns
Type Description
ActiveTurnInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException