public enum SizingOptimizationStrategy extends Enum<SizingOptimizationStrategy> implements com.google.protobuf.ProtocolMessageEnum
The sizing optimization strategy preferences of a virtual machine. This strategy, in addition to actual usage data of the virtual machine, can help determine the recommended shape on the target platform.Protobuf enum
google.cloud.migrationcenter.v1.SizingOptimizationStrategy| Enum Constant and Description |
|---|
SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
Virtual machine sizing will match the reported usage, with little slack.
|
SIZING_OPTIMIZATION_STRATEGY_MODERATE
Virtual machine sizing will match the reported usage and shape, with some
slack.
|
SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE
No optimization applied.
|
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED
Unspecified (default value).
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE_VALUE
Virtual machine sizing will match the reported usage, with little slack.
|
static int |
SIZING_OPTIMIZATION_STRATEGY_MODERATE_VALUE
Virtual machine sizing will match the reported usage and shape, with some
slack.
|
static int |
SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE_VALUE
No optimization applied.
|
static int |
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED_VALUE
Unspecified (default value).
|
| Modifier and Type | Method and Description |
|---|---|
static SizingOptimizationStrategy |
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<SizingOptimizationStrategy> |
internalGetValueMap() |
static SizingOptimizationStrategy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SizingOptimizationStrategy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SizingOptimizationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SizingOptimizationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SizingOptimizationStrategy SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED
Unspecified (default value).
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED = 0;public static final SizingOptimizationStrategy SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE
No optimization applied. Virtual machine sizing matches as closely as possible the machine shape on the source site, not considering any actual performance data.
SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE = 1;public static final SizingOptimizationStrategy SIZING_OPTIMIZATION_STRATEGY_MODERATE
Virtual machine sizing will match the reported usage and shape, with some slack. This a good value to start with.
SIZING_OPTIMIZATION_STRATEGY_MODERATE = 2;public static final SizingOptimizationStrategy SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE
Virtual machine sizing will match the reported usage, with little slack. Using this option can help reduce costs.
SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE = 3;public static final SizingOptimizationStrategy UNRECOGNIZED
public static final int SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED_VALUE
Unspecified (default value).
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED = 0;public static final int SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE_VALUE
No optimization applied. Virtual machine sizing matches as closely as possible the machine shape on the source site, not considering any actual performance data.
SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE = 1;public static final int SIZING_OPTIMIZATION_STRATEGY_MODERATE_VALUE
Virtual machine sizing will match the reported usage and shape, with some slack. This a good value to start with.
SIZING_OPTIMIZATION_STRATEGY_MODERATE = 2;public static final int SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE_VALUE
Virtual machine sizing will match the reported usage, with little slack. Using this option can help reduce costs.
SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE = 3;public static SizingOptimizationStrategy[] values()
for (SizingOptimizationStrategy c : SizingOptimizationStrategy.values()) System.out.println(c);
public static SizingOptimizationStrategy 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 SizingOptimizationStrategy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SizingOptimizationStrategy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SizingOptimizationStrategy> 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 SizingOptimizationStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.