- 2.59.0 (latest)
 - 2.58.1
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.3
 - 2.52.3
 - 2.50.0
 - 2.49.0
 - 2.48.2
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.1
 - 2.43.2
 - 2.42.0
 - 2.41.0
 - 2.40.1
 - 2.39.0
 - 2.38.0
 - 2.37.0
 - 2.36.1
 - 2.34.0
 - 2.33.0
 - 2.32.1
 - 2.30.1
 - 2.29.1
 - 2.28.0
 - 2.27.1
 - 2.24.0
 - 2.23.0
 - 2.22.6
 - 2.21.0
 - 2.20.2
 - 2.19.0
 - 2.18.0
 - 2.17.2
 - 2.16.0
 - 2.15.1
 - 2.14.0
 - 2.13.1
 - 2.12.0
 - 2.11.3
 - 2.10.0
 - 2.9.3
 - 2.8.1
 - 2.7.1
 - 2.6.1
 - 2.5.1
 - 2.4.5
 - 2.3.0
 - 2.2.3
 - 2.1.10
 
public static final class CommonLongRunningOperationMetadata.Builder extends GeneratedMessageV3.Builder<CommonLongRunningOperationMetadata.Builder> implements CommonLongRunningOperationMetadataOrBuilder The message contains metadata that is common to all Storage Control
 long-running operations, present in its google.longrunning.Operation
 messages, and accessible via metadata.common_metadata.
 Protobuf type google.storage.control.v2.CommonLongRunningOperationMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CommonLongRunningOperationMetadata.BuilderImplements
CommonLongRunningOperationMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CommonLongRunningOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
build()
public CommonLongRunningOperationMetadata build()| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata | 
        |
buildPartial()
public CommonLongRunningOperationMetadata buildPartial()| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata | 
        |
clear()
public CommonLongRunningOperationMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
clearCreateTime()
public CommonLongRunningOperationMetadata.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 | 
CommonLongRunningOperationMetadata.Builder | 
        |
clearEndTime()
public CommonLongRunningOperationMetadata.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 | 
CommonLongRunningOperationMetadata.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public CommonLongRunningOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public CommonLongRunningOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
clearProgressPercent()
public CommonLongRunningOperationMetadata.Builder clearProgressPercent()Output only. The estimated progress of the operation in percentage [0, 100]. The value -1 means the progress is unknown.
 int32 progress_percent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        This builder for chaining.  | 
      
clearRequestedCancellation()
public CommonLongRunningOperationMetadata.Builder clearRequestedCancellation()Output only. Identifies whether the user has requested cancellation.
 bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        This builder for chaining.  | 
      
clearType()
public CommonLongRunningOperationMetadata.Builder clearType()Output only. The type of operation invoked.
 string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        This builder for chaining.  | 
      
clearUpdateTime()
public CommonLongRunningOperationMetadata.Builder clearUpdateTime()Output only. The time the operation was last modified.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
clone()
public CommonLongRunningOperationMetadata.Builder clone()| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
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 CommonLongRunningOperationMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata | 
        |
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 | 
        |
getProgressPercent()
public int getProgressPercent()Output only. The estimated progress of the operation in percentage [0, 100]. The value -1 means the progress is unknown.
 int32 progress_percent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
int | 
        The progressPercent.  | 
      
getRequestedCancellation()
public boolean getRequestedCancellation()Output only. Identifies whether the user has requested cancellation.
 bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        The requestedCancellation.  | 
      
getType()
public String getType()Output only. The type of operation invoked.
 string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The type.  | 
      
getTypeBytes()
public ByteString getTypeBytes()Output only. The type of operation invoked.
 string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for type.  | 
      
getUpdateTime()
public Timestamp getUpdateTime()Output only. The time the operation was last modified.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The updateTime.  | 
      
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. The time the operation was last modified.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The time the operation was last modified.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
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.  | 
      
hasUpdateTime()
public boolean hasUpdateTime()Output only. The time the operation was last modified.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the updateTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeCreateTime(Timestamp value)
public CommonLongRunningOperationMetadata.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 | 
CommonLongRunningOperationMetadata.Builder | 
        |
mergeEndTime(Timestamp value)
public CommonLongRunningOperationMetadata.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 | 
CommonLongRunningOperationMetadata.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CommonLongRunningOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public CommonLongRunningOperationMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
mergeFrom(CommonLongRunningOperationMetadata other)
public CommonLongRunningOperationMetadata.Builder mergeFrom(CommonLongRunningOperationMetadata other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        CommonLongRunningOperationMetadata | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CommonLongRunningOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
mergeUpdateTime(Timestamp value)
public CommonLongRunningOperationMetadata.Builder mergeUpdateTime(Timestamp value)Output only. The time the operation was last modified.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
setCreateTime(Timestamp value)
public CommonLongRunningOperationMetadata.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 | 
CommonLongRunningOperationMetadata.Builder | 
        |
setCreateTime(Timestamp.Builder builderForValue)
public CommonLongRunningOperationMetadata.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 | 
CommonLongRunningOperationMetadata.Builder | 
        |
setEndTime(Timestamp value)
public CommonLongRunningOperationMetadata.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 | 
CommonLongRunningOperationMetadata.Builder | 
        |
setEndTime(Timestamp.Builder builderForValue)
public CommonLongRunningOperationMetadata.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 | 
CommonLongRunningOperationMetadata.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public CommonLongRunningOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
setProgressPercent(int value)
public CommonLongRunningOperationMetadata.Builder setProgressPercent(int value)Output only. The estimated progress of the operation in percentage [0, 100]. The value -1 means the progress is unknown.
 int32 progress_percent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe progressPercent to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CommonLongRunningOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
setRequestedCancellation(boolean value)
public CommonLongRunningOperationMetadata.Builder setRequestedCancellation(boolean value)Output only. Identifies whether the user has requested cancellation.
 bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        booleanThe requestedCancellation to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        This builder for chaining.  | 
      
setType(String value)
public CommonLongRunningOperationMetadata.Builder setType(String value)Output only. The type of operation invoked.
 string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe type to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        This builder for chaining.  | 
      
setTypeBytes(ByteString value)
public CommonLongRunningOperationMetadata.Builder setTypeBytes(ByteString value)Output only. The type of operation invoked.
 string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for type to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final CommonLongRunningOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
setUpdateTime(Timestamp value)
public CommonLongRunningOperationMetadata.Builder setUpdateTime(Timestamp value)Output only. The time the operation was last modified.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |
setUpdateTime(Timestamp.Builder builderForValue)
public CommonLongRunningOperationMetadata.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. The time the operation was last modified.
 
 .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
CommonLongRunningOperationMetadata.Builder | 
        |