Enum Model.DeploymentResourcesType

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

public static enum Model.DeploymentResourcesType extends Enum<Model.DeploymentResourcesType> implements com.google.protobuf.ProtocolMessageEnum
 Identifies a type of Model's prediction resources.
 
Protobuf enum google.cloud.aiplatform.v1.Model.DeploymentResourcesType
  • Enum Constant Details

    • DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED

      public static final Model.DeploymentResourcesType DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED
       Should not be used.
       
      DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED = 0;
    • DEDICATED_RESOURCES

      public static final Model.DeploymentResourcesType DEDICATED_RESOURCES
       Resources that are dedicated to the
       [DeployedModel][google.cloud.aiplatform.v1.DeployedModel], and that need
       a higher degree of manual configuration.
       
      DEDICATED_RESOURCES = 1;
    • AUTOMATIC_RESOURCES

      public static final Model.DeploymentResourcesType AUTOMATIC_RESOURCES
       Resources that to large degree are decided by Vertex AI, and require
       only a modest additional configuration.
       
      AUTOMATIC_RESOURCES = 2;
    • SHARED_RESOURCES

      public static final Model.DeploymentResourcesType SHARED_RESOURCES
       Resources that can be shared by multiple
       [DeployedModels][google.cloud.aiplatform.v1.DeployedModel]. A
       pre-configured
       [DeploymentResourcePool][google.cloud.aiplatform.v1.DeploymentResourcePool]
       is required.
       
      SHARED_RESOURCES = 3;
    • UNRECOGNIZED

      public static final Model.DeploymentResourcesType UNRECOGNIZED
  • Field Details

    • DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED_VALUE

      public static final int DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED_VALUE
       Should not be used.
       
      DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED = 0;
      See Also:
    • DEDICATED_RESOURCES_VALUE

      public static final int DEDICATED_RESOURCES_VALUE
       Resources that are dedicated to the
       [DeployedModel][google.cloud.aiplatform.v1.DeployedModel], and that need
       a higher degree of manual configuration.
       
      DEDICATED_RESOURCES = 1;
      See Also:
    • AUTOMATIC_RESOURCES_VALUE

      public static final int AUTOMATIC_RESOURCES_VALUE
       Resources that to large degree are decided by Vertex AI, and require
       only a modest additional configuration.
       
      AUTOMATIC_RESOURCES = 2;
      See Also:
    • SHARED_RESOURCES_VALUE

      public static final int SHARED_RESOURCES_VALUE
       Resources that can be shared by multiple
       [DeployedModels][google.cloud.aiplatform.v1.DeployedModel]. A
       pre-configured
       [DeploymentResourcePool][google.cloud.aiplatform.v1.DeploymentResourcePool]
       is required.
       
      SHARED_RESOURCES = 3;
      See Also:
  • Method Details

    • values

      public static Model.DeploymentResourcesType[] 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 Model.DeploymentResourcesType 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 Model.DeploymentResourcesType 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 Model.DeploymentResourcesType 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<Model.DeploymentResourcesType> 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 Model.DeploymentResourcesType 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