Class OmnichannelOperationMetadata.Builder (0.1.0)

public static final class OmnichannelOperationMetadata.Builder extends GeneratedMessage.Builder<OmnichannelOperationMetadata.Builder> implements OmnichannelOperationMetadataOrBuilder

Represents the metadata of the long-running operation.

Protobuf type google.cloud.ces.v1.OmnichannelOperationMetadata

Static Methods

getDescriptor()

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

Methods

build()

public OmnichannelOperationMetadata build()
Returns
Type Description
OmnichannelOperationMetadata

buildPartial()

public OmnichannelOperationMetadata buildPartial()
Returns
Type Description
OmnichannelOperationMetadata

clear()

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

clearCreateTime()

public OmnichannelOperationMetadata.Builder clearCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OmnichannelOperationMetadata.Builder

clearEndTime()

public OmnichannelOperationMetadata.Builder clearEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OmnichannelOperationMetadata.Builder

clearRequestedCancellation()

public OmnichannelOperationMetadata.Builder clearRequestedCancellation()

Output only. Identifies whether the user has requested cancellation of the operation.

bool requested_cancellation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OmnichannelOperationMetadata.Builder

This builder for chaining.

clearStatusMessage()

public OmnichannelOperationMetadata.Builder clearStatusMessage()

Output only. Human-readable status of the operation, if any.

string status_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
OmnichannelOperationMetadata.Builder

This builder for chaining.

getCreateTime()

public Timestamp getCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public OmnichannelOperationMetadata getDefaultInstanceForType()
Returns
Type Description
OmnichannelOperationMetadata

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getRequestedCancellation()

public boolean getRequestedCancellation()

Output only. Identifies whether the user has requested cancellation of the operation.

bool requested_cancellation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The requestedCancellation.

getStatusMessage()

public String getStatusMessage()

Output only. Human-readable status of the operation, if any.

string status_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The statusMessage.

getStatusMessageBytes()

public ByteString getStatusMessageBytes()

Output only. Human-readable status of the operation, if any.

string status_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for statusMessage.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public OmnichannelOperationMetadata.Builder mergeCreateTime(Timestamp value)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
OmnichannelOperationMetadata.Builder

mergeEndTime(Timestamp value)

public OmnichannelOperationMetadata.Builder mergeEndTime(Timestamp value)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
OmnichannelOperationMetadata.Builder

mergeFrom(OmnichannelOperationMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCreateTime(Timestamp value)

public OmnichannelOperationMetadata.Builder setCreateTime(Timestamp value)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
OmnichannelOperationMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

public OmnichannelOperationMetadata.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OmnichannelOperationMetadata.Builder

setEndTime(Timestamp value)

public OmnichannelOperationMetadata.Builder setEndTime(Timestamp value)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
OmnichannelOperationMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public OmnichannelOperationMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
OmnichannelOperationMetadata.Builder

setRequestedCancellation(boolean value)

public OmnichannelOperationMetadata.Builder setRequestedCancellation(boolean value)

Output only. Identifies whether the user has requested cancellation of the operation.

bool requested_cancellation = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The requestedCancellation to set.

Returns
Type Description
OmnichannelOperationMetadata.Builder

This builder for chaining.

setStatusMessage(String value)

public OmnichannelOperationMetadata.Builder setStatusMessage(String value)

Output only. Human-readable status of the operation, if any.

string status_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The statusMessage to set.

Returns
Type Description
OmnichannelOperationMetadata.Builder

This builder for chaining.

setStatusMessageBytes(ByteString value)

public OmnichannelOperationMetadata.Builder setStatusMessageBytes(ByteString value)

Output only. Human-readable status of the operation, if any.

string status_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for statusMessage to set.

Returns
Type Description
OmnichannelOperationMetadata.Builder

This builder for chaining.