public static final class ClusterOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder> implements ClusterOperationMetadataOrBuilder
Metadata describing the operation.Protobuf type
google.cloud.dataproc.v1.ClusterOperationMetadatagetAllFields, 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<ClusterOperationMetadata.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.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<ClusterOperationMetadata.Builder>public ClusterOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ClusterOperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ClusterOperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ClusterOperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.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<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.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<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.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<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.Builder mergeFrom(ClusterOperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public ClusterOperationMetadata.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<ClusterOperationMetadata.Builder>IOExceptionpublic String getClusterName()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getClusterName in interface ClusterOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getClusterNameBytes()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getClusterNameBytes in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setClusterName(String value)
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The clusterName to set.public ClusterOperationMetadata.Builder clearClusterName()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];public ClusterOperationMetadata.Builder setClusterNameBytes(com.google.protobuf.ByteString value)
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for clusterName to set.public String getClusterUuid()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getClusterUuid in interface ClusterOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getClusterUuidBytes()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getClusterUuidBytes in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setClusterUuid(String value)
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The clusterUuid to set.public ClusterOperationMetadata.Builder clearClusterUuid()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];public ClusterOperationMetadata.Builder setClusterUuidBytes(com.google.protobuf.ByteString value)
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for clusterUuid to set.public boolean hasStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStatus in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatus in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setStatus(ClusterOperationStatus value)
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder setStatus(ClusterOperationStatus.Builder builderForValue)
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder mergeStatus(ClusterOperationStatus value)
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder clearStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatus.Builder getStatusBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusOrBuilder in interface ClusterOperationMetadataOrBuilderpublic List<ClusterOperationStatus> getStatusHistoryList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryList in interface ClusterOperationMetadataOrBuilderpublic int getStatusHistoryCount()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryCount in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationStatus getStatusHistory(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistory in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setStatusHistory(int index, ClusterOperationStatus value)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder setStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder addStatusHistory(ClusterOperationStatus value)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder addStatusHistory(int index, ClusterOperationStatus value)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder addStatusHistory(ClusterOperationStatus.Builder builderForValue)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder addStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder addAllStatusHistory(Iterable<? extends ClusterOperationStatus> values)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder clearStatusHistory()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder removeStatusHistory(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatus.Builder getStatusHistoryBuilder(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatusOrBuilder getStatusHistoryOrBuilder(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryOrBuilder in interface ClusterOperationMetadataOrBuilderpublic List<? extends ClusterOperationStatusOrBuilder> getStatusHistoryOrBuilderList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryOrBuilderList in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationStatus.Builder addStatusHistoryBuilder()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatus.Builder addStatusHistoryBuilder(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<ClusterOperationStatus.Builder> getStatusHistoryBuilderList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getOperationType()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getOperationType in interface ClusterOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getOperationTypeBytes()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];getOperationTypeBytes in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setOperationType(String value)
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The operationType to set.public ClusterOperationMetadata.Builder clearOperationType()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];public ClusterOperationMetadata.Builder setOperationTypeBytes(com.google.protobuf.ByteString value)
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for operationType to set.public String getDescription()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];getDescription in interface ClusterOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];getDescriptionBytes in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder setDescription(String value)
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The description to set.public ClusterOperationMetadata.Builder clearDescription()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];public ClusterOperationMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for description to set.public int getLabelsCount()
ClusterOperationMetadataOrBuilderOutput only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsCount in interface ClusterOperationMetadataOrBuilderpublic boolean containsLabels(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsLabels in interface ClusterOperationMetadataOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ClusterOperationMetadataOrBuilderpublic Map<String,String> getLabelsMap()
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsMap in interface ClusterOperationMetadataOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsOrDefault in interface ClusterOperationMetadataOrBuilderpublic String getLabelsOrThrow(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsOrThrow in interface ClusterOperationMetadataOrBuilderpublic ClusterOperationMetadata.Builder clearLabels()
public ClusterOperationMetadata.Builder removeLabels(String key)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
@Deprecated public Map<String,String> getMutableLabels()
public ClusterOperationMetadata.Builder putLabels(String key, String value)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder putAllLabels(Map<String,String> values)
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.ProtocolStringList getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getWarningsList in interface ClusterOperationMetadataOrBuilderpublic int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getWarningsCount in interface ClusterOperationMetadataOrBuilderpublic String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getWarnings in interface ClusterOperationMetadataOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getWarningsBytes(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getWarningsBytes in interface ClusterOperationMetadataOrBuilderindex - The index of the value to return.public ClusterOperationMetadata.Builder setWarnings(int index, String value)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];index - The index to set the value at.value - The warnings to set.public ClusterOperationMetadata.Builder addWarnings(String value)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The warnings to add.public ClusterOperationMetadata.Builder addAllWarnings(Iterable<String> values)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];values - The warnings to add.public ClusterOperationMetadata.Builder clearWarnings()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];public ClusterOperationMetadata.Builder addWarningsBytes(com.google.protobuf.ByteString value)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes of the warnings to add.public com.google.protobuf.ProtocolStringList getChildOperationIdsList()
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChildOperationIdsList in interface ClusterOperationMetadataOrBuilderpublic int getChildOperationIdsCount()
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChildOperationIdsCount in interface ClusterOperationMetadataOrBuilderpublic String getChildOperationIds(int index)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChildOperationIds in interface ClusterOperationMetadataOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getChildOperationIdsBytes(int index)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChildOperationIdsBytes in interface ClusterOperationMetadataOrBuilderindex - The index of the value to return.public ClusterOperationMetadata.Builder setChildOperationIds(int index, String value)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index to set the value at.value - The childOperationIds to set.public ClusterOperationMetadata.Builder addChildOperationIds(String value)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The childOperationIds to add.public ClusterOperationMetadata.Builder addAllChildOperationIds(Iterable<String> values)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
values - The childOperationIds to add.public ClusterOperationMetadata.Builder clearChildOperationIds()
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationMetadata.Builder addChildOperationIdsBytes(com.google.protobuf.ByteString value)
Output only. Child operation ids
repeated string child_operation_ids = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The bytes of the childOperationIds to add.public final ClusterOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>public final ClusterOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>Copyright © 2024 Google LLC. All rights reserved.