public static final class ClusterOperationMetadata.Builder extends GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder> implements ClusterOperationMetadataOrBuilder
Metadata describing the operation.Protobuf type
google.cloud.dataproc.v1.ClusterOperationMetadata
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ClusterOperationMetadata build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ClusterOperationMetadata buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ClusterOperationMetadata.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder mergeFrom(ClusterOperationMetadata other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public ClusterOperationMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ClusterOperationMetadata.Builder>
IOException
public String getClusterName()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterName
in interface ClusterOperationMetadataOrBuilder
public ByteString getClusterNameBytes()
Output only. Name of the cluster for the operation.
string cluster_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterNameBytes
in interface ClusterOperationMetadataOrBuilder
public 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(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 ClusterOperationMetadataOrBuilder
public ByteString getClusterUuidBytes()
Output only. Cluster UUID for the operation.
string cluster_uuid = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterUuidBytes
in interface ClusterOperationMetadataOrBuilder
public 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(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 ClusterOperationMetadataOrBuilder
public ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatus
in interface ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public ByteString getOperationTypeBytes()
Output only. The operation type.
string operation_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getOperationTypeBytes
in interface ClusterOperationMetadataOrBuilder
public 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(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 ClusterOperationMetadataOrBuilder
public ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDescriptionBytes
in interface ClusterOperationMetadataOrBuilder
public 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(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()
ClusterOperationMetadataOrBuilder
Output only. Labels associated with the operation
map<string, string> labels = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsCount
in interface ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public 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 ClusterOperationMetadataOrBuilder
public 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 ProtocolStringList getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWarningsList
in interface ClusterOperationMetadataOrBuilder
public int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWarningsCount
in interface ClusterOperationMetadataOrBuilder
public String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWarnings
in interface ClusterOperationMetadataOrBuilder
index
- The index of the element to return.public ByteString getWarningsBytes(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
getWarningsBytes
in interface ClusterOperationMetadataOrBuilder
index
- 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(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 final ClusterOperationMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
public final ClusterOperationMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ClusterOperationMetadata.Builder>
Copyright © 2022 Google LLC. All rights reserved.