Class ActiveTurnInfo.Builder (0.19.0)

public static final class ActiveTurnInfo.Builder extends GeneratedMessage.Builder<ActiveTurnInfo.Builder> 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 Methods

getDescriptor()

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

Methods

build()

public ActiveTurnInfo build()
Returns
Type Description
ActiveTurnInfo

buildPartial()

public ActiveTurnInfo buildPartial()
Returns
Type Description
ActiveTurnInfo

clear()

public ActiveTurnInfo.Builder clear()
Returns
Type Description
ActiveTurnInfo.Builder
Overrides

clearLastProgressTime()

public ActiveTurnInfo.Builder clearLastProgressTime()

Output only. When the turn last persisted progress.

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

Returns
Type Description
ActiveTurnInfo.Builder

clearOrphanDeadlineTime()

public ActiveTurnInfo.Builder clearOrphanDeadlineTime()

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
ActiveTurnInfo.Builder

clearStartTime()

public ActiveTurnInfo.Builder clearStartTime()

Output only. When the turn started.

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

Returns
Type Description
ActiveTurnInfo.Builder

clearStatus()

public ActiveTurnInfo.Builder clearStatus()

Current attachment status.

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

Returns
Type Description
ActiveTurnInfo.Builder

This builder for chaining.

clearTurnId()

public ActiveTurnInfo.Builder clearTurnId()

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

string turn_id = 1;

Returns
Type Description
ActiveTurnInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public ActiveTurnInfo getDefaultInstanceForType()
Returns
Type Description
ActiveTurnInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getLastProgressTimeBuilder()

public Timestamp.Builder getLastProgressTimeBuilder()

Output only. When the turn last persisted progress.

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

Returns
Type Description
Builder

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.

getOrphanDeadlineTimeBuilder()

public Timestamp.Builder getOrphanDeadlineTimeBuilder()

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
Builder

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

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.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. When the turn started.

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

Returns
Type Description
Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ActiveTurnInfo other)

public ActiveTurnInfo.Builder mergeFrom(ActiveTurnInfo other)
Parameter
Name Description
other ActiveTurnInfo
Returns
Type Description
ActiveTurnInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ActiveTurnInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ActiveTurnInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ActiveTurnInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ActiveTurnInfo.Builder
Overrides

mergeLastProgressTime(Timestamp value)

public ActiveTurnInfo.Builder mergeLastProgressTime(Timestamp value)

Output only. When the turn last persisted progress.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ActiveTurnInfo.Builder

mergeOrphanDeadlineTime(Timestamp value)

public ActiveTurnInfo.Builder mergeOrphanDeadlineTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
ActiveTurnInfo.Builder

mergeStartTime(Timestamp value)

public ActiveTurnInfo.Builder mergeStartTime(Timestamp value)

Output only. When the turn started.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ActiveTurnInfo.Builder

setLastProgressTime(Timestamp value)

public ActiveTurnInfo.Builder setLastProgressTime(Timestamp value)

Output only. When the turn last persisted progress.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ActiveTurnInfo.Builder

setLastProgressTime(Timestamp.Builder builderForValue)

public ActiveTurnInfo.Builder setLastProgressTime(Timestamp.Builder builderForValue)

Output only. When the turn last persisted progress.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ActiveTurnInfo.Builder

setOrphanDeadlineTime(Timestamp value)

public ActiveTurnInfo.Builder setOrphanDeadlineTime(Timestamp value)

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];

Parameter
Name Description
value Timestamp
Returns
Type Description
ActiveTurnInfo.Builder

setOrphanDeadlineTime(Timestamp.Builder builderForValue)

public ActiveTurnInfo.Builder setOrphanDeadlineTime(Timestamp.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ActiveTurnInfo.Builder

setStartTime(Timestamp value)

public ActiveTurnInfo.Builder setStartTime(Timestamp value)

Output only. When the turn started.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ActiveTurnInfo.Builder

setStartTime(Timestamp.Builder builderForValue)

public ActiveTurnInfo.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. When the turn started.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ActiveTurnInfo.Builder

setStatus(ActiveTurnInfo.Status value)

public ActiveTurnInfo.Builder setStatus(ActiveTurnInfo.Status value)

Current attachment status.

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

Parameter
Name Description
value ActiveTurnInfo.Status

The status to set.

Returns
Type Description
ActiveTurnInfo.Builder

This builder for chaining.

setStatusValue(int value)

public ActiveTurnInfo.Builder setStatusValue(int value)

Current attachment status.

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

Parameter
Name Description
value int

The enum numeric value on the wire for status to set.

Returns
Type Description
ActiveTurnInfo.Builder

This builder for chaining.

setTurnId(String value)

public ActiveTurnInfo.Builder setTurnId(String value)

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

string turn_id = 1;

Parameter
Name Description
value String

The turnId to set.

Returns
Type Description
ActiveTurnInfo.Builder

This builder for chaining.

setTurnIdBytes(ByteString value)

public ActiveTurnInfo.Builder setTurnIdBytes(ByteString value)

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

string turn_id = 1;

Parameter
Name Description
value ByteString

The bytes for turnId to set.

Returns
Type Description
ActiveTurnInfo.Builder

This builder for chaining.