public enum IndexType extends Enum<IndexType> implements com.google.protobuf.ProtocolMessageEnum
IndexType is used for custom indexing. It describes the type of an indexed field.Protobuf enum
google.logging.v2.IndexType| Enum Constant and Description |
|---|
INDEX_TYPE_INTEGER
The index is a integer-type index.
|
INDEX_TYPE_STRING
The index is a string-type index.
|
INDEX_TYPE_UNSPECIFIED
The index's type is unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INDEX_TYPE_INTEGER_VALUE
The index is a integer-type index.
|
static int |
INDEX_TYPE_STRING_VALUE
The index is a string-type index.
|
static int |
INDEX_TYPE_UNSPECIFIED_VALUE
The index's type is unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static IndexType |
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<IndexType> |
internalGetValueMap() |
static IndexType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static IndexType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexType INDEX_TYPE_UNSPECIFIED
The index's type is unspecified.
INDEX_TYPE_UNSPECIFIED = 0;public static final IndexType INDEX_TYPE_STRING
The index is a string-type index.
INDEX_TYPE_STRING = 1;public static final IndexType INDEX_TYPE_INTEGER
The index is a integer-type index.
INDEX_TYPE_INTEGER = 2;public static final IndexType UNRECOGNIZED
public static final int INDEX_TYPE_UNSPECIFIED_VALUE
The index's type is unspecified.
INDEX_TYPE_UNSPECIFIED = 0;public static final int INDEX_TYPE_STRING_VALUE
The index is a string-type index.
INDEX_TYPE_STRING = 1;public static final int INDEX_TYPE_INTEGER_VALUE
The index is a integer-type index.
INDEX_TYPE_INTEGER = 2;public static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
public static IndexType 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 IndexType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static IndexType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<IndexType> 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 IndexType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.