public static final class Cluster.Builder extends GeneratedMessageV3.Builder<Cluster.Builder> implements ClusterOrBuilder
Describes the identifying information, config, and status of a Dataproc clusterProtobuf type
google.cloud.dataproc.v1.Cluster
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<Cluster.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<Cluster.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Cluster.Builder>
public Cluster.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Cluster.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Cluster.Builder>
public Cluster getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Cluster build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Cluster buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Cluster.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Cluster.Builder>
public Cluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Cluster.Builder>
public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Cluster.Builder>
public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Cluster.Builder>
public Cluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Cluster.Builder>
public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Cluster.Builder>
public Cluster.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Cluster.Builder>
public Cluster.Builder mergeFrom(Cluster other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Cluster.Builder>
public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Cluster.Builder>
IOException
public String getProjectId()
Required. The Google Cloud Platform project ID that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
getProjectId
in interface ClusterOrBuilder
public ByteString getProjectIdBytes()
Required. The Google Cloud Platform project ID that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
getProjectIdBytes
in interface ClusterOrBuilder
public Cluster.Builder setProjectId(String value)
Required. The Google Cloud Platform project ID that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The projectId to set.public Cluster.Builder clearProjectId()
Required. The Google Cloud Platform project ID that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
public Cluster.Builder setProjectIdBytes(ByteString value)
Required. The Google Cloud Platform project ID that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for projectId to set.public String getClusterName()
Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
getClusterName
in interface ClusterOrBuilder
public ByteString getClusterNameBytes()
Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
getClusterNameBytes
in interface ClusterOrBuilder
public Cluster.Builder setClusterName(String value)
Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The clusterName to set.public Cluster.Builder clearClusterName()
Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
public Cluster.Builder setClusterNameBytes(ByteString value)
Required. The cluster name. Cluster names within a project must be unique. Names of deleted clusters can be reused.
string cluster_name = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for clusterName to set.public boolean hasConfig()
Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = OPTIONAL];
hasConfig
in interface ClusterOrBuilder
public ClusterConfig getConfig()
Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = OPTIONAL];
getConfig
in interface ClusterOrBuilder
public Cluster.Builder setConfig(ClusterConfig value)
Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = OPTIONAL];
public Cluster.Builder setConfig(ClusterConfig.Builder builderForValue)
Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = OPTIONAL];
public Cluster.Builder mergeConfig(ClusterConfig value)
Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = OPTIONAL];
public Cluster.Builder clearConfig()
Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = OPTIONAL];
public ClusterConfig.Builder getConfigBuilder()
Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = OPTIONAL];
public ClusterConfigOrBuilder getConfigOrBuilder()
Optional. The cluster config for a cluster of Compute Engine Instances. Note that Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3 [(.google.api.field_behavior) = OPTIONAL];
getConfigOrBuilder
in interface ClusterOrBuilder
public boolean hasVirtualClusterConfig()
Optional. The virtual cluster config, used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster). Note that Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtualClusterConfig must be specified.
.google.cloud.dataproc.v1.VirtualClusterConfig virtual_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
hasVirtualClusterConfig
in interface ClusterOrBuilder
public VirtualClusterConfig getVirtualClusterConfig()
Optional. The virtual cluster config, used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster). Note that Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtualClusterConfig must be specified.
.google.cloud.dataproc.v1.VirtualClusterConfig virtual_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
getVirtualClusterConfig
in interface ClusterOrBuilder
public Cluster.Builder setVirtualClusterConfig(VirtualClusterConfig value)
Optional. The virtual cluster config, used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster). Note that Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtualClusterConfig must be specified.
.google.cloud.dataproc.v1.VirtualClusterConfig virtual_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
public Cluster.Builder setVirtualClusterConfig(VirtualClusterConfig.Builder builderForValue)
Optional. The virtual cluster config, used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster). Note that Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtualClusterConfig must be specified.
.google.cloud.dataproc.v1.VirtualClusterConfig virtual_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
public Cluster.Builder mergeVirtualClusterConfig(VirtualClusterConfig value)
Optional. The virtual cluster config, used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster). Note that Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtualClusterConfig must be specified.
.google.cloud.dataproc.v1.VirtualClusterConfig virtual_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
public Cluster.Builder clearVirtualClusterConfig()
Optional. The virtual cluster config, used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster). Note that Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtualClusterConfig must be specified.
.google.cloud.dataproc.v1.VirtualClusterConfig virtual_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
public VirtualClusterConfig.Builder getVirtualClusterConfigBuilder()
Optional. The virtual cluster config, used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster). Note that Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtualClusterConfig must be specified.
.google.cloud.dataproc.v1.VirtualClusterConfig virtual_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
public VirtualClusterConfigOrBuilder getVirtualClusterConfigOrBuilder()
Optional. The virtual cluster config, used when creating a Dataproc cluster that does not directly control the underlying compute resources, for example, when creating a [Dataproc-on-GKE cluster](https://cloud.google.com/dataproc/docs/concepts/jobs/dataproc-gke#create-a-dataproc-on-gke-cluster). Note that Dataproc may set default values, and values may change when clusters are updated. Exactly one of config or virtualClusterConfig must be specified.
.google.cloud.dataproc.v1.VirtualClusterConfig virtual_cluster_config = 10 [(.google.api.field_behavior) = OPTIONAL];
getVirtualClusterConfigOrBuilder
in interface ClusterOrBuilder
public int getLabelsCount()
ClusterOrBuilder
Optional. The labels to associate with this cluster. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
getLabelsCount
in interface ClusterOrBuilder
public boolean containsLabels(String key)
Optional. The labels to associate with this cluster. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
containsLabels
in interface ClusterOrBuilder
@Deprecated public Map<String,String> getLabels()
getLabelsMap()
instead.getLabels
in interface ClusterOrBuilder
public Map<String,String> getLabelsMap()
Optional. The labels to associate with this cluster. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
getLabelsMap
in interface ClusterOrBuilder
public String getLabelsOrDefault(String key, String defaultValue)
Optional. The labels to associate with this cluster. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrDefault
in interface ClusterOrBuilder
public String getLabelsOrThrow(String key)
Optional. The labels to associate with this cluster. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
getLabelsOrThrow
in interface ClusterOrBuilder
public Cluster.Builder clearLabels()
public Cluster.Builder removeLabels(String key)
Optional. The labels to associate with this cluster. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
@Deprecated public Map<String,String> getMutableLabels()
public Cluster.Builder putLabels(String key, String value)
Optional. The labels to associate with this cluster. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
public Cluster.Builder putAllLabels(Map<String,String> values)
Optional. The labels to associate with this cluster. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasStatus()
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStatus
in interface ClusterOrBuilder
public ClusterStatus getStatus()
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatus
in interface ClusterOrBuilder
public Cluster.Builder setStatus(ClusterStatus value)
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder setStatus(ClusterStatus.Builder builderForValue)
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder mergeStatus(ClusterStatus value)
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder clearStatus()
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterStatus.Builder getStatusBuilder()
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterStatusOrBuilder getStatusOrBuilder()
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusOrBuilder
in interface ClusterOrBuilder
public List<ClusterStatus> getStatusHistoryList()
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryList
in interface ClusterOrBuilder
public int getStatusHistoryCount()
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryCount
in interface ClusterOrBuilder
public ClusterStatus getStatusHistory(int index)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistory
in interface ClusterOrBuilder
public Cluster.Builder setStatusHistory(int index, ClusterStatus value)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder setStatusHistory(int index, ClusterStatus.Builder builderForValue)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder addStatusHistory(ClusterStatus value)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder addStatusHistory(int index, ClusterStatus value)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder addStatusHistory(ClusterStatus.Builder builderForValue)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder addStatusHistory(int index, ClusterStatus.Builder builderForValue)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder addAllStatusHistory(Iterable<? extends ClusterStatus> values)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder clearStatusHistory()
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder removeStatusHistory(int index)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterStatus.Builder getStatusHistoryBuilder(int index)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterStatusOrBuilder getStatusHistoryOrBuilder(int index)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryOrBuilder
in interface ClusterOrBuilder
public List<? extends ClusterStatusOrBuilder> getStatusHistoryOrBuilderList()
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStatusHistoryOrBuilderList
in interface ClusterOrBuilder
public ClusterStatus.Builder addStatusHistoryBuilder()
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterStatus.Builder addStatusHistoryBuilder(int index)
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<ClusterStatus.Builder> getStatusHistoryBuilderList()
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getClusterUuid()
Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.
string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterUuid
in interface ClusterOrBuilder
public ByteString getClusterUuidBytes()
Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.
string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getClusterUuidBytes
in interface ClusterOrBuilder
public Cluster.Builder setClusterUuid(String value)
Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.
string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The clusterUuid to set.public Cluster.Builder clearClusterUuid()
Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.
string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder setClusterUuidBytes(ByteString value)
Output only. A cluster UUID (Unique Universal Identifier). Dataproc generates this value when it creates the cluster.
string cluster_uuid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for clusterUuid to set.public boolean hasMetrics()
Output only. Contains cluster daemon metrics such as HDFS and YARN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.
.google.cloud.dataproc.v1.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasMetrics
in interface ClusterOrBuilder
public ClusterMetrics getMetrics()
Output only. Contains cluster daemon metrics such as HDFS and YARN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.
.google.cloud.dataproc.v1.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMetrics
in interface ClusterOrBuilder
public Cluster.Builder setMetrics(ClusterMetrics value)
Output only. Contains cluster daemon metrics such as HDFS and YARN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.
.google.cloud.dataproc.v1.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder setMetrics(ClusterMetrics.Builder builderForValue)
Output only. Contains cluster daemon metrics such as HDFS and YARN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.
.google.cloud.dataproc.v1.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder mergeMetrics(ClusterMetrics value)
Output only. Contains cluster daemon metrics such as HDFS and YARN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.
.google.cloud.dataproc.v1.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Cluster.Builder clearMetrics()
Output only. Contains cluster daemon metrics such as HDFS and YARN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.
.google.cloud.dataproc.v1.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterMetrics.Builder getMetricsBuilder()
Output only. Contains cluster daemon metrics such as HDFS and YARN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.
.google.cloud.dataproc.v1.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ClusterMetricsOrBuilder getMetricsOrBuilder()
Output only. Contains cluster daemon metrics such as HDFS and YARN stats. **Beta Feature**: This report is available for testing purposes only. It may be changed before final release.
.google.cloud.dataproc.v1.ClusterMetrics metrics = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getMetricsOrBuilder
in interface ClusterOrBuilder
public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Cluster.Builder>
public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Cluster.Builder>
Copyright © 2022 Google LLC. All rights reserved.