public enum SpanLayer extends Enum<SpanLayer> implements com.google.protobuf.ProtocolMessageEnum
Map to the layer of spanProtobuf enum
skywalking.v3.SpanLayer| Enum Constant and Description |
|---|
Cache
A cache layer, used in tracing the cache client component.
|
Database
A database layer, used in tracing the database client component.
|
FAAS
A FAAS layer, used in function-as-a-Service platform.
|
Http
HTTP is a more specific RPCFramework.
|
MQ
A MQ layer, used in both producer and consuer sides of the MQ component.
|
RPCFramework
A RPC layer, used in both client and server sides of RPC component.
|
Unknown
Unknown layer.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
Cache_VALUE
A cache layer, used in tracing the cache client component.
|
static int |
Database_VALUE
A database layer, used in tracing the database client component.
|
static int |
FAAS_VALUE
A FAAS layer, used in function-as-a-Service platform.
|
static int |
Http_VALUE
HTTP is a more specific RPCFramework.
|
static int |
MQ_VALUE
A MQ layer, used in both producer and consuer sides of the MQ component.
|
static int |
RPCFramework_VALUE
A RPC layer, used in both client and server sides of RPC component.
|
static int |
Unknown_VALUE
Unknown layer.
|
| Modifier and Type | Method and Description |
|---|---|
static SpanLayer |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SpanLayer> |
internalGetValueMap() |
static SpanLayer |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SpanLayer |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SpanLayer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpanLayer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpanLayer Unknown
Unknown layer. Could be anything.
Unknown = 0;public static final SpanLayer Database
A database layer, used in tracing the database client component.
Database = 1;public static final SpanLayer RPCFramework
A RPC layer, used in both client and server sides of RPC component.
RPCFramework = 2;public static final SpanLayer Http
HTTP is a more specific RPCFramework.
Http = 3;public static final SpanLayer MQ
A MQ layer, used in both producer and consuer sides of the MQ component.
MQ = 4;public static final SpanLayer Cache
A cache layer, used in tracing the cache client component.
Cache = 5;public static final SpanLayer FAAS
A FAAS layer, used in function-as-a-Service platform.
FAAS = 6;public static final SpanLayer UNRECOGNIZED
public static final int Unknown_VALUE
Unknown layer. Could be anything.
Unknown = 0;public static final int Database_VALUE
A database layer, used in tracing the database client component.
Database = 1;public static final int RPCFramework_VALUE
A RPC layer, used in both client and server sides of RPC component.
RPCFramework = 2;public static final int Http_VALUE
HTTP is a more specific RPCFramework.
Http = 3;public static final int MQ_VALUE
A MQ layer, used in both producer and consuer sides of the MQ component.
MQ = 4;public static final int Cache_VALUE
A cache layer, used in tracing the cache client component.
Cache = 5;public static final int FAAS_VALUE
A FAAS layer, used in function-as-a-Service platform.
FAAS = 6;public static SpanLayer[] values()
for (SpanLayer c : SpanLayer.values()) System.out.println(c);
public static SpanLayer valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SpanLayer valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SpanLayer forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SpanLayer> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SpanLayer valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 The Apache Software Foundation. All rights reserved.