public static final class NodeGroupOperationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder> implements NodeGroupOperationMetadataOrBuilder
Metadata describing the node group operation.Protobuf type
google.cloud.dataproc.v1.NodeGroupOperationMetadatagetAllFields, 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<NodeGroupOperationMetadata.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>public NodeGroupOperationMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>public NodeGroupOperationMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic NodeGroupOperationMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic NodeGroupOperationMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic NodeGroupOperationMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>public NodeGroupOperationMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>public NodeGroupOperationMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>public NodeGroupOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodeGroupOperationMetadata.Builder>public NodeGroupOperationMetadata.Builder mergeFrom(NodeGroupOperationMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>public NodeGroupOperationMetadata.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<NodeGroupOperationMetadata.Builder>IOExceptionpublic String getNodeGroupId()
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNodeGroupId in interface NodeGroupOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getNodeGroupIdBytes()
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNodeGroupIdBytes in interface NodeGroupOperationMetadataOrBuilderpublic NodeGroupOperationMetadata.Builder setNodeGroupId(String value)
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The nodeGroupId to set.public NodeGroupOperationMetadata.Builder clearNodeGroupId()
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public NodeGroupOperationMetadata.Builder setNodeGroupIdBytes(com.google.protobuf.ByteString value)
Output only. Node group ID for the operation.
string node_group_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for nodeGroupId to set.public String getClusterUuid()
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getClusterUuid in interface NodeGroupOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getClusterUuidBytes()
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getClusterUuidBytes in interface NodeGroupOperationMetadataOrBuilderpublic NodeGroupOperationMetadata.Builder setClusterUuid(String value)
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The clusterUuid to set.public NodeGroupOperationMetadata.Builder clearClusterUuid()
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public NodeGroupOperationMetadata.Builder setClusterUuidBytes(com.google.protobuf.ByteString value)
Output only. Cluster UUID associated with the node group operation.
string cluster_uuid = 2 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStatus in interface NodeGroupOperationMetadataOrBuilderpublic ClusterOperationStatus getStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatus in interface NodeGroupOperationMetadataOrBuilderpublic NodeGroupOperationMetadata.Builder setStatus(ClusterOperationStatus value)
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder setStatus(ClusterOperationStatus.Builder builderForValue)
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder mergeStatus(ClusterOperationStatus value)
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder clearStatus()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatus.Builder getStatusBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterOperationStatusOrBuilder getStatusOrBuilder()
Output only. Current operation status.
.google.cloud.dataproc.v1.ClusterOperationStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusOrBuilder in interface NodeGroupOperationMetadataOrBuilderpublic List<ClusterOperationStatus> getStatusHistoryList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryList in interface NodeGroupOperationMetadataOrBuilderpublic int getStatusHistoryCount()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryCount in interface NodeGroupOperationMetadataOrBuilderpublic ClusterOperationStatus getStatusHistory(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistory in interface NodeGroupOperationMetadataOrBuilderpublic NodeGroupOperationMetadata.Builder setStatusHistory(int index, ClusterOperationStatus value)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder setStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder addStatusHistory(ClusterOperationStatus value)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder addStatusHistory(int index, ClusterOperationStatus value)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder addStatusHistory(ClusterOperationStatus.Builder builderForValue)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder addStatusHistory(int index, ClusterOperationStatus.Builder builderForValue)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder addAllStatusHistory(Iterable<? extends ClusterOperationStatus> values)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder clearStatusHistory()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder removeStatusHistory(int index)
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryOrBuilder in interface NodeGroupOperationMetadataOrBuilderpublic List<? extends ClusterOperationStatusOrBuilder> getStatusHistoryOrBuilderList()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryOrBuilderList in interface NodeGroupOperationMetadataOrBuilderpublic ClusterOperationStatus.Builder addStatusHistoryBuilder()
Output only. The previous operation status.
repeated .google.cloud.dataproc.v1.ClusterOperationStatus status_history = 4 [(.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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public int getOperationTypeValue()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
getOperationTypeValue in interface NodeGroupOperationMetadataOrBuilderpublic NodeGroupOperationMetadata.Builder setOperationTypeValue(int value)
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
value - The enum numeric value on the wire for operationType to set.public NodeGroupOperationMetadata.NodeGroupOperationType getOperationType()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
getOperationType in interface NodeGroupOperationMetadataOrBuilderpublic NodeGroupOperationMetadata.Builder setOperationType(NodeGroupOperationMetadata.NodeGroupOperationType value)
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
value - The operationType to set.public NodeGroupOperationMetadata.Builder clearOperationType()
The operation type.
.google.cloud.dataproc.v1.NodeGroupOperationMetadata.NodeGroupOperationType operation_type = 5;
public String getDescription()
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getDescription in interface NodeGroupOperationMetadataOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getDescriptionBytes in interface NodeGroupOperationMetadataOrBuilderpublic NodeGroupOperationMetadata.Builder setDescription(String value)
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The description to set.public NodeGroupOperationMetadata.Builder clearDescription()
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];public NodeGroupOperationMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Output only. Short description of operation.
string description = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for description to set.public int getLabelsCount()
NodeGroupOperationMetadataOrBuilderOutput only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];getLabelsCount in interface NodeGroupOperationMetadataOrBuilderpublic boolean containsLabels(String key)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
containsLabels in interface NodeGroupOperationMetadataOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface NodeGroupOperationMetadataOrBuilderpublic Map<String,String> getLabelsMap()
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsMap in interface NodeGroupOperationMetadataOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsOrDefault in interface NodeGroupOperationMetadataOrBuilderpublic String getLabelsOrThrow(String key)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLabelsOrThrow in interface NodeGroupOperationMetadataOrBuilderpublic NodeGroupOperationMetadata.Builder clearLabels()
public NodeGroupOperationMetadata.Builder removeLabels(String key)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
@Deprecated public Map<String,String> getMutableLabels()
public NodeGroupOperationMetadata.Builder putLabels(String key, String value)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public NodeGroupOperationMetadata.Builder putAllLabels(Map<String,String> values)
Output only. Labels associated with the operation.
map<string, string> labels = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.ProtocolStringList getWarningsList()
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getWarningsList in interface NodeGroupOperationMetadataOrBuilderpublic int getWarningsCount()
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getWarningsCount in interface NodeGroupOperationMetadataOrBuilderpublic String getWarnings(int index)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getWarnings in interface NodeGroupOperationMetadataOrBuilderindex - 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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getWarningsBytes in interface NodeGroupOperationMetadataOrBuilderindex - The index of the value to return.public NodeGroupOperationMetadata.Builder setWarnings(int index, String value)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];index - The index to set the value at.value - The warnings to set.public NodeGroupOperationMetadata.Builder addWarnings(String value)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The warnings to add.public NodeGroupOperationMetadata.Builder addAllWarnings(Iterable<String> values)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];values - The warnings to add.public NodeGroupOperationMetadata.Builder clearWarnings()
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];public NodeGroupOperationMetadata.Builder addWarningsBytes(com.google.protobuf.ByteString value)
Output only. Errors encountered during operation execution.
repeated string warnings = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes of the warnings to add.public final NodeGroupOperationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>public final NodeGroupOperationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<NodeGroupOperationMetadata.Builder>Copyright © 2024 Google LLC. All rights reserved.