Enum SqlReplicationType (0.1.0)

public enum SqlReplicationType extends Enum<SqlReplicationType> implements ProtocolMessageEnum

Protobuf enum google.cloud.sql.v1beta4.SqlReplicationType

Implements

ProtocolMessageEnum

Static Fields

Name Description
ASYNCHRONOUS

The asynchronous replication mode for First Generation instances. It provides a slight performance gain, but if an outage occurs while this option is set to asynchronous, you can lose up to a few seconds of updates to your data.

ASYNCHRONOUS = 2;

ASYNCHRONOUS_VALUE

The asynchronous replication mode for First Generation instances. It provides a slight performance gain, but if an outage occurs while this option is set to asynchronous, you can lose up to a few seconds of updates to your data.

ASYNCHRONOUS = 2;

SQL_REPLICATION_TYPE_UNSPECIFIED

This is an unknown replication type for a Cloud SQL instance.

SQL_REPLICATION_TYPE_UNSPECIFIED = 0;

SQL_REPLICATION_TYPE_UNSPECIFIED_VALUE

This is an unknown replication type for a Cloud SQL instance.

SQL_REPLICATION_TYPE_UNSPECIFIED = 0;

SYNCHRONOUS

The synchronous replication mode for First Generation instances. It is the default value.

SYNCHRONOUS = 1;

SYNCHRONOUS_VALUE

The synchronous replication mode for First Generation instances. It is the default value.

SYNCHRONOUS = 1;

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