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 Details

    • SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED

      public static final SizingOptimizationStrategy SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED
       Unspecified (default value).
       
      SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED = 0;
    • SIZING_OPTIMIZATION_STRATEGY_SAME_AS_SOURCE

      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;
    • SIZING_OPTIMIZATION_STRATEGY_MODERATE

      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;
    • SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE

      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;
    • UNRECOGNIZED

      public static final SizingOptimizationStrategy UNRECOGNIZED
  • Field Details

    • SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED_VALUE

      public static final int SIZING_OPTIMIZATION_STRATEGY_UNSPECIFIED_VALUE
       Unspecified (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_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;
      See Also:
    • SIZING_OPTIMIZATION_STRATEGY_MODERATE_VALUE

      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;
      See Also:
    • SIZING_OPTIMIZATION_STRATEGY_AGGRESSIVE_VALUE

      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;
      See Also:
  • Method Details

    • values

      public static SizingOptimizationStrategy[] 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

      public static SizingOptimizationStrategy valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static SizingOptimizationStrategy valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static SizingOptimizationStrategy forNumber(int value)
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null