Package com.google.cloud.compute.v1
Enum FutureResourcesRecommendationOtherLocation.Status
java.lang.Object
java.lang.Enum<FutureResourcesRecommendationOtherLocation.Status>
com.google.cloud.compute.v1.FutureResourcesRecommendationOtherLocation.Status
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FutureResourcesRecommendationOtherLocation.Status>
- Enclosing class:
- FutureResourcesRecommendationOtherLocation
public static enum FutureResourcesRecommendationOtherLocation.Status
extends Enum<FutureResourcesRecommendationOtherLocation.Status>
implements com.google.protobuf.ProtocolMessageEnum
Status of recommendation in this location.Protobuf enum
google.cloud.compute.v1.FutureResourcesRecommendationOtherLocation.Status-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe requested resources are offered in this location but the requested time window is does not meet the required conditions.The requested resources are offered in this location and the requested time window is accepted but there is no capacity within the requested time window.The requested resources are not offered in this location.Default value, unused.The requested resources are offered in this location and it is possible to request them.A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe requested resources are offered in this location but the requested time window is does not meet the required conditions.static final intThe requested resources are offered in this location and the requested time window is accepted but there is no capacity within the requested time window.static final intThe requested resources are not offered in this location.static final intDefault value, unused.static final intThe requested resources are offered in this location and it is possible to request them.static final intA value indicating that the enum field is not set. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FutureResourcesRecommendationOtherLocation.Status>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_STATUS
A value indicating that the enum field is not set.
UNDEFINED_STATUS = 0; -
CONDITIONS_NOT_MET
The requested resources are offered in this location but the requested time window is does not meet the required conditions.
CONDITIONS_NOT_MET = 363628457; -
NOT_SUPPORTED
The requested resources are not offered in this location. Retrying the request will not change this status.
NOT_SUPPORTED = 317950466; -
NO_CAPACITY
The requested resources are offered in this location and the requested time window is accepted but there is no capacity within the requested time window.
NO_CAPACITY = 274240888; -
OTHER_LOCATION_STATUS_UNDEFINED
public static final FutureResourcesRecommendationOtherLocation.Status OTHER_LOCATION_STATUS_UNDEFINEDDefault value, unused.
OTHER_LOCATION_STATUS_UNDEFINED = 222662622; -
RECOMMENDED
The requested resources are offered in this location and it is possible to request them. However, another location was better and was recommended.
RECOMMENDED = 369652283; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_STATUS_VALUE
public static final int UNDEFINED_STATUS_VALUEA value indicating that the enum field is not set.
UNDEFINED_STATUS = 0;- See Also:
-
CONDITIONS_NOT_MET_VALUE
public static final int CONDITIONS_NOT_MET_VALUEThe requested resources are offered in this location but the requested time window is does not meet the required conditions.
CONDITIONS_NOT_MET = 363628457;- See Also:
-
NOT_SUPPORTED_VALUE
public static final int NOT_SUPPORTED_VALUEThe requested resources are not offered in this location. Retrying the request will not change this status.
NOT_SUPPORTED = 317950466;- See Also:
-
NO_CAPACITY_VALUE
public static final int NO_CAPACITY_VALUEThe requested resources are offered in this location and the requested time window is accepted but there is no capacity within the requested time window.
NO_CAPACITY = 274240888;- See Also:
-
OTHER_LOCATION_STATUS_UNDEFINED_VALUE
public static final int OTHER_LOCATION_STATUS_UNDEFINED_VALUEDefault value, unused.
OTHER_LOCATION_STATUS_UNDEFINED = 222662622;- See Also:
-
RECOMMENDED_VALUE
public static final int RECOMMENDED_VALUEThe requested resources are offered in this location and it is possible to request them. However, another location was better and was recommended.
RECOMMENDED = 369652283;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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<FutureResourcesRecommendationOtherLocation.Status> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static FutureResourcesRecommendationOtherLocation.Status 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 nameNullPointerException- if the argument is null
-