Enum SslConfig.SslMode (0.28.0)

public enum SslConfig.SslMode extends Enum<SslConfig.SslMode> implements ProtocolMessageEnum

SSL mode options.

Protobuf enum google.cloud.alloydb.v1.SslConfig.SslMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
ALLOW_UNENCRYPTED_AND_ENCRYPTED

SSL connections are optional. CA verification not enforced.

ALLOW_UNENCRYPTED_AND_ENCRYPTED = 4;

ALLOW_UNENCRYPTED_AND_ENCRYPTED_VALUE

SSL connections are optional. CA verification not enforced.

ALLOW_UNENCRYPTED_AND_ENCRYPTED = 4;

ENCRYPTED_ONLY

SSL connections are required. CA verification not enforced.

ENCRYPTED_ONLY = 5;

ENCRYPTED_ONLY_VALUE

SSL connections are required. CA verification not enforced.

ENCRYPTED_ONLY = 5;

SSL_MODE_ALLOW

SSL connections are optional. CA verification not enforced.

SSL_MODE_ALLOW = 1 [deprecated = true];

SSL_MODE_ALLOW_VALUE

SSL connections are optional. CA verification not enforced.

SSL_MODE_ALLOW = 1 [deprecated = true];

SSL_MODE_REQUIRE

SSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).

SSL_MODE_REQUIRE = 2 [deprecated = true];

SSL_MODE_REQUIRE_VALUE

SSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).

SSL_MODE_REQUIRE = 2 [deprecated = true];

SSL_MODE_UNSPECIFIED

SSL mode not specified. Defaults to ENCRYPTED_ONLY.

SSL_MODE_UNSPECIFIED = 0;

SSL_MODE_UNSPECIFIED_VALUE

SSL mode not specified. Defaults to ENCRYPTED_ONLY.

SSL_MODE_UNSPECIFIED = 0;

SSL_MODE_VERIFY_CA

SSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.

SSL_MODE_VERIFY_CA = 3 [deprecated = true];

SSL_MODE_VERIFY_CA_VALUE

SSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.

SSL_MODE_VERIFY_CA = 3 [deprecated = true];

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