public enum RestoreSourceType extends Enum<RestoreSourceType> implements com.google.protobuf.ProtocolMessageEnum
Indicates the type of the restore source.Protobuf enum
google.bigtable.admin.v2.RestoreSourceType| Enum Constant and Description |
|---|
BACKUP
A backup was used as the source of the restore.
|
RESTORE_SOURCE_TYPE_UNSPECIFIED
No restore associated.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BACKUP_VALUE
A backup was used as the source of the restore.
|
static int |
RESTORE_SOURCE_TYPE_UNSPECIFIED_VALUE
No restore associated.
|
| Modifier and Type | Method and Description |
|---|---|
static RestoreSourceType |
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<RestoreSourceType> |
internalGetValueMap() |
static RestoreSourceType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RestoreSourceType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RestoreSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestoreSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestoreSourceType RESTORE_SOURCE_TYPE_UNSPECIFIED
No restore associated.
RESTORE_SOURCE_TYPE_UNSPECIFIED = 0;public static final RestoreSourceType BACKUP
A backup was used as the source of the restore.
BACKUP = 1;public static final RestoreSourceType UNRECOGNIZED
public static final int RESTORE_SOURCE_TYPE_UNSPECIFIED_VALUE
No restore associated.
RESTORE_SOURCE_TYPE_UNSPECIFIED = 0;public static final int BACKUP_VALUE
A backup was used as the source of the restore.
BACKUP = 1;public static RestoreSourceType[] values()
for (RestoreSourceType c : RestoreSourceType.values()) System.out.println(c);
public static RestoreSourceType 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 RestoreSourceType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RestoreSourceType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RestoreSourceType> 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 RestoreSourceType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.