Enum Restore.RestoreType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Restore.RestoreType>
- Enclosing class:
- Restore
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 Summary
Enum ConstantsEnum ConstantDescriptionThe service's metadata and configuration are restored.Only the service's metadata is restored.The restore type is unknown. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe service's metadata and configuration are restored.static final intOnly the service's metadata is restored.static final intThe restore type is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic Restore.RestoreTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Restore.RestoreType>static Restore.RestoreTypevalueOf(int value) Deprecated.static Restore.RestoreTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Restore.RestoreTypeReturns 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.
-
Enum Constant Details
-
RESTORE_TYPE_UNSPECIFIED
The restore type is unknown.
RESTORE_TYPE_UNSPECIFIED = 0; -
FULL
The service's metadata and configuration are restored.
FULL = 1; -
METADATA_ONLY
Only the service's metadata is restored.
METADATA_ONLY = 2; -
UNRECOGNIZED
-
-
Field Details
-
RESTORE_TYPE_UNSPECIFIED_VALUE
public static final int RESTORE_TYPE_UNSPECIFIED_VALUEThe restore type is unknown.
RESTORE_TYPE_UNSPECIFIED = 0;- See Also:
-
FULL_VALUE
public static final int FULL_VALUEThe service's metadata and configuration are restored.
FULL = 1;- See Also:
-
METADATA_ONLY_VALUE
public static final int METADATA_ONLY_VALUEOnly the service's metadata is restored.
METADATA_ONLY = 2;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-