Enum ConnectionType (0.29.0)

public enum ConnectionType extends Enum<ConnectionType> implements ProtocolMessageEnum

Type of a PSC connection, for cluster access purpose.

Protobuf enum google.cloud.redis.cluster.v1.ConnectionType

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONNECTION_TYPE_DISCOVERY

Cluster endpoint that will be used as for cluster topology discovery.

CONNECTION_TYPE_DISCOVERY = 1;

CONNECTION_TYPE_DISCOVERY_VALUE

Cluster endpoint that will be used as for cluster topology discovery.

CONNECTION_TYPE_DISCOVERY = 1;

CONNECTION_TYPE_PRIMARY

Cluster endpoint that will be used as primary endpoint to access primary.

CONNECTION_TYPE_PRIMARY = 2;

CONNECTION_TYPE_PRIMARY_VALUE

Cluster endpoint that will be used as primary endpoint to access primary.

CONNECTION_TYPE_PRIMARY = 2;

CONNECTION_TYPE_READER

Cluster endpoint that will be used as reader endpoint to access replicas.

CONNECTION_TYPE_READER = 3;

CONNECTION_TYPE_READER_VALUE

Cluster endpoint that will be used as reader endpoint to access replicas.

CONNECTION_TYPE_READER = 3;

CONNECTION_TYPE_UNSPECIFIED

Cluster endpoint Type is not set

CONNECTION_TYPE_UNSPECIFIED = 0;

CONNECTION_TYPE_UNSPECIFIED_VALUE

Cluster endpoint Type is not set

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