Enum Instance.ReadReplicasMode (2.1.1)

public enum Instance.ReadReplicasMode extends Enum<Instance.ReadReplicasMode> implements ProtocolMessageEnum

Read replicas mode.

Protobuf enum google.cloud.redis.v1beta1.Instance.ReadReplicasMode

Implements

ProtocolMessageEnum

Fields

NameDescription
READ_REPLICAS_DISABLED

If disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.

READ_REPLICAS_DISABLED = 1;

READ_REPLICAS_DISABLED_VALUE

If disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas.

READ_REPLICAS_DISABLED = 1;

READ_REPLICAS_ENABLED

If enabled, read endpoint will be provided and the instance can scale up and down the number of replicas.

READ_REPLICAS_ENABLED = 2;

READ_REPLICAS_ENABLED_VALUE

If enabled, read endpoint will be provided and the instance can scale up and down the number of replicas.

READ_REPLICAS_ENABLED = 2;

READ_REPLICAS_MODE_UNSPECIFIED

If not set, Memorystore for Redis backend will pick the mode based on other fields in the request.

READ_REPLICAS_MODE_UNSPECIFIED = 0;

READ_REPLICAS_MODE_UNSPECIFIED_VALUE

If not set, Memorystore for Redis backend will pick the mode based on other fields in the request.

READ_REPLICAS_MODE_UNSPECIFIED = 0;

UNRECOGNIZED

Methods

NameDescription
forNumber(int value)
getDescriptor()
getDescriptorForType()
getNumber()
getValueDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

(deprecated) Use #forNumber(int) instead.

valueOf(String name)
values()