
com.google.cloud.dataproc.v1.Component Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dataproc-v1 Show documentation
Show all versions of proto-google-cloud-dataproc-v1 Show documentation
PROTO library for proto-google-cloud-dataproc-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataproc/v1/shared.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.dataproc.v1;
/**
*
*
*
* Cluster components that can be activated.
*
*
* Protobuf enum {@code google.cloud.dataproc.v1.Component}
*/
public enum Component implements com.google.protobuf.ProtocolMessageEnum {
/**
*
*
*
* Unspecified component. Specifying this will cause Cluster creation to fail.
*
*
* COMPONENT_UNSPECIFIED = 0;
*/
COMPONENT_UNSPECIFIED(0),
/**
*
*
*
* The Anaconda component is no longer supported or applicable to
* [supported Dataproc on Compute Engine image versions]
* (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-version-clusters#supported-dataproc-image-versions).
* It cannot be activated on clusters created with supported Dataproc on
* Compute Engine image versions.
*
*
* ANACONDA = 5;
*/
ANACONDA(5),
/**
*
*
*
* Docker
*
*
* DOCKER = 13;
*/
DOCKER(13),
/**
*
*
*
* The Druid query engine. (alpha)
*
*
* DRUID = 9;
*/
DRUID(9),
/**
*
*
*
* Flink
*
*
* FLINK = 14;
*/
FLINK(14),
/**
*
*
*
* HBase. (beta)
*
*
* HBASE = 11;
*/
HBASE(11),
/**
*
*
*
* The Hive Web HCatalog (the REST service for accessing HCatalog).
*
*
* HIVE_WEBHCAT = 3;
*/
HIVE_WEBHCAT(3),
/**
*
*
*
* Hudi.
*
*
* HUDI = 18;
*/
HUDI(18),
/**
*
*
*
* The Jupyter Notebook.
*
*
* JUPYTER = 1;
*/
JUPYTER(1),
/**
*
*
*
* The Presto query engine.
*
*
* PRESTO = 6;
*/
PRESTO(6),
/**
*
*
*
* The Trino query engine.
*
*
* TRINO = 17;
*/
TRINO(17),
/**
*
*
*
* The Ranger service.
*
*
* RANGER = 12;
*/
RANGER(12),
/**
*
*
*
* The Solr service.
*
*
* SOLR = 10;
*/
SOLR(10),
/**
*
*
*
* The Zeppelin notebook.
*
*
* ZEPPELIN = 4;
*/
ZEPPELIN(4),
/**
*
*
*
* The Zookeeper service.
*
*
* ZOOKEEPER = 8;
*/
ZOOKEEPER(8),
UNRECOGNIZED(-1),
;
/**
*
*
*
* Unspecified component. Specifying this will cause Cluster creation to fail.
*
*
* COMPONENT_UNSPECIFIED = 0;
*/
public static final int COMPONENT_UNSPECIFIED_VALUE = 0;
/**
*
*
*
* The Anaconda component is no longer supported or applicable to
* [supported Dataproc on Compute Engine image versions]
* (https://cloud.google.com/dataproc/docs/concepts/versioning/dataproc-version-clusters#supported-dataproc-image-versions).
* It cannot be activated on clusters created with supported Dataproc on
* Compute Engine image versions.
*
*
* ANACONDA = 5;
*/
public static final int ANACONDA_VALUE = 5;
/**
*
*
*
* Docker
*
*
* DOCKER = 13;
*/
public static final int DOCKER_VALUE = 13;
/**
*
*
*
* The Druid query engine. (alpha)
*
*
* DRUID = 9;
*/
public static final int DRUID_VALUE = 9;
/**
*
*
*
* Flink
*
*
* FLINK = 14;
*/
public static final int FLINK_VALUE = 14;
/**
*
*
*
* HBase. (beta)
*
*
* HBASE = 11;
*/
public static final int HBASE_VALUE = 11;
/**
*
*
*
* The Hive Web HCatalog (the REST service for accessing HCatalog).
*
*
* HIVE_WEBHCAT = 3;
*/
public static final int HIVE_WEBHCAT_VALUE = 3;
/**
*
*
*
* Hudi.
*
*
* HUDI = 18;
*/
public static final int HUDI_VALUE = 18;
/**
*
*
*
* The Jupyter Notebook.
*
*
* JUPYTER = 1;
*/
public static final int JUPYTER_VALUE = 1;
/**
*
*
*
* The Presto query engine.
*
*
* PRESTO = 6;
*/
public static final int PRESTO_VALUE = 6;
/**
*
*
*
* The Trino query engine.
*
*
* TRINO = 17;
*/
public static final int TRINO_VALUE = 17;
/**
*
*
*
* The Ranger service.
*
*
* RANGER = 12;
*/
public static final int RANGER_VALUE = 12;
/**
*
*
*
* The Solr service.
*
*
* SOLR = 10;
*/
public static final int SOLR_VALUE = 10;
/**
*
*
*
* The Zeppelin notebook.
*
*
* ZEPPELIN = 4;
*/
public static final int ZEPPELIN_VALUE = 4;
/**
*
*
*
* The Zookeeper service.
*
*
* ZOOKEEPER = 8;
*/
public static final int ZOOKEEPER_VALUE = 8;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Component valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Component forNumber(int value) {
switch (value) {
case 0:
return COMPONENT_UNSPECIFIED;
case 5:
return ANACONDA;
case 13:
return DOCKER;
case 9:
return DRUID;
case 14:
return FLINK;
case 11:
return HBASE;
case 3:
return HIVE_WEBHCAT;
case 18:
return HUDI;
case 1:
return JUPYTER;
case 6:
return PRESTO;
case 17:
return TRINO;
case 12:
return RANGER;
case 10:
return SOLR;
case 4:
return ZEPPELIN;
case 8:
return ZOOKEEPER;
default:
return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Component findValueByNumber(int number) {
return Component.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
return com.google.cloud.dataproc.v1.SharedProto.getDescriptor().getEnumTypes().get(0);
}
private static final Component[] VALUES = values();
public static Component valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private Component(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:google.cloud.dataproc.v1.Component)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy