public static enum Recommendation.Priority extends Enum<Recommendation.Priority> implements com.google.protobuf.ProtocolMessageEnum
Recommendation priority levels.Protobuf enum
google.cloud.recommender.v1.Recommendation.Priority| Enum Constant and Description |
|---|
P1
Recommendation has P1 priority (highest priority).
|
P2
Recommendation has P2 priority (second highest priority).
|
P3
Recommendation has P3 priority (second lowest priority).
|
P4
Recommendation has P4 priority (lowest priority).
|
PRIORITY_UNSPECIFIED
Recommendation has unspecified priority.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
P1_VALUE
Recommendation has P1 priority (highest priority).
|
static int |
P2_VALUE
Recommendation has P2 priority (second highest priority).
|
static int |
P3_VALUE
Recommendation has P3 priority (second lowest priority).
|
static int |
P4_VALUE
Recommendation has P4 priority (lowest priority).
|
static int |
PRIORITY_UNSPECIFIED_VALUE
Recommendation has unspecified priority.
|
| Modifier and Type | Method and Description |
|---|---|
static Recommendation.Priority |
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<Recommendation.Priority> |
internalGetValueMap() |
static Recommendation.Priority |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Recommendation.Priority |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Recommendation.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Recommendation.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Recommendation.Priority PRIORITY_UNSPECIFIED
Recommendation has unspecified priority.
PRIORITY_UNSPECIFIED = 0;public static final Recommendation.Priority P4
Recommendation has P4 priority (lowest priority).
P4 = 1;public static final Recommendation.Priority P3
Recommendation has P3 priority (second lowest priority).
P3 = 2;public static final Recommendation.Priority P2
Recommendation has P2 priority (second highest priority).
P2 = 3;public static final Recommendation.Priority P1
Recommendation has P1 priority (highest priority).
P1 = 4;public static final Recommendation.Priority UNRECOGNIZED
public static final int PRIORITY_UNSPECIFIED_VALUE
Recommendation has unspecified priority.
PRIORITY_UNSPECIFIED = 0;public static final int P4_VALUE
Recommendation has P4 priority (lowest priority).
P4 = 1;public static final int P3_VALUE
Recommendation has P3 priority (second lowest priority).
P3 = 2;public static final int P2_VALUE
Recommendation has P2 priority (second highest priority).
P2 = 3;public static final int P1_VALUE
Recommendation has P1 priority (highest priority).
P1 = 4;public static Recommendation.Priority[] values()
for (Recommendation.Priority c : Recommendation.Priority.values()) System.out.println(c);
public static Recommendation.Priority 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 Recommendation.Priority valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Recommendation.Priority forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Recommendation.Priority> 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 Recommendation.Priority valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.