Enum LibraryInfo.Language
- java.lang.Object
-
- java.lang.Enum<LibraryInfo.Language>
-
- io.opencensus.proto.agent.common.v1.LibraryInfo.Language
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<LibraryInfo.Language>
- Enclosing class:
- LibraryInfo
public static enum LibraryInfo.Language extends Enum<LibraryInfo.Language> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumopencensus.proto.agent.common.v1.LibraryInfo.Language
-
-
Field Summary
Fields Modifier and Type Field Description static intC_SHARP_VALUEC_SHARP = 2;static intCPP_VALUECPP = 1;static intERLANG_VALUEERLANG = 3;static intGO_LANG_VALUEGO_LANG = 4;static intJAVA_VALUEJAVA = 5;static intLANGUAGE_UNSPECIFIED_VALUELANGUAGE_UNSPECIFIED = 0;static intNODE_JS_VALUENODE_JS = 6;static intPHP_VALUEPHP = 7;static intPYTHON_VALUEPYTHON = 8;static intRUBY_VALUERUBY = 9;static intWEB_JS_VALUEWEB_JS = 10;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LibraryInfo.LanguageforNumber(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<LibraryInfo.Language>internalGetValueMap()static LibraryInfo.LanguagevalueOf(int value)Deprecated.static LibraryInfo.LanguagevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static LibraryInfo.LanguagevalueOf(String name)Returns the enum constant of this type with the specified name.static LibraryInfo.Language[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LANGUAGE_UNSPECIFIED
public static final LibraryInfo.Language LANGUAGE_UNSPECIFIED
LANGUAGE_UNSPECIFIED = 0;
-
CPP
public static final LibraryInfo.Language CPP
CPP = 1;
-
C_SHARP
public static final LibraryInfo.Language C_SHARP
C_SHARP = 2;
-
ERLANG
public static final LibraryInfo.Language ERLANG
ERLANG = 3;
-
GO_LANG
public static final LibraryInfo.Language GO_LANG
GO_LANG = 4;
-
JAVA
public static final LibraryInfo.Language JAVA
JAVA = 5;
-
NODE_JS
public static final LibraryInfo.Language NODE_JS
NODE_JS = 6;
-
PHP
public static final LibraryInfo.Language PHP
PHP = 7;
-
PYTHON
public static final LibraryInfo.Language PYTHON
PYTHON = 8;
-
RUBY
public static final LibraryInfo.Language RUBY
RUBY = 9;
-
WEB_JS
public static final LibraryInfo.Language WEB_JS
WEB_JS = 10;
-
UNRECOGNIZED
public static final LibraryInfo.Language UNRECOGNIZED
-
-
Field Detail
-
LANGUAGE_UNSPECIFIED_VALUE
public static final int LANGUAGE_UNSPECIFIED_VALUE
LANGUAGE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
CPP_VALUE
public static final int CPP_VALUE
CPP = 1;- See Also:
- Constant Field Values
-
C_SHARP_VALUE
public static final int C_SHARP_VALUE
C_SHARP = 2;- See Also:
- Constant Field Values
-
ERLANG_VALUE
public static final int ERLANG_VALUE
ERLANG = 3;- See Also:
- Constant Field Values
-
GO_LANG_VALUE
public static final int GO_LANG_VALUE
GO_LANG = 4;- See Also:
- Constant Field Values
-
JAVA_VALUE
public static final int JAVA_VALUE
JAVA = 5;- See Also:
- Constant Field Values
-
NODE_JS_VALUE
public static final int NODE_JS_VALUE
NODE_JS = 6;- See Also:
- Constant Field Values
-
PHP_VALUE
public static final int PHP_VALUE
PHP = 7;- See Also:
- Constant Field Values
-
PYTHON_VALUE
public static final int PYTHON_VALUE
PYTHON = 8;- See Also:
- Constant Field Values
-
RUBY_VALUE
public static final int RUBY_VALUE
RUBY = 9;- See Also:
- Constant Field Values
-
WEB_JS_VALUE
public static final int WEB_JS_VALUE
WEB_JS = 10;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static LibraryInfo.Language[] 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 (LibraryInfo.Language c : LibraryInfo.Language.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LibraryInfo.Language 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 LibraryInfo.Language 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 LibraryInfo.Language 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<LibraryInfo.Language> 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 LibraryInfo.Language 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
-
-