Enum Instance.AvailabilityType (0.41.0)

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

The Availability type of an instance. Potential values:

  • ZONAL: The instance serves data from only one zone. Outages in that zone affect instance availability.
  • REGIONAL: The instance can serve data from more than one zone in a region (it is highly available).

Protobuf enum google.cloud.alloydb.v1.Instance.AvailabilityType

Implements

ProtocolMessageEnum

Static Fields

Name Description
AVAILABILITY_TYPE_UNSPECIFIED

This is an unknown Availability type.

AVAILABILITY_TYPE_UNSPECIFIED = 0;

AVAILABILITY_TYPE_UNSPECIFIED_VALUE

This is an unknown Availability type.

AVAILABILITY_TYPE_UNSPECIFIED = 0;

REGIONAL

Regional (or Highly) available instance.

REGIONAL = 2;

REGIONAL_VALUE

Regional (or Highly) available instance.

REGIONAL = 2;

UNRECOGNIZED
ZONAL

Zonal available instance.

ZONAL = 1;

ZONAL_VALUE

Zonal available instance.

ZONAL = 1;

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