public enum CrossClusterReplicationConfig.ClusterRole extends Enum<CrossClusterReplicationConfig.ClusterRole> implements ProtocolMessageEnum
The role of the cluster in cross cluster replication.
Protobuf enum google.cloud.redis.cluster.v1.CrossClusterReplicationConfig.ClusterRole
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
CLUSTER_ROLE_UNSPECIFIED | Cluster role is not set. The behavior is equivalent to NONE.
|
CLUSTER_ROLE_UNSPECIFIED_VALUE | Cluster role is not set. The behavior is equivalent to NONE.
|
NONE | This cluster does not participate in cross cluster replication. It is an independent cluster and does not replicate to or from any other clusters.
|
NONE_VALUE | This cluster does not participate in cross cluster replication. It is an independent cluster and does not replicate to or from any other clusters.
|
PRIMARY | A cluster that allows both reads and writes. Any data written to this cluster is also replicated to the attached secondary clusters.
|
PRIMARY_VALUE | A cluster that allows both reads and writes. Any data written to this cluster is also replicated to the attached secondary clusters.
|
SECONDARY | A cluster that allows only reads and replicates data from a primary cluster.
|
SECONDARY_VALUE | A cluster that allows only reads and replicates data from a primary cluster.
|
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() |