Enum SubResourceType (0.6.0)

public enum SubResourceType extends Enum<SubResourceType> implements ProtocolMessageEnum

SubResourceType refers to the sub-type of database resource.

Protobuf enum google.cloud.databasecenter.v1beta.SubResourceType

Implements

ProtocolMessageEnum

Static Fields

Name Description
SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY

A resource acting as an external primary.

SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY = 5;

SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY_VALUE

A resource acting as an external primary.

SUB_RESOURCE_TYPE_EXTERNAL_PRIMARY = 5;

SUB_RESOURCE_TYPE_OTHER

For the rest of the categories.

SUB_RESOURCE_TYPE_OTHER = 4;

SUB_RESOURCE_TYPE_OTHER_VALUE

For the rest of the categories.

SUB_RESOURCE_TYPE_OTHER = 4;

SUB_RESOURCE_TYPE_PRIMARY

A resource acting as a primary.

SUB_RESOURCE_TYPE_PRIMARY = 1;

SUB_RESOURCE_TYPE_PRIMARY_VALUE

A resource acting as a primary.

SUB_RESOURCE_TYPE_PRIMARY = 1;

SUB_RESOURCE_TYPE_READ_REPLICA

A resource acting as a read-replica.

SUB_RESOURCE_TYPE_READ_REPLICA = 3;

SUB_RESOURCE_TYPE_READ_REPLICA_VALUE

A resource acting as a read-replica.

SUB_RESOURCE_TYPE_READ_REPLICA = 3;

SUB_RESOURCE_TYPE_SECONDARY

A resource acting as a secondary.

SUB_RESOURCE_TYPE_SECONDARY = 2;

SUB_RESOURCE_TYPE_SECONDARY_VALUE

A resource acting as a secondary.

SUB_RESOURCE_TYPE_SECONDARY = 2;

SUB_RESOURCE_TYPE_UNSPECIFIED

Unspecified.

SUB_RESOURCE_TYPE_UNSPECIFIED = 0;

SUB_RESOURCE_TYPE_UNSPECIFIED_VALUE

Unspecified.

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