public enum Component extends Enum<Component> implements ProtocolMessageEnum
Cluster components that can be activated.Protobuf enum
google.cloud.dataproc.v1.Component
Enum Constant and Description |
---|
ANACONDA
The Anaconda python distribution.
|
COMPONENT_UNSPECIFIED
Unspecified component.
|
DOCKER
Docker
|
DRUID
The Druid query engine.
|
FLINK
Flink
|
HBASE
HBase.
|
HIVE_WEBHCAT
The Hive Web HCatalog (the REST service for accessing HCatalog).
|
JUPYTER
The Jupyter Notebook.
|
PRESTO
The Presto query engine.
|
RANGER
The Ranger service.
|
SOLR
The Solr service.
|
UNRECOGNIZED |
ZEPPELIN
The Zeppelin notebook.
|
ZOOKEEPER
The Zookeeper service.
|
Modifier and Type | Field and Description |
---|---|
static int |
ANACONDA_VALUE
The Anaconda python distribution.
|
static int |
COMPONENT_UNSPECIFIED_VALUE
Unspecified component.
|
static int |
DOCKER_VALUE
Docker
|
static int |
DRUID_VALUE
The Druid query engine.
|
static int |
FLINK_VALUE
Flink
|
static int |
HBASE_VALUE
HBase.
|
static int |
HIVE_WEBHCAT_VALUE
The Hive Web HCatalog (the REST service for accessing HCatalog).
|
static int |
JUPYTER_VALUE
The Jupyter Notebook.
|
static int |
PRESTO_VALUE
The Presto query engine.
|
static int |
RANGER_VALUE
The Ranger service.
|
static int |
SOLR_VALUE
The Solr service.
|
static int |
ZEPPELIN_VALUE
The Zeppelin notebook.
|
static int |
ZOOKEEPER_VALUE
The Zookeeper service.
|
Modifier and Type | Method and Description |
---|---|
static Component |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Component> |
internalGetValueMap() |
static Component |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Component |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Component |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Component[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Component COMPONENT_UNSPECIFIED
Unspecified component. Specifying this will cause Cluster creation to fail.
COMPONENT_UNSPECIFIED = 0;
public static final Component ANACONDA
The Anaconda python distribution. The Anaconda component is not supported in the Dataproc <a href="/dataproc/docs/concepts/versioning/dataproc-release-2.0">2.0 image</a>. The 2.0 image is pre-installed with Miniconda.
ANACONDA = 5;
public static final Component DOCKER
Docker
DOCKER = 13;
public static final Component DRUID
The Druid query engine. (alpha)
DRUID = 9;
public static final Component FLINK
Flink
FLINK = 14;
public static final Component HBASE
HBase. (beta)
HBASE = 11;
public static final Component HIVE_WEBHCAT
The Hive Web HCatalog (the REST service for accessing HCatalog).
HIVE_WEBHCAT = 3;
public static final Component JUPYTER
The Jupyter Notebook.
JUPYTER = 1;
public static final Component PRESTO
The Presto query engine.
PRESTO = 6;
public static final Component RANGER
The Ranger service.
RANGER = 12;
public static final Component SOLR
The Solr service.
SOLR = 10;
public static final Component ZEPPELIN
The Zeppelin notebook.
ZEPPELIN = 4;
public static final Component ZOOKEEPER
The Zookeeper service.
ZOOKEEPER = 8;
public static final Component UNRECOGNIZED
public static final int COMPONENT_UNSPECIFIED_VALUE
Unspecified component. Specifying this will cause Cluster creation to fail.
COMPONENT_UNSPECIFIED = 0;
public static final int ANACONDA_VALUE
The Anaconda python distribution. The Anaconda component is not supported in the Dataproc <a href="/dataproc/docs/concepts/versioning/dataproc-release-2.0">2.0 image</a>. The 2.0 image is pre-installed with Miniconda.
ANACONDA = 5;
public static final int DOCKER_VALUE
Docker
DOCKER = 13;
public static final int DRUID_VALUE
The Druid query engine. (alpha)
DRUID = 9;
public static final int FLINK_VALUE
Flink
FLINK = 14;
public static final int HBASE_VALUE
HBase. (beta)
HBASE = 11;
public static final int HIVE_WEBHCAT_VALUE
The Hive Web HCatalog (the REST service for accessing HCatalog).
HIVE_WEBHCAT = 3;
public static final int JUPYTER_VALUE
The Jupyter Notebook.
JUPYTER = 1;
public static final int PRESTO_VALUE
The Presto query engine.
PRESTO = 6;
public static final int RANGER_VALUE
The Ranger service.
RANGER = 12;
public static final int SOLR_VALUE
The Solr service.
SOLR = 10;
public static final int ZEPPELIN_VALUE
The Zeppelin notebook.
ZEPPELIN = 4;
public static final int ZOOKEEPER_VALUE
The Zookeeper service.
ZOOKEEPER = 8;
public static Component[] values()
for (Component c : Component.values()) System.out.println(c);
public static Component valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Component valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Component forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Component> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Component valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.