@Generated
public enum Phaseextends Enum<Phase>
implements com.google.protobuf.ProtocolMessageEnum
Phase/Week of the maintenance window. This is to capture order of
maintenance. For example, for Cloud SQL resources -
https://cloud.google.com/sql/docs/mysql/maintenance.
This enum can be extended to support DB Center specific phases for
recommendation plan generation.
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 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.
value - The numeric wire value of the corresponding enum entry.
Returns:
The enum associated with the given numeric wire value.
internalGetValueMap
public staticcom.google.protobuf.Internal.EnumLiteMap<Phase>internalGetValueMap()
getValueDescriptor
public finalcom.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()
Specified by:
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
getDescriptorForType
public finalcom.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()
Specified by:
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
getDescriptor
public staticcom.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()
valueOf
public staticPhasevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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.