public static enum HiveMetastore.ResourceType extends Enum<HiveMetastore.ResourceType> implements com.google.protobuf.ProtocolMessageEnum
org.apache.hadoop.hive.metastore.grpc.ResourceType| Enum Constant and Description |
|---|
RESOURCE_TYPE_ARCHIVE
RESOURCE_TYPE_ARCHIVE = 3; |
RESOURCE_TYPE_FILE
RESOURCE_TYPE_FILE = 2; |
RESOURCE_TYPE_JAR
RESOURCE_TYPE_JAR = 1; |
RESOURCE_TYPE_UNSPECIFIED
RESOURCE_TYPE_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
RESOURCE_TYPE_ARCHIVE_VALUE
RESOURCE_TYPE_ARCHIVE = 3; |
static int |
RESOURCE_TYPE_FILE_VALUE
RESOURCE_TYPE_FILE = 2; |
static int |
RESOURCE_TYPE_JAR_VALUE
RESOURCE_TYPE_JAR = 1; |
static int |
RESOURCE_TYPE_UNSPECIFIED_VALUE
RESOURCE_TYPE_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static HiveMetastore.ResourceType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<HiveMetastore.ResourceType> |
internalGetValueMap() |
static HiveMetastore.ResourceType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HiveMetastore.ResourceType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HiveMetastore.ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HiveMetastore.ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HiveMetastore.ResourceType RESOURCE_TYPE_UNSPECIFIED
RESOURCE_TYPE_UNSPECIFIED = 0;public static final HiveMetastore.ResourceType RESOURCE_TYPE_JAR
RESOURCE_TYPE_JAR = 1;public static final HiveMetastore.ResourceType RESOURCE_TYPE_FILE
RESOURCE_TYPE_FILE = 2;public static final HiveMetastore.ResourceType RESOURCE_TYPE_ARCHIVE
RESOURCE_TYPE_ARCHIVE = 3;public static final HiveMetastore.ResourceType UNRECOGNIZED
public static final int RESOURCE_TYPE_UNSPECIFIED_VALUE
RESOURCE_TYPE_UNSPECIFIED = 0;public static final int RESOURCE_TYPE_JAR_VALUE
RESOURCE_TYPE_JAR = 1;public static final int RESOURCE_TYPE_FILE_VALUE
RESOURCE_TYPE_FILE = 2;public static final int RESOURCE_TYPE_ARCHIVE_VALUE
RESOURCE_TYPE_ARCHIVE = 3;public static HiveMetastore.ResourceType[] values()
for (HiveMetastore.ResourceType c : HiveMetastore.ResourceType.values()) System.out.println(c);
public static HiveMetastore.ResourceType 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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static HiveMetastore.ResourceType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static HiveMetastore.ResourceType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HiveMetastore.ResourceType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static HiveMetastore.ResourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 The Apache Software Foundation. All rights reserved.