Enum Reservation.DeploymentType

java.lang.Object
java.lang.Enum<Reservation.DeploymentType>
com.google.cloud.compute.v1.Reservation.DeploymentType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Reservation.DeploymentType>
Enclosing class:
Reservation

public static enum Reservation.DeploymentType extends Enum<Reservation.DeploymentType> implements com.google.protobuf.ProtocolMessageEnum
 Specifies the deployment strategy for this reservation.
 
Protobuf enum google.cloud.compute.v1.Reservation.DeploymentType
  • Enum Constant Details

    • UNDEFINED_DEPLOYMENT_TYPE

      public static final Reservation.DeploymentType UNDEFINED_DEPLOYMENT_TYPE
       A value indicating that the enum field is not set.
       
      UNDEFINED_DEPLOYMENT_TYPE = 0;
    • DENSE

      public static final Reservation.DeploymentType DENSE
       The reserved capacity is made up of densely deployed reservation blocks.
       
      DENSE = 64932607;
    • DEPLOYMENT_TYPE_UNSPECIFIED

      public static final Reservation.DeploymentType DEPLOYMENT_TYPE_UNSPECIFIED
      DEPLOYMENT_TYPE_UNSPECIFIED = 234847180;
    • UNRECOGNIZED

      public static final Reservation.DeploymentType UNRECOGNIZED
  • Field Details

    • UNDEFINED_DEPLOYMENT_TYPE_VALUE

      public static final int UNDEFINED_DEPLOYMENT_TYPE_VALUE
       A value indicating that the enum field is not set.
       
      UNDEFINED_DEPLOYMENT_TYPE = 0;
      See Also:
    • DENSE_VALUE

      public static final int DENSE_VALUE
       The reserved capacity is made up of densely deployed reservation blocks.
       
      DENSE = 64932607;
      See Also:
    • DEPLOYMENT_TYPE_UNSPECIFIED_VALUE

      public static final int DEPLOYMENT_TYPE_UNSPECIFIED_VALUE
      DEPLOYMENT_TYPE_UNSPECIFIED = 234847180;
      See Also:
  • Method Details

    • values

      public static Reservation.DeploymentType[] 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 Reservation.DeploymentType 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 Reservation.DeploymentType 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 Reservation.DeploymentType 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<Reservation.DeploymentType> 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 Reservation.DeploymentType 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