public enum SpanType extends Enum<SpanType> implements com.google.protobuf.ProtocolMessageEnum
Map to the type of spanProtobuf enum
skywalking.v3.SpanType| Enum Constant and Description |
|---|
Entry
Server side of RPC.
|
Exit
Client side of RPC.
|
Local
A common local code execution.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
Entry_VALUE
Server side of RPC.
|
static int |
Exit_VALUE
Client side of RPC.
|
static int |
Local_VALUE
A common local code execution.
|
| Modifier and Type | Method and Description |
|---|---|
static SpanType |
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<SpanType> |
internalGetValueMap() |
static SpanType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SpanType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SpanType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpanType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpanType Entry
Server side of RPC. Consumer side of MQ.
Entry = 0;public static final SpanType Exit
Client side of RPC. Producer side of MQ.
Exit = 1;public static final SpanType Local
A common local code execution.
Local = 2;public static final SpanType UNRECOGNIZED
public static final int Entry_VALUE
Server side of RPC. Consumer side of MQ.
Entry = 0;public static final int Exit_VALUE
Client side of RPC. Producer side of MQ.
Exit = 1;public static final int Local_VALUE
A common local code execution.
Local = 2;public static SpanType[] values()
for (SpanType c : SpanType.values()) System.out.println(c);
public static SpanType 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 SpanType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SpanType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SpanType> 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 SpanType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 The Apache Software Foundation. All rights reserved.