Enum SizingOptimizationStrategy
java.lang.Object
java.lang.Enum<SizingOptimizationStrategy>
com.google.cloud.migrationcenter.v1.SizingOptimizationStrategy
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SizingOptimizationStrategy>
@Generated
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 Summary
Enum ConstantsEnum ConstantDescriptionVirtual machine sizing will match the reported usage, with little slack.Virtual machine sizing will match the reported usage and shape, with some slack.No optimization applied.Unspecified (default value). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intVirtual machine sizing will match the reported usage, with little slack.static final intVirtual machine sizing will match the reported usage and shape, with some slack.static final intNo optimization applied.static final intUnspecified (default value). -
Method Summary
Modifier and TypeMethodDescriptionstatic SizingOptimizationStrategyforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SizingOptimizationStrategy>static SizingOptimizationStrategyvalueOf(int value) Deprecated.static SizingOptimizationStrategyvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SizingOptimizationStrategyReturns 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.
-
Enum Constant Details
-
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED
Unspecified (default value).
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED = 0; -
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; -
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; -
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; -
UNRECOGNIZED
-
-
Field Details
-
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED_VALUE
public static final int SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED_VALUEUnspecified (default value).
SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED = 0;- See Also:
-
SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE_VALUE
public static final int SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE_VALUENo 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;- See Also:
-
SIZING_OPTIMIZATION_STRATEGY_MODERATE_VALUE
public static final int SIZING_OPTIMIZATION_STRATEGY_MODERATE_VALUEVirtual machine sizing will match the reported usage and shape, with some slack. This a good value to start with.
SIZING_OPTIMIZATION_STRATEGY_MODERATE = 2;- See Also:
-
SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE_VALUE
public static final int SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE_VALUEVirtual machine sizing will match the reported usage, with little slack. Using this option can help reduce costs.
SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<SizingOptimizationStrategy> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static SizingOptimizationStrategy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-