public enum MigrationState extends Enum<MigrationState> implements com.google.protobuf.ProtocolMessageEnum
States for a migration.Protobuf enum
google.datastore.admin.v1.MigrationState
Enum Constant and Description |
---|
COMPLETE
The migration is complete.
|
MIGRATION_STATE_UNSPECIFIED
Unspecified.
|
PAUSED
The migration is paused.
|
RUNNING
The migration is running.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
COMPLETE_VALUE
The migration is complete.
|
static int |
MIGRATION_STATE_UNSPECIFIED_VALUE
Unspecified.
|
static int |
PAUSED_VALUE
The migration is paused.
|
static int |
RUNNING_VALUE
The migration is running.
|
Modifier and Type | Method and Description |
---|---|
static MigrationState |
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<MigrationState> |
internalGetValueMap() |
static MigrationState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static MigrationState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static MigrationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationState MIGRATION_STATE_UNSPECIFIED
Unspecified.
MIGRATION_STATE_UNSPECIFIED = 0;
public static final MigrationState RUNNING
The migration is running.
RUNNING = 1;
public static final MigrationState PAUSED
The migration is paused.
PAUSED = 2;
public static final MigrationState COMPLETE
The migration is complete.
COMPLETE = 3;
public static final MigrationState UNRECOGNIZED
public static final int MIGRATION_STATE_UNSPECIFIED_VALUE
Unspecified.
MIGRATION_STATE_UNSPECIFIED = 0;
public static final int RUNNING_VALUE
The migration is running.
RUNNING = 1;
public static final int PAUSED_VALUE
The migration is paused.
PAUSED = 2;
public static final int COMPLETE_VALUE
The migration is complete.
COMPLETE = 3;
public static MigrationState[] values()
for (MigrationState c : MigrationState.values()) System.out.println(c);
public static MigrationState 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 MigrationState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static MigrationState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<MigrationState> 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 MigrationState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.