Enum PropertyDefinition.RetrievalImportance
- java.lang.Object
-
- java.lang.Enum<PropertyDefinition.RetrievalImportance>
-
- com.google.cloud.contentwarehouse.v1.PropertyDefinition.RetrievalImportance
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PropertyDefinition.RetrievalImportance>
- Enclosing class:
- PropertyDefinition
public static enum PropertyDefinition.RetrievalImportance extends Enum<PropertyDefinition.RetrievalImportance> implements com.google.protobuf.ProtocolMessageEnum
Stores the retrieval importance.
Protobuf enumgoogle.cloud.contentwarehouse.v1.PropertyDefinition.RetrievalImportance
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIGHHigh importance.HIGHERHigher importance.HIGHESTHighest importance.LOWLow importance (negative).LOWESTLowest importance (negative).MEDIUMMedium importance.RETRIEVAL_IMPORTANCE_UNSPECIFIEDNo importance specified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intHIGH_VALUEHigh importance.static intHIGHER_VALUEHigher importance.static intHIGHEST_VALUEHighest importance.static intLOW_VALUELow importance (negative).static intLOWEST_VALUELowest importance (negative).static intMEDIUM_VALUEMedium importance.static intRETRIEVAL_IMPORTANCE_UNSPECIFIED_VALUENo importance specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PropertyDefinition.RetrievalImportanceforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<PropertyDefinition.RetrievalImportance>internalGetValueMap()static PropertyDefinition.RetrievalImportancevalueOf(int value)Deprecated.static PropertyDefinition.RetrievalImportancevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static PropertyDefinition.RetrievalImportancevalueOf(String name)Returns the enum constant of this type with the specified name.static PropertyDefinition.RetrievalImportance[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RETRIEVAL_IMPORTANCE_UNSPECIFIED
public static final PropertyDefinition.RetrievalImportance RETRIEVAL_IMPORTANCE_UNSPECIFIED
No importance specified. Default medium importance.
RETRIEVAL_IMPORTANCE_UNSPECIFIED = 0;
-
HIGHEST
public static final PropertyDefinition.RetrievalImportance HIGHEST
Highest importance.
HIGHEST = 1;
-
HIGHER
public static final PropertyDefinition.RetrievalImportance HIGHER
Higher importance.
HIGHER = 2;
-
HIGH
public static final PropertyDefinition.RetrievalImportance HIGH
High importance.
HIGH = 3;
-
MEDIUM
public static final PropertyDefinition.RetrievalImportance MEDIUM
Medium importance.
MEDIUM = 4;
-
LOW
public static final PropertyDefinition.RetrievalImportance LOW
Low importance (negative).
LOW = 5;
-
LOWEST
public static final PropertyDefinition.RetrievalImportance LOWEST
Lowest importance (negative).
LOWEST = 6;
-
UNRECOGNIZED
public static final PropertyDefinition.RetrievalImportance UNRECOGNIZED
-
-
Field Detail
-
RETRIEVAL_IMPORTANCE_UNSPECIFIED_VALUE
public static final int RETRIEVAL_IMPORTANCE_UNSPECIFIED_VALUE
No importance specified. Default medium importance.
RETRIEVAL_IMPORTANCE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
HIGHEST_VALUE
public static final int HIGHEST_VALUE
Highest importance.
HIGHEST = 1;- See Also:
- Constant Field Values
-
HIGHER_VALUE
public static final int HIGHER_VALUE
Higher importance.
HIGHER = 2;- See Also:
- Constant Field Values
-
HIGH_VALUE
public static final int HIGH_VALUE
High importance.
HIGH = 3;- See Also:
- Constant Field Values
-
MEDIUM_VALUE
public static final int MEDIUM_VALUE
Medium importance.
MEDIUM = 4;- See Also:
- Constant Field Values
-
LOW_VALUE
public static final int LOW_VALUE
Low importance (negative).
LOW = 5;- See Also:
- Constant Field Values
-
LOWEST_VALUE
public static final int LOWEST_VALUE
Lowest importance (negative).
LOWEST = 6;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PropertyDefinition.RetrievalImportance[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PropertyDefinition.RetrievalImportance c : PropertyDefinition.RetrievalImportance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropertyDefinition.RetrievalImportance 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 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 public static PropertyDefinition.RetrievalImportance 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 nameNullPointerException- if the argument is null
-
forNumber
public static PropertyDefinition.RetrievalImportance 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<PropertyDefinition.RetrievalImportance> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static PropertyDefinition.RetrievalImportance 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
-
-