Package com.sourcegraph.semanticdb_javac
Enum Semanticdb.Schema
- java.lang.Object
-
- java.lang.Enum<Semanticdb.Schema>
-
- com.sourcegraph.semanticdb_javac.Semanticdb.Schema
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Semanticdb.Schema>
- Enclosing class:
- Semanticdb
public static enum Semanticdb.Schema extends java.lang.Enum<Semanticdb.Schema> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumcom.sourcegraph.semanticdb_javac.Schema
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LEGACYLEGACY = 0;SEMANTICDB3SEMANTICDB3 = 3;SEMANTICDB4SEMANTICDB4 = 4;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intLEGACY_VALUELEGACY = 0;static intSEMANTICDB3_VALUESEMANTICDB3 = 3;static intSEMANTICDB4_VALUESEMANTICDB4 = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Semanticdb.SchemaforNumber(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<Semanticdb.Schema>internalGetValueMap()static Semanticdb.SchemavalueOf(int value)Deprecated.static Semanticdb.SchemavalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Semanticdb.SchemavalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Semanticdb.Schema[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEGACY
public static final Semanticdb.Schema LEGACY
LEGACY = 0;
-
SEMANTICDB3
public static final Semanticdb.Schema SEMANTICDB3
SEMANTICDB3 = 3;
-
SEMANTICDB4
public static final Semanticdb.Schema SEMANTICDB4
SEMANTICDB4 = 4;
-
UNRECOGNIZED
public static final Semanticdb.Schema UNRECOGNIZED
-
-
Field Detail
-
LEGACY_VALUE
public static final int LEGACY_VALUE
LEGACY = 0;- See Also:
- Constant Field Values
-
SEMANTICDB3_VALUE
public static final int SEMANTICDB3_VALUE
SEMANTICDB3 = 3;- See Also:
- Constant Field Values
-
SEMANTICDB4_VALUE
public static final int SEMANTICDB4_VALUE
SEMANTICDB4 = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Semanticdb.Schema[] 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 (Semanticdb.Schema c : Semanticdb.Schema.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Semanticdb.Schema 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 Semanticdb.Schema 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 Semanticdb.Schema 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<Semanticdb.Schema> 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 Semanticdb.Schema 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
-
-