Package com.google.cloud.config.v1
Class OperationMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OperationMetadata.Builder>
com.google.cloud.config.v1.OperationMetadata.Builder
- All Implemented Interfaces:
OperationMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OperationMetadata
public static final class OperationMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OperationMetadata.Builder>
implements OperationMetadataOrBuilder
Represents the metadata of the long-running operation.Protobuf type
google.cloud.config.v1.OperationMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.Output only.Output only.Output only.Output only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getVerb()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.Output only.mergeEndTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(OperationMetadata other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.Output only.setApiVersion(String value) Output only.setApiVersionBytes(com.google.protobuf.ByteString value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setDeploymentMetadata(DeploymentOperationMetadata.Builder builderForValue) Output only.setEndTime(com.google.protobuf.Timestamp value) Output only.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setPreviewMetadata(PreviewOperationMetadata.Builder builderForValue) Output only.Output only.setProvisionDeploymentGroupMetadata(ProvisionDeploymentGroupOperationMetadata.Builder builderForValue) Output only.setRequestedCancellation(boolean value) Output only.setStatusMessage(String value) Output only.setStatusMessageBytes(com.google.protobuf.ByteString value) Output only.Output only.setTargetBytes(com.google.protobuf.ByteString value) Output only.Output only.setVerbBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OperationMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OperationMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OperationMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OperationMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OperationMetadata.Builder>
-
mergeFrom
public OperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OperationMetadata.Builder>- Throws:
IOException
-
getResourceMetadataCase
- Specified by:
getResourceMetadataCasein interfaceOperationMetadataOrBuilder
-
clearResourceMetadata
-
hasDeploymentMetadata
public boolean hasDeploymentMetadata()Output only. Metadata about the deployment operation state.
.google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeploymentMetadatain interfaceOperationMetadataOrBuilder- Returns:
- Whether the deploymentMetadata field is set.
-
getDeploymentMetadata
Output only. Metadata about the deployment operation state.
.google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeploymentMetadatain interfaceOperationMetadataOrBuilder- Returns:
- The deploymentMetadata.
-
setDeploymentMetadata
Output only. Metadata about the deployment operation state.
.google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDeploymentMetadata
public OperationMetadata.Builder setDeploymentMetadata(DeploymentOperationMetadata.Builder builderForValue) Output only. Metadata about the deployment operation state.
.google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDeploymentMetadata
Output only. Metadata about the deployment operation state.
.google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDeploymentMetadata
Output only. Metadata about the deployment operation state.
.google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeploymentMetadataBuilder
Output only. Metadata about the deployment operation state.
.google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeploymentMetadataOrBuilder
Output only. Metadata about the deployment operation state.
.google.cloud.config.v1.DeploymentOperationMetadata deployment_metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeploymentMetadataOrBuilderin interfaceOperationMetadataOrBuilder
-
hasPreviewMetadata
public boolean hasPreviewMetadata()Output only. Metadata about the preview operation state.
.google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasPreviewMetadatain interfaceOperationMetadataOrBuilder- Returns:
- Whether the previewMetadata field is set.
-
getPreviewMetadata
Output only. Metadata about the preview operation state.
.google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPreviewMetadatain interfaceOperationMetadataOrBuilder- Returns:
- The previewMetadata.
-
setPreviewMetadata
Output only. Metadata about the preview operation state.
.google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setPreviewMetadata
public OperationMetadata.Builder setPreviewMetadata(PreviewOperationMetadata.Builder builderForValue) Output only. Metadata about the preview operation state.
.google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergePreviewMetadata
Output only. Metadata about the preview operation state.
.google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearPreviewMetadata
Output only. Metadata about the preview operation state.
.google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPreviewMetadataBuilder
Output only. Metadata about the preview operation state.
.google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getPreviewMetadataOrBuilder
Output only. Metadata about the preview operation state.
.google.cloud.config.v1.PreviewOperationMetadata preview_metadata = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPreviewMetadataOrBuilderin interfaceOperationMetadataOrBuilder
-
hasProvisionDeploymentGroupMetadata
public boolean hasProvisionDeploymentGroupMetadata()Output only. Metadata about ProvisionDeploymentGroup operation state.
.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProvisionDeploymentGroupMetadatain interfaceOperationMetadataOrBuilder- Returns:
- Whether the provisionDeploymentGroupMetadata field is set.
-
getProvisionDeploymentGroupMetadata
Output only. Metadata about ProvisionDeploymentGroup operation state.
.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProvisionDeploymentGroupMetadatain interfaceOperationMetadataOrBuilder- Returns:
- The provisionDeploymentGroupMetadata.
-
setProvisionDeploymentGroupMetadata
public OperationMetadata.Builder setProvisionDeploymentGroupMetadata(ProvisionDeploymentGroupOperationMetadata value) Output only. Metadata about ProvisionDeploymentGroup operation state.
.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setProvisionDeploymentGroupMetadata
public OperationMetadata.Builder setProvisionDeploymentGroupMetadata(ProvisionDeploymentGroupOperationMetadata.Builder builderForValue) Output only. Metadata about ProvisionDeploymentGroup operation state.
.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeProvisionDeploymentGroupMetadata
public OperationMetadata.Builder mergeProvisionDeploymentGroupMetadata(ProvisionDeploymentGroupOperationMetadata value) Output only. Metadata about ProvisionDeploymentGroup operation state.
.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearProvisionDeploymentGroupMetadata
Output only. Metadata about ProvisionDeploymentGroup operation state.
.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProvisionDeploymentGroupMetadataBuilder
public ProvisionDeploymentGroupOperationMetadata.Builder getProvisionDeploymentGroupMetadataBuilder()Output only. Metadata about ProvisionDeploymentGroup operation state.
.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getProvisionDeploymentGroupMetadataOrBuilder
public ProvisionDeploymentGroupOperationMetadataOrBuilder getProvisionDeploymentGroupMetadataOrBuilder()Output only. Metadata about ProvisionDeploymentGroup operation state.
.google.cloud.config.v1.ProvisionDeploymentGroupOperationMetadata provision_deployment_group_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProvisionDeploymentGroupMetadataOrBuilderin interfaceOperationMetadataOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceOperationMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceOperationMetadataOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public OperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceOperationMetadataOrBuilder
-
hasEndTime
public boolean hasEndTime()Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndTimein interfaceOperationMetadataOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimein interfaceOperationMetadataOrBuilder- Returns:
- The endTime.
-
setEndTime
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setEndTime
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeEndTime
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearEndTime
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeOrBuilderin interfaceOperationMetadataOrBuilder
-
getTarget
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetin interfaceOperationMetadataOrBuilder- Returns:
- The target.
-
getTargetBytes
public com.google.protobuf.ByteString getTargetBytes()Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetBytesin interfaceOperationMetadataOrBuilder- Returns:
- The bytes for target.
-
setTarget
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The target to set.- Returns:
- This builder for chaining.
-
clearTarget
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setTargetBytes
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for target to set.- Returns:
- This builder for chaining.
-
getVerb
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVerbin interfaceOperationMetadataOrBuilder- Returns:
- The verb.
-
getVerbBytes
public com.google.protobuf.ByteString getVerbBytes()Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVerbBytesin interfaceOperationMetadataOrBuilder- Returns:
- The bytes for verb.
-
setVerb
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The verb to set.- Returns:
- This builder for chaining.
-
clearVerb
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setVerbBytes
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for verb to set.- Returns:
- This builder for chaining.
-
getStatusMessage
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusMessagein interfaceOperationMetadataOrBuilder- Returns:
- The statusMessage.
-
getStatusMessageBytes
public com.google.protobuf.ByteString getStatusMessageBytes()Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusMessageBytesin interfaceOperationMetadataOrBuilder- Returns:
- The bytes for statusMessage.
-
setStatusMessage
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The statusMessage to set.- Returns:
- This builder for chaining.
-
clearStatusMessage
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setStatusMessageBytes
Output only. Human-readable status of the operation, if any.
string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for statusMessage to set.- Returns:
- This builder for chaining.
-
getRequestedCancellation
public boolean getRequestedCancellation()Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to `Code.CANCELLED`.
bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRequestedCancellationin interfaceOperationMetadataOrBuilder- Returns:
- The requestedCancellation.
-
setRequestedCancellation
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to `Code.CANCELLED`.
bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The requestedCancellation to set.- Returns:
- This builder for chaining.
-
clearRequestedCancellation
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to `Code.CANCELLED`.
bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getApiVersion
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApiVersionin interfaceOperationMetadataOrBuilder- Returns:
- The apiVersion.
-
getApiVersionBytes
public com.google.protobuf.ByteString getApiVersionBytes()Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApiVersionBytesin interfaceOperationMetadataOrBuilder- Returns:
- The bytes for apiVersion.
-
setApiVersion
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The apiVersion to set.- Returns:
- This builder for chaining.
-
clearApiVersion
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setApiVersionBytes
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for apiVersion to set.- Returns:
- This builder for chaining.
-