public static enum RecommendSpecResponse.Recommendation.QuotaState extends Enum<RecommendSpecResponse.Recommendation.QuotaState> implements com.google.protobuf.ProtocolMessageEnum
The user accelerator quota state.Protobuf enum
google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState| Enum Constant and Description |
|---|
QUOTA_STATE_NO_USER_QUOTA
User does not have enough accelerator quota for the machine type.
|
QUOTA_STATE_UNSPECIFIED
Unspecified quota state.
|
QUOTA_STATE_USER_HAS_QUOTA
User has enough accelerator quota for the machine type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
QUOTA_STATE_NO_USER_QUOTA_VALUE
User does not have enough accelerator quota for the machine type.
|
static int |
QUOTA_STATE_UNSPECIFIED_VALUE
Unspecified quota state.
|
static int |
QUOTA_STATE_USER_HAS_QUOTA_VALUE
User has enough accelerator quota for the machine type.
|
| Modifier and Type | Method and Description |
|---|---|
static RecommendSpecResponse.Recommendation.QuotaState |
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<RecommendSpecResponse.Recommendation.QuotaState> |
internalGetValueMap() |
static RecommendSpecResponse.Recommendation.QuotaState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RecommendSpecResponse.Recommendation.QuotaState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RecommendSpecResponse.Recommendation.QuotaState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecommendSpecResponse.Recommendation.QuotaState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecommendSpecResponse.Recommendation.QuotaState QUOTA_STATE_UNSPECIFIED
Unspecified quota state. Quota information not available.
QUOTA_STATE_UNSPECIFIED = 0;public static final RecommendSpecResponse.Recommendation.QuotaState QUOTA_STATE_USER_HAS_QUOTA
User has enough accelerator quota for the machine type.
QUOTA_STATE_USER_HAS_QUOTA = 1;public static final RecommendSpecResponse.Recommendation.QuotaState QUOTA_STATE_NO_USER_QUOTA
User does not have enough accelerator quota for the machine type.
QUOTA_STATE_NO_USER_QUOTA = 2;public static final RecommendSpecResponse.Recommendation.QuotaState UNRECOGNIZED
public static final int QUOTA_STATE_UNSPECIFIED_VALUE
Unspecified quota state. Quota information not available.
QUOTA_STATE_UNSPECIFIED = 0;public static final int QUOTA_STATE_USER_HAS_QUOTA_VALUE
User has enough accelerator quota for the machine type.
QUOTA_STATE_USER_HAS_QUOTA = 1;public static final int QUOTA_STATE_NO_USER_QUOTA_VALUE
User does not have enough accelerator quota for the machine type.
QUOTA_STATE_NO_USER_QUOTA = 2;public static RecommendSpecResponse.Recommendation.QuotaState[] values()
for (RecommendSpecResponse.Recommendation.QuotaState c : RecommendSpecResponse.Recommendation.QuotaState.values()) System.out.println(c);
public static RecommendSpecResponse.Recommendation.QuotaState 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 RecommendSpecResponse.Recommendation.QuotaState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RecommendSpecResponse.Recommendation.QuotaState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RecommendSpecResponse.Recommendation.QuotaState> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RecommendSpecResponse.Recommendation.QuotaState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2026 Google LLC. All rights reserved.