Enum Instance.InstanceType (0.44.0)

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

Type of an Instance

Protobuf enum google.cloud.alloydb.v1alpha.Instance.InstanceType

Implements

ProtocolMessageEnum

Static Fields

Name Description
INSTANCE_TYPE_UNSPECIFIED

The type of the instance is unknown.

INSTANCE_TYPE_UNSPECIFIED = 0;

INSTANCE_TYPE_UNSPECIFIED_VALUE

The type of the instance is unknown.

INSTANCE_TYPE_UNSPECIFIED = 0;

PRIMARY

PRIMARY instances support read and write operations.

PRIMARY = 1;

PRIMARY_VALUE

PRIMARY instances support read and write operations.

PRIMARY = 1;

READ_POOL

READ POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes.

  • Read pool of size 1 can only have zonal availability.
  • Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).

READ_POOL = 2;

READ_POOL_VALUE

READ POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes.

  • Read pool of size 1 can only have zonal availability.
  • Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).

READ_POOL = 2;

SECONDARY

SECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica

SECONDARY = 3;

SECONDARY_VALUE

SECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica

SECONDARY = 3;

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