public static enum Index.AncestorMode extends Enum<Index.AncestorMode> implements com.google.protobuf.ProtocolMessageEnum
For an ordered index, specifies whether each of the entity's ancestors will be included.Protobuf enum
google.datastore.admin.v1.Index.AncestorMode
Enum Constant and Description |
---|
ALL_ANCESTORS
Include all the entity's ancestors in the index.
|
ANCESTOR_MODE_UNSPECIFIED
The ancestor mode is unspecified.
|
NONE
Do not include the entity's ancestors in the index.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ALL_ANCESTORS_VALUE
Include all the entity's ancestors in the index.
|
static int |
ANCESTOR_MODE_UNSPECIFIED_VALUE
The ancestor mode is unspecified.
|
static int |
NONE_VALUE
Do not include the entity's ancestors in the index.
|
Modifier and Type | Method and Description |
---|---|
static Index.AncestorMode |
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<Index.AncestorMode> |
internalGetValueMap() |
static Index.AncestorMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Index.AncestorMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Index.AncestorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Index.AncestorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Index.AncestorMode ANCESTOR_MODE_UNSPECIFIED
The ancestor mode is unspecified.
ANCESTOR_MODE_UNSPECIFIED = 0;
public static final Index.AncestorMode NONE
Do not include the entity's ancestors in the index.
NONE = 1;
public static final Index.AncestorMode ALL_ANCESTORS
Include all the entity's ancestors in the index.
ALL_ANCESTORS = 2;
public static final Index.AncestorMode UNRECOGNIZED
public static final int ANCESTOR_MODE_UNSPECIFIED_VALUE
The ancestor mode is unspecified.
ANCESTOR_MODE_UNSPECIFIED = 0;
public static final int NONE_VALUE
Do not include the entity's ancestors in the index.
NONE = 1;
public static final int ALL_ANCESTORS_VALUE
Include all the entity's ancestors in the index.
ALL_ANCESTORS = 2;
public static Index.AncestorMode[] values()
for (Index.AncestorMode c : Index.AncestorMode.values()) System.out.println(c);
public static Index.AncestorMode 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 Index.AncestorMode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Index.AncestorMode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Index.AncestorMode> 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 Index.AncestorMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.