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 and Description |
|---|
AUTOMATIC_RESOURCES
Resources that to large degree are decided by Vertex AI, and require
only a modest additional configuration.
|
DEDICATED_RESOURCES
Resources that are dedicated to the
[DeployedModel][google.cloud.aiplatform.v1.DeployedModel], and that need
a higher degree of manual configuration.
|
DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED
Should not be used.
|
SHARED_RESOURCES
Resources that can be shared by multiple
[DeployedModels][google.cloud.aiplatform.v1.DeployedModel].
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTOMATIC_RESOURCES_VALUE
Resources that to large degree are decided by Vertex AI, and require
only a modest additional configuration.
|
static 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.
|
static int |
DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED_VALUE
Should not be used.
|
static int |
SHARED_RESOURCES_VALUE
Resources that can be shared by multiple
[DeployedModels][google.cloud.aiplatform.v1.DeployedModel].
|
| Modifier and Type | Method and Description |
|---|---|
static Model.DeploymentResourcesType |
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<Model.DeploymentResourcesType> |
internalGetValueMap() |
static Model.DeploymentResourcesType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Model.DeploymentResourcesType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Model.DeploymentResourcesType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Model.DeploymentResourcesType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.DeploymentResourcesType DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED
Should not be used.
DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED = 0;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;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;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;public static final Model.DeploymentResourcesType UNRECOGNIZED
public static final int DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED_VALUE
Should not be used.
DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED = 0;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;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;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;public static Model.DeploymentResourcesType[] values()
for (Model.DeploymentResourcesType c : Model.DeploymentResourcesType.values()) System.out.println(c);
public static Model.DeploymentResourcesType 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 Model.DeploymentResourcesType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Model.DeploymentResourcesType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Model.DeploymentResourcesType> 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 Model.DeploymentResourcesType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.