public static enum FieldOperationMetadata.IndexConfigDelta.ChangeType extends Enum<FieldOperationMetadata.IndexConfigDelta.ChangeType> implements com.google.protobuf.ProtocolMessageEnum
Specifies how the index is changing.Protobuf enum
google.firestore.admin.v1.FieldOperationMetadata.IndexConfigDelta.ChangeType| Enum Constant and Description |
|---|
ADD
The single field index is being added.
|
CHANGE_TYPE_UNSPECIFIED
The type of change is not specified or known.
|
REMOVE
The single field index is being removed.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_VALUE
The single field index is being added.
|
static int |
CHANGE_TYPE_UNSPECIFIED_VALUE
The type of change is not specified or known.
|
static int |
REMOVE_VALUE
The single field index is being removed.
|
| Modifier and Type | Method and Description |
|---|---|
static FieldOperationMetadata.IndexConfigDelta.ChangeType |
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<FieldOperationMetadata.IndexConfigDelta.ChangeType> |
internalGetValueMap() |
static FieldOperationMetadata.IndexConfigDelta.ChangeType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FieldOperationMetadata.IndexConfigDelta.ChangeType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FieldOperationMetadata.IndexConfigDelta.ChangeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldOperationMetadata.IndexConfigDelta.ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldOperationMetadata.IndexConfigDelta.ChangeType CHANGE_TYPE_UNSPECIFIED
The type of change is not specified or known.
CHANGE_TYPE_UNSPECIFIED = 0;public static final FieldOperationMetadata.IndexConfigDelta.ChangeType ADD
The single field index is being added.
ADD = 1;public static final FieldOperationMetadata.IndexConfigDelta.ChangeType REMOVE
The single field index is being removed.
REMOVE = 2;public static final FieldOperationMetadata.IndexConfigDelta.ChangeType UNRECOGNIZED
public static final int CHANGE_TYPE_UNSPECIFIED_VALUE
The type of change is not specified or known.
CHANGE_TYPE_UNSPECIFIED = 0;public static final int ADD_VALUE
The single field index is being added.
ADD = 1;public static final int REMOVE_VALUE
The single field index is being removed.
REMOVE = 2;public static FieldOperationMetadata.IndexConfigDelta.ChangeType[] values()
for (FieldOperationMetadata.IndexConfigDelta.ChangeType c : FieldOperationMetadata.IndexConfigDelta.ChangeType.values()) System.out.println(c);
public static FieldOperationMetadata.IndexConfigDelta.ChangeType 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 FieldOperationMetadata.IndexConfigDelta.ChangeType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FieldOperationMetadata.IndexConfigDelta.ChangeType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FieldOperationMetadata.IndexConfigDelta.ChangeType> 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 FieldOperationMetadata.IndexConfigDelta.ChangeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Google LLC. All rights reserved.