public static enum Instance.Type extends Enum<Instance.Type> implements com.google.protobuf.ProtocolMessageEnum
The type of the instance.Protobuf enum
google.bigtable.admin.v2.Instance.Type| Enum Constant and Description |
|---|
DEVELOPMENT
DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
a higher minimum node count than DEVELOPMENT.
|
PRODUCTION
An instance meant for production use.
|
TYPE_UNSPECIFIED
The type of the instance is unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEVELOPMENT_VALUE
DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces
a higher minimum node count than DEVELOPMENT.
|
static int |
PRODUCTION_VALUE
An instance meant for production use.
|
static int |
TYPE_UNSPECIFIED_VALUE
The type of the instance is unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.Type |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Instance.Type> |
internalGetValueMap() |
static Instance.Type |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.Type |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.Type TYPE_UNSPECIFIED
The type of the instance is unspecified. If set when creating an instance, a `PRODUCTION` instance will be created. If set when updating an instance, the type will be left unchanged.
TYPE_UNSPECIFIED = 0;public static final Instance.Type PRODUCTION
An instance meant for production use. `serve_nodes` must be set on the cluster.
PRODUCTION = 1;public static final Instance.Type DEVELOPMENT
DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces a higher minimum node count than DEVELOPMENT.
DEVELOPMENT = 2;public static final Instance.Type UNRECOGNIZED
public static final int TYPE_UNSPECIFIED_VALUE
The type of the instance is unspecified. If set when creating an instance, a `PRODUCTION` instance will be created. If set when updating an instance, the type will be left unchanged.
TYPE_UNSPECIFIED = 0;public static final int PRODUCTION_VALUE
An instance meant for production use. `serve_nodes` must be set on the cluster.
PRODUCTION = 1;public static final int DEVELOPMENT_VALUE
DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces a higher minimum node count than DEVELOPMENT.
DEVELOPMENT = 2;public static Instance.Type[] values()
for (Instance.Type c : Instance.Type.values()) System.out.println(c);
public static Instance.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Instance.Type valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.Type forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.Type> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Instance.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.