public static enum ScalingConfig.InstanceSize extends Enum<ScalingConfig.InstanceSize> implements com.google.protobuf.ProtocolMessageEnum
Metastore instance sizes.Protobuf enum
google.cloud.metastore.v1beta.ScalingConfig.InstanceSize| Enum Constant and Description |
|---|
EXTRA_LARGE
Extra large instance size, maps to a scaling factor of 6.0.
|
EXTRA_SMALL
Extra small instance size, maps to a scaling factor of 0.1.
|
INSTANCE_SIZE_UNSPECIFIED
Unspecified instance size
|
LARGE
Large instance size, maps to a scaling factor of 3.0.
|
MEDIUM
Medium instance size, maps to a scaling factor of 1.0.
|
SMALL
Small instance size, maps to a scaling factor of 0.5.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTRA_LARGE_VALUE
Extra large instance size, maps to a scaling factor of 6.0.
|
static int |
EXTRA_SMALL_VALUE
Extra small instance size, maps to a scaling factor of 0.1.
|
static int |
INSTANCE_SIZE_UNSPECIFIED_VALUE
Unspecified instance size
|
static int |
LARGE_VALUE
Large instance size, maps to a scaling factor of 3.0.
|
static int |
MEDIUM_VALUE
Medium instance size, maps to a scaling factor of 1.0.
|
static int |
SMALL_VALUE
Small instance size, maps to a scaling factor of 0.5.
|
| Modifier and Type | Method and Description |
|---|---|
static ScalingConfig.InstanceSize |
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<ScalingConfig.InstanceSize> |
internalGetValueMap() |
static ScalingConfig.InstanceSize |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ScalingConfig.InstanceSize |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ScalingConfig.InstanceSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScalingConfig.InstanceSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScalingConfig.InstanceSize INSTANCE_SIZE_UNSPECIFIED
Unspecified instance size
INSTANCE_SIZE_UNSPECIFIED = 0;public static final ScalingConfig.InstanceSize EXTRA_SMALL
Extra small instance size, maps to a scaling factor of 0.1.
EXTRA_SMALL = 1;public static final ScalingConfig.InstanceSize SMALL
Small instance size, maps to a scaling factor of 0.5.
SMALL = 2;public static final ScalingConfig.InstanceSize MEDIUM
Medium instance size, maps to a scaling factor of 1.0.
MEDIUM = 3;public static final ScalingConfig.InstanceSize LARGE
Large instance size, maps to a scaling factor of 3.0.
LARGE = 4;public static final ScalingConfig.InstanceSize EXTRA_LARGE
Extra large instance size, maps to a scaling factor of 6.0.
EXTRA_LARGE = 5;public static final ScalingConfig.InstanceSize UNRECOGNIZED
public static final int INSTANCE_SIZE_UNSPECIFIED_VALUE
Unspecified instance size
INSTANCE_SIZE_UNSPECIFIED = 0;public static final int EXTRA_SMALL_VALUE
Extra small instance size, maps to a scaling factor of 0.1.
EXTRA_SMALL = 1;public static final int SMALL_VALUE
Small instance size, maps to a scaling factor of 0.5.
SMALL = 2;public static final int MEDIUM_VALUE
Medium instance size, maps to a scaling factor of 1.0.
MEDIUM = 3;public static final int LARGE_VALUE
Large instance size, maps to a scaling factor of 3.0.
LARGE = 4;public static final int EXTRA_LARGE_VALUE
Extra large instance size, maps to a scaling factor of 6.0.
EXTRA_LARGE = 5;public static ScalingConfig.InstanceSize[] values()
for (ScalingConfig.InstanceSize c : ScalingConfig.InstanceSize.values()) System.out.println(c);
public static ScalingConfig.InstanceSize 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 ScalingConfig.InstanceSize valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ScalingConfig.InstanceSize forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ScalingConfig.InstanceSize> 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 ScalingConfig.InstanceSize valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.