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.datafusion.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 |
clearAdditionalStatus() |
OperationMetadata.Builder |
clearApiVersion()
API version used to start the operation.
|
OperationMetadata.Builder |
clearCreateTime()
The time the operation was created.
|
OperationMetadata.Builder |
clearEndTime()
The time the operation finished running.
|
OperationMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OperationMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OperationMetadata.Builder |
clearRequestedCancellation()
Identifies whether the user has requested cancellation
of the operation.
|
OperationMetadata.Builder |
clearStatusDetail()
Human-readable status of the operation if any.
|
OperationMetadata.Builder |
clearTarget()
Server-defined resource path for the target of the operation.
|
OperationMetadata.Builder |
clearVerb()
Name of the verb executed by the operation.
|
OperationMetadata.Builder |
clone() |
boolean |
containsAdditionalStatus(String key)
Map to hold any additional status info for the operation
If there is an accelerator being enabled/disabled/deleted, this will be
populated with accelerator name as key and status as
ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8; |
Map<String,String> |
getAdditionalStatus()
Deprecated.
|
int |
getAdditionalStatusCount()
Map to hold any additional status info for the operation
If there is an accelerator being enabled/disabled/deleted, this will be
populated with accelerator name as key and status as
ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8; |
Map<String,String> |
getAdditionalStatusMap()
Map to hold any additional status info for the operation
If there is an accelerator being enabled/disabled/deleted, this will be
populated with accelerator name as key and status as
ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8; |
String |
getAdditionalStatusOrDefault(String key,
String defaultValue)
Map to hold any additional status info for the operation
If there is an accelerator being enabled/disabled/deleted, this will be
populated with accelerator name as key and status as
ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8; |
String |
getAdditionalStatusOrThrow(String key)
Map to hold any additional status info for the operation
If there is an accelerator being enabled/disabled/deleted, this will be
populated with accelerator name as key and status as
ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8; |
String |
getApiVersion()
API version used to start the operation.
|
com.google.protobuf.ByteString |
getApiVersionBytes()
API version used to start the operation.
|
com.google.protobuf.Timestamp |
getCreateTime()
The time the operation was created.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The time the operation was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The time the operation was created.
|
OperationMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
The time the operation finished running.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
The time the operation finished running.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The time the operation finished running.
|
Map<String,String> |
getMutableAdditionalStatus()
Deprecated.
|
boolean |
getRequestedCancellation()
Identifies whether the user has requested cancellation
of the operation.
|
String |
getStatusDetail()
Human-readable status of the operation if any.
|
com.google.protobuf.ByteString |
getStatusDetailBytes()
Human-readable status of the operation if any.
|
String |
getTarget()
Server-defined resource path for the target of the operation.
|
com.google.protobuf.ByteString |
getTargetBytes()
Server-defined resource path for the target of the operation.
|
String |
getVerb()
Name of the verb executed by the operation.
|
com.google.protobuf.ByteString |
getVerbBytes()
Name of the verb executed by the operation.
|
boolean |
hasCreateTime()
The time the operation was created.
|
boolean |
hasEndTime()
The time the operation finished running.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
OperationMetadata.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The time the operation was created.
|
OperationMetadata.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
The time the operation finished running.
|
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 |
putAdditionalStatus(String key,
String value)
Map to hold any additional status info for the operation
If there is an accelerator being enabled/disabled/deleted, this will be
populated with accelerator name as key and status as
ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8; |
OperationMetadata.Builder |
putAllAdditionalStatus(Map<String,String> values)
Map to hold any additional status info for the operation
If there is an accelerator being enabled/disabled/deleted, this will be
populated with accelerator name as key and status as
ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8; |
OperationMetadata.Builder |
removeAdditionalStatus(String key)
Map to hold any additional status info for the operation
If there is an accelerator being enabled/disabled/deleted, this will be
populated with accelerator name as key and status as
ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8; |
OperationMetadata.Builder |
setApiVersion(String value)
API version used to start the operation.
|
OperationMetadata.Builder |
setApiVersionBytes(com.google.protobuf.ByteString value)
API version used to start the operation.
|
OperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time the operation was created.
|
OperationMetadata.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The time the operation was created.
|
OperationMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time the operation finished running.
|
OperationMetadata.Builder |
setEndTime(com.google.protobuf.Timestamp value)
The time the operation finished running.
|
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 |
setRequestedCancellation(boolean value)
Identifies whether the user has requested cancellation
of the operation.
|
OperationMetadata.Builder |
setStatusDetail(String value)
Human-readable status of the operation if any.
|
OperationMetadata.Builder |
setStatusDetailBytes(com.google.protobuf.ByteString value)
Human-readable status of the operation if any.
|
OperationMetadata.Builder |
setTarget(String value)
Server-defined resource path for the target of the operation.
|
OperationMetadata.Builder |
setTargetBytes(com.google.protobuf.ByteString value)
Server-defined resource path for the target of the operation.
|
OperationMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OperationMetadata.Builder |
setVerb(String value)
Name of the verb executed by the operation.
|
OperationMetadata.Builder |
setVerbBytes(com.google.protobuf.ByteString value)
Name of the verb executed by the operation.
|
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, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<OperationMetadata.Builder>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()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;hasCreateTime in interface OperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;getCreateTime in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;public OperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;public OperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;public OperationMetadata.Builder clearCreateTime()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The time the operation was created.
.google.protobuf.Timestamp create_time = 1;getCreateTimeOrBuilder in interface OperationMetadataOrBuilderpublic boolean hasEndTime()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;hasEndTime in interface OperationMetadataOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;getEndTime in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;public OperationMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;public OperationMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;public OperationMetadata.Builder clearEndTime()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The time the operation finished running.
.google.protobuf.Timestamp end_time = 2;getEndTimeOrBuilder in interface OperationMetadataOrBuilderpublic String getTarget()
Server-defined resource path for the target of the operation.
string target = 3;getTarget in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getTargetBytes()
Server-defined resource path for the target of the operation.
string target = 3;getTargetBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setTarget(String value)
Server-defined resource path for the target of the operation.
string target = 3;value - The target to set.public OperationMetadata.Builder clearTarget()
Server-defined resource path for the target of the operation.
string target = 3;public OperationMetadata.Builder setTargetBytes(com.google.protobuf.ByteString value)
Server-defined resource path for the target of the operation.
string target = 3;value - The bytes for target to set.public String getVerb()
Name of the verb executed by the operation.
string verb = 4;getVerb in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getVerbBytes()
Name of the verb executed by the operation.
string verb = 4;getVerbBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setVerb(String value)
Name of the verb executed by the operation.
string verb = 4;value - The verb to set.public OperationMetadata.Builder clearVerb()
Name of the verb executed by the operation.
string verb = 4;public OperationMetadata.Builder setVerbBytes(com.google.protobuf.ByteString value)
Name of the verb executed by the operation.
string verb = 4;value - The bytes for verb to set.public String getStatusDetail()
Human-readable status of the operation if any.
string status_detail = 5;getStatusDetail in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getStatusDetailBytes()
Human-readable status of the operation if any.
string status_detail = 5;getStatusDetailBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setStatusDetail(String value)
Human-readable status of the operation if any.
string status_detail = 5;value - The statusDetail to set.public OperationMetadata.Builder clearStatusDetail()
Human-readable status of the operation if any.
string status_detail = 5;public OperationMetadata.Builder setStatusDetailBytes(com.google.protobuf.ByteString value)
Human-readable status of the operation if any.
string status_detail = 5;value - The bytes for statusDetail to set.public boolean getRequestedCancellation()
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 requested_cancellation = 6;getRequestedCancellation in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setRequestedCancellation(boolean value)
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 requested_cancellation = 6;value - The requestedCancellation to set.public OperationMetadata.Builder clearRequestedCancellation()
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 requested_cancellation = 6;public String getApiVersion()
API version used to start the operation.
string api_version = 7;getApiVersion in interface OperationMetadataOrBuilderpublic com.google.protobuf.ByteString getApiVersionBytes()
API version used to start the operation.
string api_version = 7;getApiVersionBytes in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder setApiVersion(String value)
API version used to start the operation.
string api_version = 7;value - The apiVersion to set.public OperationMetadata.Builder clearApiVersion()
API version used to start the operation.
string api_version = 7;public OperationMetadata.Builder setApiVersionBytes(com.google.protobuf.ByteString value)
API version used to start the operation.
string api_version = 7;value - The bytes for apiVersion to set.public int getAdditionalStatusCount()
OperationMetadataOrBuilderMap to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8;getAdditionalStatusCount in interface OperationMetadataOrBuilderpublic boolean containsAdditionalStatus(String key)
Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8;containsAdditionalStatus in interface OperationMetadataOrBuilder@Deprecated public Map<String,String> getAdditionalStatus()
getAdditionalStatusMap() instead.getAdditionalStatus in interface OperationMetadataOrBuilderpublic Map<String,String> getAdditionalStatusMap()
Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8;getAdditionalStatusMap in interface OperationMetadataOrBuilderpublic String getAdditionalStatusOrDefault(String key, String defaultValue)
Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8;getAdditionalStatusOrDefault in interface OperationMetadataOrBuilderpublic String getAdditionalStatusOrThrow(String key)
Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8;getAdditionalStatusOrThrow in interface OperationMetadataOrBuilderpublic OperationMetadata.Builder clearAdditionalStatus()
public OperationMetadata.Builder removeAdditionalStatus(String key)
Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8;@Deprecated public Map<String,String> getMutableAdditionalStatus()
public OperationMetadata.Builder putAdditionalStatus(String key, String value)
Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8;public OperationMetadata.Builder putAllAdditionalStatus(Map<String,String> values)
Map to hold any additional status info for the operation If there is an accelerator being enabled/disabled/deleted, this will be populated with accelerator name as key and status as ENABLING, DISABLING or DELETING
map<string, string> additional_status = 8;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 © 2025 Google LLC. All rights reserved.