Enum SqlMaintenanceType (0.1.0)

public enum SqlMaintenanceType extends Enum<SqlMaintenanceType> implements ProtocolMessageEnum

The type of maintenance to be performed on the instance.

Protobuf enum google.cloud.sql.v1.SqlMaintenanceType

Implements

ProtocolMessageEnum

Static Fields

Name Description
INSTANCE_MAINTENANCE

Indicates that a standalone instance is undergoing maintenance. The instance can be either a primary instance or a replica.

INSTANCE_MAINTENANCE = 1;

INSTANCE_MAINTENANCE_VALUE

Indicates that a standalone instance is undergoing maintenance. The instance can be either a primary instance or a replica.

INSTANCE_MAINTENANCE = 1;

INSTANCE_SELF_SERVICE_MAINTENANCE

Indicates that the standalone instance is undergoing maintenance, initiated by self-service. The instance can be either a primary instance or a replica.

INSTANCE_SELF_SERVICE_MAINTENANCE = 3;

INSTANCE_SELF_SERVICE_MAINTENANCE_VALUE

Indicates that the standalone instance is undergoing maintenance, initiated by self-service. The instance can be either a primary instance or a replica.

INSTANCE_SELF_SERVICE_MAINTENANCE = 3;

REPLICA_INCLUDED_MAINTENANCE

Indicates that the primary instance and all of its replicas, including cascading replicas, are undergoing maintenance. Maintenance is performed on groups of replicas first, followed by the primary instance.

REPLICA_INCLUDED_MAINTENANCE = 2;

REPLICA_INCLUDED_MAINTENANCE_VALUE

Indicates that the primary instance and all of its replicas, including cascading replicas, are undergoing maintenance. Maintenance is performed on groups of replicas first, followed by the primary instance.

REPLICA_INCLUDED_MAINTENANCE = 2;

REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE

Indicates that the primary instance and all of its replicas are undergoing maintenance, initiated by self-service. Maintenance is performed on groups of replicas first, followed by the primary instance.

REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE = 4;

REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE_VALUE

Indicates that the primary instance and all of its replicas are undergoing maintenance, initiated by self-service. Maintenance is performed on groups of replicas first, followed by the primary instance.

REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE = 4;

SQL_MAINTENANCE_TYPE_UNSPECIFIED

Maintenance type is unspecified.

SQL_MAINTENANCE_TYPE_UNSPECIFIED = 0;

SQL_MAINTENANCE_TYPE_UNSPECIFIED_VALUE

Maintenance type is unspecified.

SQL_MAINTENANCE_TYPE_UNSPECIFIED = 0;

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()