Enum Instance.ReadReplicasMode (2.46.0)

publicenumInstance.ReadReplicasModeextendsEnum<Instance.ReadReplicasMode>implementsProtocolMessageEnum

Read replicas mode.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
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. Not valid for basic tier.

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. Not valid for basic tier.

READ_REPLICAS_ENABLED = 2;

READ_REPLICAS_MODE_UNSPECIFIED

If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.

READ_REPLICAS_MODE_UNSPECIFIED = 0;

READ_REPLICAS_MODE_UNSPECIFIED_VALUE

If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED.

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.