public static enum Search.IndexOptions extends Enum<Search.IndexOptions> implements com.google.protobuf.ProtocolMessageEnum
| Modifier and Type | Field and Description |
|---|---|
static int |
DOCS_VALUE |
static int |
FREQS_VALUE |
static int |
OFFSETS_VALUE |
static int |
POSITIONS_VALUE |
| Modifier and Type | Method and Description |
|---|---|
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<Search.IndexOptions> |
internalGetValueMap() |
static Search.IndexOptions |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Search.IndexOptions |
valueOf(int value) |
static Search.IndexOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Search.IndexOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Search.IndexOptions DOCS
public static final Search.IndexOptions FREQS
public static final Search.IndexOptions POSITIONS
public static final Search.IndexOptions OFFSETS
public static final int DOCS_VALUE
public static final int FREQS_VALUE
public static final int POSITIONS_VALUE
public static final int OFFSETS_VALUE
public static Search.IndexOptions[] values()
for (Search.IndexOptions c : Search.IndexOptions.values()) System.out.println(c);
public static Search.IndexOptions 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.ProtocolMessageEnumpublic static Search.IndexOptions valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Search.IndexOptions> 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 Search.IndexOptions valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All Rights Reserved.