public static enum Restore.RestoreType extends Enum<Restore.RestoreType> implements com.google.protobuf.ProtocolMessageEnum
The type of restore. If unspecified, defaults to `METADATA_ONLY`.Protobuf enum
google.cloud.metastore.v1beta.Restore.RestoreType| Enum Constant and Description |
|---|
FULL
The service's metadata and configuration are restored.
|
METADATA_ONLY
Only the service's metadata is restored.
|
RESTORE_TYPE_UNSPECIFIED
The restore type is unknown.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FULL_VALUE
The service's metadata and configuration are restored.
|
static int |
METADATA_ONLY_VALUE
Only the service's metadata is restored.
|
static int |
RESTORE_TYPE_UNSPECIFIED_VALUE
The restore type is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static Restore.RestoreType |
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<Restore.RestoreType> |
internalGetValueMap() |
static Restore.RestoreType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Restore.RestoreType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Restore.RestoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Restore.RestoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Restore.RestoreType RESTORE_TYPE_UNSPECIFIED
The restore type is unknown.
RESTORE_TYPE_UNSPECIFIED = 0;public static final Restore.RestoreType FULL
The service's metadata and configuration are restored.
FULL = 1;public static final Restore.RestoreType METADATA_ONLY
Only the service's metadata is restored.
METADATA_ONLY = 2;public static final Restore.RestoreType UNRECOGNIZED
public static final int RESTORE_TYPE_UNSPECIFIED_VALUE
The restore type is unknown.
RESTORE_TYPE_UNSPECIFIED = 0;public static final int FULL_VALUE
The service's metadata and configuration are restored.
FULL = 1;public static final int METADATA_ONLY_VALUE
Only the service's metadata is restored.
METADATA_ONLY = 2;public static Restore.RestoreType[] values()
for (Restore.RestoreType c : Restore.RestoreType.values()) System.out.println(c);
public static Restore.RestoreType 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 Restore.RestoreType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Restore.RestoreType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Restore.RestoreType> 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 Restore.RestoreType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.