public enum ConnectionType extends Enum<ConnectionType> implements ProtocolMessageEnum
Type of a PSC connection, for cluster access purpose.
Protobuf enum google.cloud.redis.cluster.v1beta1.ConnectionType
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
CONNECTION_TYPE_DISCOVERY | Cluster endpoint that will be used as for cluster topology discovery.
|
CONNECTION_TYPE_DISCOVERY_VALUE | Cluster endpoint that will be used as for cluster topology discovery.
|
CONNECTION_TYPE_PRIMARY | Cluster endpoint that will be used as primary endpoint to access primary.
|
CONNECTION_TYPE_PRIMARY_VALUE | Cluster endpoint that will be used as primary endpoint to access primary.
|
CONNECTION_TYPE_READER | Cluster endpoint that will be used as reader endpoint to access replicas.
|
CONNECTION_TYPE_READER_VALUE | Cluster endpoint that will be used as reader endpoint to access replicas.
|
CONNECTION_TYPE_UNSPECIFIED | Cluster endpoint Type is not set
|
CONNECTION_TYPE_UNSPECIFIED_VALUE | Cluster endpoint Type is not set
|
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() |