Package com.sourcegraph.semanticdb_javac
Enum Semanticdb.Documentation.Format
- java.lang.Object
-
- java.lang.Enum<Semanticdb.Documentation.Format>
-
- com.sourcegraph.semanticdb_javac.Semanticdb.Documentation.Format
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<Semanticdb.Documentation.Format>
- Enclosing class:
- Semanticdb.Documentation
public static enum Semanticdb.Documentation.Format extends java.lang.Enum<Semanticdb.Documentation.Format> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumcom.sourcegraph.semanticdb_javac.Documentation.Format
-
-
Field Summary
Fields Modifier and Type Field Description static intHTML_VALUEHTML = 0;static intJAVADOC_VALUEJAVADOC = 2;static intKDOC_VALUEKDOC = 4;static intMARKDOWN_VALUEMARKDOWN = 1;static intSCALADOC_VALUESCALADOC = 3;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Semanticdb.Documentation.FormatforNumber(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.Documentation.Format>internalGetValueMap()static Semanticdb.Documentation.FormatvalueOf(int value)Deprecated.static Semanticdb.Documentation.FormatvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Semanticdb.Documentation.FormatvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Semanticdb.Documentation.Format[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTML
public static final Semanticdb.Documentation.Format HTML
HTML = 0;
-
MARKDOWN
public static final Semanticdb.Documentation.Format MARKDOWN
MARKDOWN = 1;
-
JAVADOC
public static final Semanticdb.Documentation.Format JAVADOC
JAVADOC = 2;
-
SCALADOC
public static final Semanticdb.Documentation.Format SCALADOC
SCALADOC = 3;
-
KDOC
public static final Semanticdb.Documentation.Format KDOC
KDOC = 4;
-
UNRECOGNIZED
public static final Semanticdb.Documentation.Format UNRECOGNIZED
-
-
Field Detail
-
HTML_VALUE
public static final int HTML_VALUE
HTML = 0;- See Also:
- Constant Field Values
-
MARKDOWN_VALUE
public static final int MARKDOWN_VALUE
MARKDOWN = 1;- See Also:
- Constant Field Values
-
JAVADOC_VALUE
public static final int JAVADOC_VALUE
JAVADOC = 2;- See Also:
- Constant Field Values
-
SCALADOC_VALUE
public static final int SCALADOC_VALUE
SCALADOC = 3;- See Also:
- Constant Field Values
-
KDOC_VALUE
public static final int KDOC_VALUE
KDOC = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Semanticdb.Documentation.Format[] 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.Documentation.Format c : Semanticdb.Documentation.Format.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.Documentation.Format 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.Documentation.Format 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.Documentation.Format 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.Documentation.Format> 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.Documentation.Format 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
-
-