Enum ConnectionType (0.1.0)

public enum ConnectionType extends Enum<ConnectionType> implements ProtocolMessageEnum

Type of a PSC connection

Protobuf enum google.cloud.memorystore.v1beta.ConnectionType

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONNECTION_TYPE_DISCOVERY

Connection that will be used for topology discovery.

CONNECTION_TYPE_DISCOVERY = 1;

CONNECTION_TYPE_DISCOVERY_VALUE

Connection that will be used for topology discovery.

CONNECTION_TYPE_DISCOVERY = 1;

CONNECTION_TYPE_PRIMARY

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

CONNECTION_TYPE_PRIMARY = 2;

CONNECTION_TYPE_PRIMARY_VALUE

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

CONNECTION_TYPE_PRIMARY = 2;

CONNECTION_TYPE_READER

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

CONNECTION_TYPE_READER = 3;

CONNECTION_TYPE_READER_VALUE

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

CONNECTION_TYPE_READER = 3;

CONNECTION_TYPE_UNSPECIFIED

Connection Type is not set

CONNECTION_TYPE_UNSPECIFIED = 0;

CONNECTION_TYPE_UNSPECIFIED_VALUE

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