public static enum Flight.FlightDescriptor.DescriptorType extends Enum<Flight.FlightDescriptor.DescriptorType> implements com.google.protobuf.ProtocolMessageEnum
Describes what type of descriptor is defined.Protobuf enum
arrow.flight.protocol.FlightDescriptor.DescriptorType
Enum Constant and Description |
---|
CMD
An opaque command to generate a dataset.
|
PATH
A named path that identifies a dataset.
|
UNKNOWN
Protobuf pattern, not used.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CMD_VALUE
An opaque command to generate a dataset.
|
static int |
PATH_VALUE
A named path that identifies a dataset.
|
static int |
UNKNOWN_VALUE
Protobuf pattern, not used.
|
Modifier and Type | Method and Description |
---|---|
static Flight.FlightDescriptor.DescriptorType |
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<Flight.FlightDescriptor.DescriptorType> |
internalGetValueMap() |
static Flight.FlightDescriptor.DescriptorType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Flight.FlightDescriptor.DescriptorType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Flight.FlightDescriptor.DescriptorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flight.FlightDescriptor.DescriptorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flight.FlightDescriptor.DescriptorType UNKNOWN
Protobuf pattern, not used.
UNKNOWN = 0;
public static final Flight.FlightDescriptor.DescriptorType PATH
A named path that identifies a dataset. A path is composed of a string or list of strings describing a particular dataset. This is conceptually similar to a path inside a filesystem.
PATH = 1;
public static final Flight.FlightDescriptor.DescriptorType CMD
An opaque command to generate a dataset.
CMD = 2;
public static final Flight.FlightDescriptor.DescriptorType UNRECOGNIZED
public static final int UNKNOWN_VALUE
Protobuf pattern, not used.
UNKNOWN = 0;
public static final int PATH_VALUE
A named path that identifies a dataset. A path is composed of a string or list of strings describing a particular dataset. This is conceptually similar to a path inside a filesystem.
PATH = 1;
public static final int CMD_VALUE
An opaque command to generate a dataset.
CMD = 2;
public static Flight.FlightDescriptor.DescriptorType[] values()
for (Flight.FlightDescriptor.DescriptorType c : Flight.FlightDescriptor.DescriptorType.values()) System.out.println(c);
public static Flight.FlightDescriptor.DescriptorType 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.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static Flight.FlightDescriptor.DescriptorType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Flight.FlightDescriptor.DescriptorType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Flight.FlightDescriptor.DescriptorType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Flight.FlightDescriptor.DescriptorType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 The Apache Software Foundation. All rights reserved.