Enum Instance.Mode (0.4.0)

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

The mode config, which is used to enable/disable cluster mode.

Protobuf enum google.cloud.memorystore.v1.Instance.Mode

Implements

ProtocolMessageEnum

Static Fields

Name Description
CLUSTER

Instance is in cluster mode.

CLUSTER = 2;

CLUSTER_DISABLED

Cluster mode is disabled for the instance.

CLUSTER_DISABLED = 4;

CLUSTER_DISABLED_VALUE

Cluster mode is disabled for the instance.

CLUSTER_DISABLED = 4;

CLUSTER_VALUE

Instance is in cluster mode.

CLUSTER = 2;

MODE_UNSPECIFIED

Mode is not specified.

MODE_UNSPECIFIED = 0;

MODE_UNSPECIFIED_VALUE

Mode is not specified.

MODE_UNSPECIFIED = 0;

STANDALONE

Deprecated: Use CLUSTER_DISABLED instead.

STANDALONE = 1 [deprecated = true];

STANDALONE_VALUE

Deprecated: Use CLUSTER_DISABLED instead.

STANDALONE = 1 [deprecated = true];

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