Enum Phase (0.6.0)

public enum Phase extends Enum<Phase> implements 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.

Protobuf enum google.cloud.databasecenter.v1beta.Phase

Implements

ProtocolMessageEnum

Static Fields

Name Description
PHASE_ANY

Any phase.

PHASE_ANY = 4;

PHASE_ANY_VALUE

Any phase.

PHASE_ANY = 4;

PHASE_UNSPECIFIED

Phase is unspecified.

PHASE_UNSPECIFIED = 0;

PHASE_UNSPECIFIED_VALUE

Phase is unspecified.

PHASE_UNSPECIFIED = 0;

PHASE_WEEK1

Week 1.

PHASE_WEEK1 = 1;

PHASE_WEEK1_VALUE

Week 1.

PHASE_WEEK1 = 1;

PHASE_WEEK2

Week 2.

PHASE_WEEK2 = 2;

PHASE_WEEK2_VALUE

Week 2.

PHASE_WEEK2 = 2;

PHASE_WEEK5

Week 5.

PHASE_WEEK5 = 3;

PHASE_WEEK5_VALUE

Week 5.

PHASE_WEEK5 = 3;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()