public static final class OmnichannelOperationMetadata.Builder extends GeneratedMessage.Builder<OmnichannelOperationMetadata.Builder> implements OmnichannelOperationMetadataOrBuilderRepresents the metadata of the long-running operation.
Protobuf type google.cloud.ces.v1.OmnichannelOperationMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OmnichannelOperationMetadata.BuilderImplements
OmnichannelOperationMetadataOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OmnichannelOperationMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OmnichannelOperationMetadata.Builder |
|
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 |
booleanThe 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 |
StringThe 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 |
ByteStringThe bytes for statusMessage to set. |
| Returns | |
|---|---|
| Type | Description |
OmnichannelOperationMetadata.Builder |
This builder for chaining. |