Enum OptionFilters.OptionMetadataTag
- java.lang.Object
-
- java.lang.Enum<OptionFilters.OptionMetadataTag>
-
- com.google.devtools.common.options.proto.OptionFilters.OptionMetadataTag
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<OptionFilters.OptionMetadataTag>
- Enclosing class:
- OptionFilters
public static enum OptionFilters.OptionMetadataTag extends java.lang.Enum<OptionFilters.OptionMetadataTag> implements com.google.protobuf.ProtocolMessageEnum
Docs in java enum.
Protobuf enumoptions.OptionMetadataTag
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPRECATEDDEPRECATED = 2;EXPERIMENTALEXPERIMENTAL = 0;HIDDENHIDDEN = 3;INCOMPATIBLE_CHANGEINCOMPATIBLE_CHANGE = 1;INTERNALINTERNAL = 4;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDEPRECATED_VALUEDEPRECATED = 2;static intEXPERIMENTAL_VALUEEXPERIMENTAL = 0;static intHIDDEN_VALUEHIDDEN = 3;static intINCOMPATIBLE_CHANGE_VALUEINCOMPATIBLE_CHANGE = 1;static intINTERNAL_VALUEINTERNAL = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OptionFilters.OptionMetadataTagforNumber(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<OptionFilters.OptionMetadataTag>internalGetValueMap()static OptionFilters.OptionMetadataTagvalueOf(int value)Deprecated.static OptionFilters.OptionMetadataTagvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static OptionFilters.OptionMetadataTagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OptionFilters.OptionMetadataTag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPERIMENTAL
public static final OptionFilters.OptionMetadataTag EXPERIMENTAL
EXPERIMENTAL = 0;
-
INCOMPATIBLE_CHANGE
public static final OptionFilters.OptionMetadataTag INCOMPATIBLE_CHANGE
INCOMPATIBLE_CHANGE = 1;
-
DEPRECATED
public static final OptionFilters.OptionMetadataTag DEPRECATED
DEPRECATED = 2;
-
HIDDEN
public static final OptionFilters.OptionMetadataTag HIDDEN
HIDDEN = 3;
-
INTERNAL
public static final OptionFilters.OptionMetadataTag INTERNAL
INTERNAL = 4;
-
UNRECOGNIZED
public static final OptionFilters.OptionMetadataTag UNRECOGNIZED
-
-
Field Detail
-
EXPERIMENTAL_VALUE
public static final int EXPERIMENTAL_VALUE
EXPERIMENTAL = 0;- See Also:
- Constant Field Values
-
INCOMPATIBLE_CHANGE_VALUE
public static final int INCOMPATIBLE_CHANGE_VALUE
INCOMPATIBLE_CHANGE = 1;- See Also:
- Constant Field Values
-
DEPRECATED_VALUE
public static final int DEPRECATED_VALUE
DEPRECATED = 2;- See Also:
- Constant Field Values
-
HIDDEN_VALUE
public static final int HIDDEN_VALUE
HIDDEN = 3;- See Also:
- Constant Field Values
-
INTERNAL_VALUE
public static final int INTERNAL_VALUE
INTERNAL = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OptionFilters.OptionMetadataTag[] 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 (OptionFilters.OptionMetadataTag c : OptionFilters.OptionMetadataTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OptionFilters.OptionMetadataTag valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- 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 OptionFilters.OptionMetadataTag 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static OptionFilters.OptionMetadataTag 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<OptionFilters.OptionMetadataTag> 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 OptionFilters.OptionMetadataTag 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-