- 4.52.0 (latest)
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class Cluster.Builder extends GeneratedMessageV3.Builder<Cluster.Builder> implements ClusterOrBuilder
Describes the identifying information, config, and status of a Dataproc cluster
Protobuf type google.cloud.dataproc.v1.Cluster
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cluster.BuilderImplements
ClusterOrBuilderMethods
addAllStatusHistory(Iterable<? extends ClusterStatus> values)
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];
Name | Description |
values | Iterable<? extends com.google.cloud.dataproc.v1.ClusterStatus> |
Type | Description |
Cluster.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cluster.Builder |
addStatusHistory(ClusterStatus value)
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];
Name | Description |
value | ClusterStatus |
Type | Description |
Cluster.Builder |
addStatusHistory(ClusterStatus.Builder builderForValue)
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];
Name | Description |
builderForValue | ClusterStatus.Builder |
Type | Description |
Cluster.Builder |
addStatusHistory(int index, ClusterStatus value)
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];
Name | Description |
index | int |
value | ClusterStatus |
Type | Description |
Cluster.Builder |
addStatusHistory(int index, ClusterStatus.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | ClusterStatus.Builder |
Type | Description |
Cluster.Builder |
addStatusHistoryBuilder()
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];
Type | Description |
ClusterStatus.Builder |
addStatusHistoryBuilder(int index)
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];
Name | Description |
index | int |
Type | Description |
ClusterStatus.Builder |
build()
public Cluster build()
Type | Description |
Cluster |
buildPartial()
public Cluster buildPartial()
Type | Description |
Cluster |
clear()
public Cluster.Builder clear()
Type | Description |
Cluster.Builder |
clearClusterName()
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];
Type | Description |
Cluster.Builder | This builder for chaining. |
clearClusterUuid()
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];
Type | Description |
Cluster.Builder | This builder for chaining. |
clearConfig()
public Cluster.Builder clearConfig()
Required. The cluster config. 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) = REQUIRED];
Type | Description |
Cluster.Builder |
clearField(Descriptors.FieldDescriptor field)
public Cluster.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Cluster.Builder |
clearLabels()
public Cluster.Builder clearLabels()
Type | Description |
Cluster.Builder |
clearMetrics()
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];
Type | Description |
Cluster.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Cluster.Builder |
clearProjectId()
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];
Type | Description |
Cluster.Builder | This builder for chaining. |
clearStatus()
public Cluster.Builder clearStatus()
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Cluster.Builder |
clearStatusHistory()
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];
Type | Description |
Cluster.Builder |
clone()
public Cluster.Builder clone()
Type | Description |
Cluster.Builder |
containsLabels(String key)
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. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
boolean |
getClusterName()
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];
Type | Description |
String | The clusterName. |
getClusterNameBytes()
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];
Type | Description |
ByteString | The bytes for clusterName. |
getClusterUuid()
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];
Type | Description |
String | The clusterUuid. |
getClusterUuidBytes()
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];
Type | Description |
ByteString | The bytes for clusterUuid. |
getConfig()
public ClusterConfig getConfig()
Required. The cluster config. 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) = REQUIRED];
Type | Description |
ClusterConfig | The config. |
getConfigBuilder()
public ClusterConfig.Builder getConfigBuilder()
Required. The cluster config. 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) = REQUIRED];
Type | Description |
ClusterConfig.Builder |
getConfigOrBuilder()
public ClusterConfigOrBuilder getConfigOrBuilder()
Required. The cluster config. 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) = REQUIRED];
Type | Description |
ClusterConfigOrBuilder |
getDefaultInstanceForType()
public Cluster getDefaultInstanceForType()
Type | Description |
Cluster |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Optional. The labels to associate with this cluster. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int |
getLabelsMap()
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. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
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. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
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. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
String |
getMetrics()
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];
Type | Description |
ClusterMetrics | The metrics. |
getMetricsBuilder()
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];
Type | Description |
ClusterMetrics.Builder |
getMetricsOrBuilder()
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];
Type | Description |
ClusterMetricsOrBuilder |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getProjectId()
public String getProjectId()
Required. The Google Cloud Platform project ID that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. The Google Cloud Platform project ID that the cluster belongs to.
string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for projectId. |
getStatus()
public ClusterStatus getStatus()
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ClusterStatus | The status. |
getStatusBuilder()
public ClusterStatus.Builder getStatusBuilder()
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ClusterStatus.Builder |
getStatusHistory(int index)
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];
Name | Description |
index | int |
Type | Description |
ClusterStatus |
getStatusHistoryBuilder(int index)
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];
Name | Description |
index | int |
Type | Description |
ClusterStatus.Builder |
getStatusHistoryBuilderList()
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];
Type | Description |
List<Builder> |
getStatusHistoryCount()
public int getStatusHistoryCount()
Output only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int |
getStatusHistoryList()
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];
Type | Description |
List<ClusterStatus> |
getStatusHistoryOrBuilder(int index)
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];
Name | Description |
index | int |
Type | Description |
ClusterStatusOrBuilder |
getStatusHistoryOrBuilderList()
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];
Type | Description |
List<? extends com.google.cloud.dataproc.v1.ClusterStatusOrBuilder> |
getStatusOrBuilder()
public ClusterStatusOrBuilder getStatusOrBuilder()
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ClusterStatusOrBuilder |
hasConfig()
public boolean hasConfig()
Required. The cluster config. 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) = REQUIRED];
Type | Description |
boolean | Whether the config field is set. |
hasMetrics()
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];
Type | Description |
boolean | Whether the metrics field is set. |
hasStatus()
public boolean hasStatus()
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
boolean | Whether the status field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeConfig(ClusterConfig value)
public Cluster.Builder mergeConfig(ClusterConfig value)
Required. The cluster config. 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) = REQUIRED];
Name | Description |
value | ClusterConfig |
Type | Description |
Cluster.Builder |
mergeFrom(Cluster other)
public Cluster.Builder mergeFrom(Cluster other)
Name | Description |
other | Cluster |
Type | Description |
Cluster.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cluster.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Cluster.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Cluster.Builder |
mergeMetrics(ClusterMetrics value)
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];
Name | Description |
value | ClusterMetrics |
Type | Description |
Cluster.Builder |
mergeStatus(ClusterStatus value)
public Cluster.Builder mergeStatus(ClusterStatus value)
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ClusterStatus |
Type | Description |
Cluster.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cluster.Builder |
putAllLabels(Map<String,String> values)
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. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
values | Map<String,String> |
Type | Description |
Cluster.Builder |
putLabels(String key, String value)
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. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
value | String |
Type | Description |
Cluster.Builder |
removeLabels(String key)
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. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a cluster.
map<string, string> labels = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
key | String |
Type | Description |
Cluster.Builder |
removeStatusHistory(int index)
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];
Name | Description |
index | int |
Type | Description |
Cluster.Builder |
setClusterName(String value)
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];
Name | Description |
value | String The clusterName to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setClusterNameBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for clusterName to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setClusterUuid(String value)
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];
Name | Description |
value | String The clusterUuid to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setClusterUuidBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for clusterUuid to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setConfig(ClusterConfig value)
public Cluster.Builder setConfig(ClusterConfig value)
Required. The cluster config. 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) = REQUIRED];
Name | Description |
value | ClusterConfig |
Type | Description |
Cluster.Builder |
setConfig(ClusterConfig.Builder builderForValue)
public Cluster.Builder setConfig(ClusterConfig.Builder builderForValue)
Required. The cluster config. 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) = REQUIRED];
Name | Description |
builderForValue | ClusterConfig.Builder |
Type | Description |
Cluster.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cluster.Builder |
setMetrics(ClusterMetrics value)
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];
Name | Description |
value | ClusterMetrics |
Type | Description |
Cluster.Builder |
setMetrics(ClusterMetrics.Builder builderForValue)
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];
Name | Description |
builderForValue | ClusterMetrics.Builder |
Type | Description |
Cluster.Builder |
setProjectId(String value)
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];
Name | Description |
value | String The projectId to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
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];
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
Cluster.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Cluster.Builder |
setStatus(ClusterStatus value)
public Cluster.Builder setStatus(ClusterStatus value)
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ClusterStatus |
Type | Description |
Cluster.Builder |
setStatus(ClusterStatus.Builder builderForValue)
public Cluster.Builder setStatus(ClusterStatus.Builder builderForValue)
Output only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
builderForValue | ClusterStatus.Builder |
Type | Description |
Cluster.Builder |
setStatusHistory(int index, ClusterStatus value)
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];
Name | Description |
index | int |
value | ClusterStatus |
Type | Description |
Cluster.Builder |
setStatusHistory(int index, ClusterStatus.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | ClusterStatus.Builder |
Type | Description |
Cluster.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cluster.Builder |