public interface ClusterOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
containsLabels(java.lang.String key)
Optional.
|
java.lang.String |
getClusterName()
Required.
|
ByteString |
getClusterNameBytes()
Required.
|
java.lang.String |
getClusterUuid()
Output-only.
|
ByteString |
getClusterUuidBytes()
Output-only.
|
ClusterConfig |
getConfig()
Required.
|
ClusterConfigOrBuilder |
getConfigOrBuilder()
Required.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Optional.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabelsMap()
Optional.
|
java.lang.String |
getLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
Optional.
|
java.lang.String |
getLabelsOrThrow(java.lang.String key)
Optional.
|
ClusterMetrics |
getMetrics()
Contains cluster daemon metrics such as HDFS and YARN stats.
|
ClusterMetricsOrBuilder |
getMetricsOrBuilder()
Contains cluster daemon metrics such as HDFS and YARN stats.
|
java.lang.String |
getProjectId()
Required.
|
ByteString |
getProjectIdBytes()
Required.
|
ClusterStatus |
getStatus()
Output-only.
|
ClusterStatus |
getStatusHistory(int index)
Output-only.
|
int |
getStatusHistoryCount()
Output-only.
|
java.util.List<ClusterStatus> |
getStatusHistoryList()
Output-only.
|
ClusterStatusOrBuilder |
getStatusHistoryOrBuilder(int index)
Output-only.
|
java.util.List<? extends ClusterStatusOrBuilder> |
getStatusHistoryOrBuilderList()
Output-only.
|
ClusterStatusOrBuilder |
getStatusOrBuilder()
Output-only.
|
boolean |
hasConfig()
Required.
|
boolean |
hasMetrics()
Contains cluster daemon metrics such as HDFS and YARN stats.
|
boolean |
hasStatus()
Output-only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getProjectId()
Required. The Google Cloud Platform project ID that the cluster belongs to.
string project_id = 1;
ByteString getProjectIdBytes()
Required. The Google Cloud Platform project ID that the cluster belongs to.
string project_id = 1;
java.lang.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;
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;
boolean hasConfig()
Required. The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3;
ClusterConfig getConfig()
Required. The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3;
ClusterConfigOrBuilder getConfigOrBuilder()
Required. The cluster config. Note that Cloud Dataproc may set default values, and values may change when clusters are updated.
.google.cloud.dataproc.v1.ClusterConfig config = 3;
int getLabelsCount()
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;
boolean containsLabels(java.lang.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;
@Deprecated java.util.Map<java.lang.String,java.lang.String> getLabels()
getLabelsMap()
instead.java.util.Map<java.lang.String,java.lang.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;
java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.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;
java.lang.String getLabelsOrThrow(java.lang.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;
boolean hasStatus()
Output-only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4;
ClusterStatus getStatus()
Output-only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4;
ClusterStatusOrBuilder getStatusOrBuilder()
Output-only. Cluster status.
.google.cloud.dataproc.v1.ClusterStatus status = 4;
java.util.List<ClusterStatus> getStatusHistoryList()
Output-only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
ClusterStatus getStatusHistory(int index)
Output-only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
int getStatusHistoryCount()
Output-only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
java.util.List<? extends ClusterStatusOrBuilder> getStatusHistoryOrBuilderList()
Output-only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
ClusterStatusOrBuilder getStatusHistoryOrBuilder(int index)
Output-only. The previous cluster status.
repeated .google.cloud.dataproc.v1.ClusterStatus status_history = 7;
java.lang.String getClusterUuid()
Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.
string cluster_uuid = 6;
ByteString getClusterUuidBytes()
Output-only. A cluster UUID (Unique Universal Identifier). Cloud Dataproc generates this value when it creates the cluster.
string cluster_uuid = 6;
boolean hasMetrics()
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;
ClusterMetrics getMetrics()
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;
ClusterMetricsOrBuilder getMetricsOrBuilder()
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;