Enum Component

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Component>

    public enum Component
    extends Enum<Component>
    implements com.google.protobuf.ProtocolMessageEnum
     Cluster components that can be activated.
     
    Protobuf enum google.cloud.dataproc.v1.Component
    • Enum Constant Detail

      • COMPONENT_UNSPECIFIED

        public static final Component COMPONENT_UNSPECIFIED
         Unspecified component. Specifying this will cause Cluster creation to fail.
         
        COMPONENT_UNSPECIFIED = 0;
      • ANACONDA

        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;
      • DOCKER

        public static final Component DOCKER
         Docker
         
        DOCKER = 13;
      • DRUID

        public static final Component DRUID
         The Druid query engine. (alpha)
         
        DRUID = 9;
      • FLINK

        public static final Component FLINK
         Flink
         
        FLINK = 14;
      • HBASE

        public static final Component HBASE
         HBase. (beta)
         
        HBASE = 11;
      • HIVE_WEBHCAT

        public static final Component HIVE_WEBHCAT
         The Hive Web HCatalog (the REST service for accessing HCatalog).
         
        HIVE_WEBHCAT = 3;
      • HUDI

        public static final Component HUDI
         Hudi.
         
        HUDI = 18;
      • JUPYTER

        public static final Component JUPYTER
         The Jupyter Notebook.
         
        JUPYTER = 1;
      • PRESTO

        public static final Component PRESTO
         The Presto query engine.
         
        PRESTO = 6;
      • TRINO

        public static final Component TRINO
         The Trino query engine.
         
        TRINO = 17;
      • RANGER

        public static final Component RANGER
         The Ranger service.
         
        RANGER = 12;
      • SOLR

        public static final Component SOLR
         The Solr service.
         
        SOLR = 10;
      • ZEPPELIN

        public static final Component ZEPPELIN
         The Zeppelin notebook.
         
        ZEPPELIN = 4;
      • ZOOKEEPER

        public static final Component ZOOKEEPER
         The Zookeeper service.
         
        ZOOKEEPER = 8;
      • UNRECOGNIZED

        public static final Component UNRECOGNIZED
    • Field Detail

      • COMPONENT_UNSPECIFIED_VALUE

        public static final int COMPONENT_UNSPECIFIED_VALUE
         Unspecified component. Specifying this will cause Cluster creation to fail.
         
        COMPONENT_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • ANACONDA_VALUE

        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;
        See Also:
        Constant Field Values
      • DRUID_VALUE

        public static final int DRUID_VALUE
         The Druid query engine. (alpha)
         
        DRUID = 9;
        See Also:
        Constant Field Values
      • HBASE_VALUE

        public static final int HBASE_VALUE
         HBase. (beta)
         
        HBASE = 11;
        See Also:
        Constant Field Values
      • HIVE_WEBHCAT_VALUE

        public static final int HIVE_WEBHCAT_VALUE
         The Hive Web HCatalog (the REST service for accessing HCatalog).
         
        HIVE_WEBHCAT = 3;
        See Also:
        Constant Field Values
      • JUPYTER_VALUE

        public static final int JUPYTER_VALUE
         The Jupyter Notebook.
         
        JUPYTER = 1;
        See Also:
        Constant Field Values
      • PRESTO_VALUE

        public static final int PRESTO_VALUE
         The Presto query engine.
         
        PRESTO = 6;
        See Also:
        Constant Field Values
      • TRINO_VALUE

        public static final int TRINO_VALUE
         The Trino query engine.
         
        TRINO = 17;
        See Also:
        Constant Field Values
      • RANGER_VALUE

        public static final int RANGER_VALUE
         The Ranger service.
         
        RANGER = 12;
        See Also:
        Constant Field Values
      • SOLR_VALUE

        public static final int SOLR_VALUE
         The Solr service.
         
        SOLR = 10;
        See Also:
        Constant Field Values
      • ZEPPELIN_VALUE

        public static final int ZEPPELIN_VALUE
         The Zeppelin notebook.
         
        ZEPPELIN = 4;
        See Also:
        Constant Field Values
      • ZOOKEEPER_VALUE

        public static final int ZOOKEEPER_VALUE
         The Zookeeper service.
         
        ZOOKEEPER = 8;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static Component[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Component c : Component.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Component valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.google.protobuf.ProtocolMessageEnum
      • valueOf

        @Deprecated
        public static Component valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static Component forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • internalGetValueMap

        public static com.google.protobuf.Internal.EnumLiteMap<Component> internalGetValueMap()
      • getValueDescriptor

        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
        Specified by:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptor

        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
      • valueOf

        public static Component valueOf​(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null