public static final class OperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder> implements OperationMetadataOrBuilder
Represents the metadata of a long-running operation.Protobuf type
google.cloud.memcache.v1.OperationMetadata| Modifier and Type | Method and Description |
|---|---|
OperationMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OperationMetadata |
build() |
OperationMetadata |
buildPartial() |
OperationMetadata.Builder |
clear() |
OperationMetadata.Builder |
clearApiVersion()
Output only.
|
OperationMetadata.Builder |
clearCancelRequested()
Output only.
|
OperationMetadata.Builder |
clearCreateTime()
Output only.
|
OperationMetadata.Builder |
clearEndTime()
Output only.
|
OperationMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OperationMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OperationMetadata.Builder |
clearStatusDetail()
Output only.
|
OperationMetadata.Builder |
clearTarget()
Output only.
|
OperationMetadata.Builder |
clearVerb()
Output only.
|
OperationMetadata.Builder |
clone() |
String |
getApiVersion()
Output only.
|
com.google.protobuf.ByteString |
getApiVersionBytes()
Output only.
|
boolean |
getCancelRequested()
Output only.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
OperationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
String |
getStatusDetail()
Output only.
|
com.google.protobuf.ByteString |
getStatusDetailBytes()
Output only.
|
String |
getTarget()
Output only.
|
com.google.protobuf.ByteString |
getTargetBytes()
Output only.
|
String |
getVerb()
Output only.
|
com.google.protobuf.ByteString |
getVerbBytes()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasEndTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OperationMetadata.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
OperationMetadata.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
Output only.
|
OperationMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OperationMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
OperationMetadata.Builder |
mergeFrom(OperationMetadata other) |
OperationMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OperationMetadata.Builder |
setApiVersion(String value)
Output only.
|
OperationMetadata.Builder |
setApiVersionBytes(com.google.protobuf.ByteString value)
Output only.
|
OperationMetadata.Builder |
setCancelRequested(boolean value)
Output only.
|
OperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
OperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
OperationMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
OperationMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp value)
Output only.
|
OperationMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OperationMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OperationMetadata.Builder |
setStatusDetail(String value)
Output only.
|
OperationMetadata.Builder |
setStatusDetailBytes(com.google.protobuf.ByteString value)
Output only.
|
OperationMetadata.Builder |
setTarget(String value)
Output only.
|
OperationMetadata.Builder |
setTargetBytes(com.google.protobuf.ByteString value)
Output only.
|
OperationMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OperationMetadata.Builder |
setVerb(String value)
Output only.
|
OperationMetadata.Builder |
setVerbBytes(com.google.protobuf.ByteString value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OperationMetadata.Builder>public OperationMetadata.Builder mergeFrom(OperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public OperationMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OperationMetadata.Builder>IOExceptionpublic boolean hasCreateTime()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface OperationMetadataOrBuilderpublic 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];
getCreateTime in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public OperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder clearCreateTime()
Output only. Time when the operation was created.
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getCreateTimeOrBuilder in interface OperationMetadataOrBuilderpublic boolean hasEndTime()
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface OperationMetadataOrBuilderpublic 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];
getEndTime in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public OperationMetadata.Builder clearEndTime()
Output only. Time when the operation finished running.
.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
getEndTimeOrBuilder in interface OperationMetadataOrBuilderpublic String getTarget()
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getTarget in interface OperationMetadataOrBuilderpublic 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];getTargetBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setTarget(String value)
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The target to set.public OperationMetadata.Builder clearTarget()
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public OperationMetadata.Builder setTargetBytes(com.google.protobuf.ByteString value)
Output only. Server-defined resource path for the target of the operation.
string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for target to set.public String getVerb()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getVerb in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getVerbBytes()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getVerbBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setVerb(String value)
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The verb to set.public OperationMetadata.Builder clearVerb()
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public OperationMetadata.Builder setVerbBytes(com.google.protobuf.ByteString value)
Output only. Name of the verb executed by the operation.
string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for verb to set.public String getStatusDetail()
Output only. Human-readable status of the operation, if any.
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getStatusDetail in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getStatusDetailBytes()
Output only. Human-readable status of the operation, if any.
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];getStatusDetailBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setStatusDetail(String value)
Output only. Human-readable status of the operation, if any.
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The statusDetail to set.public OperationMetadata.Builder clearStatusDetail()
Output only. Human-readable status of the operation, if any.
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];public OperationMetadata.Builder setStatusDetailBytes(com.google.protobuf.ByteString value)
Output only. Human-readable status of the operation, if any.
string status_detail = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for statusDetail to set.public boolean getCancelRequested()
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getCancelRequested in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setCancelRequested(boolean value)
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The cancelRequested to set.public OperationMetadata.Builder clearCancelRequested()
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`.
bool cancel_requested = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getApiVersion()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getApiVersion in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getApiVersionBytes()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getApiVersionBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setApiVersion(String value)
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The apiVersion to set.public OperationMetadata.Builder clearApiVersion()
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];public OperationMetadata.Builder setApiVersionBytes(com.google.protobuf.ByteString value)
Output only. API version used to start the operation.
string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for apiVersion to set.public final OperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>public final OperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>Copyright © 2023 Google LLC. All rights reserved.