public enum RefType extends Enum<RefType> implements com.google.protobuf.ProtocolMessageEnum
Type of the referenceProtobuf enum
skywalking.v3.RefType| Enum Constant and Description |
|---|
CrossProcess
Map to the reference targeting the segment in another OS process.
|
CrossThread
Map to the reference targeting the segment in the same process of the current one, just across thread.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CrossProcess_VALUE
Map to the reference targeting the segment in another OS process.
|
static int |
CrossThread_VALUE
Map to the reference targeting the segment in the same process of the current one, just across thread.
|
| Modifier and Type | Method and Description |
|---|---|
static RefType |
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<RefType> |
internalGetValueMap() |
static RefType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RefType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RefType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefType CrossProcess
Map to the reference targeting the segment in another OS process.
CrossProcess = 0;public static final RefType CrossThread
Map to the reference targeting the segment in the same process of the current one, just across thread. This is only used when the coding language has the thread concept.
CrossThread = 1;public static final RefType UNRECOGNIZED
public static final int CrossProcess_VALUE
Map to the reference targeting the segment in another OS process.
CrossProcess = 0;public static final int CrossThread_VALUE
Map to the reference targeting the segment in the same process of the current one, just across thread. This is only used when the coding language has the thread concept.
CrossThread = 1;public static RefType[] values()
for (RefType c : RefType.values()) System.out.println(c);
public static RefType 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 RefType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RefType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RefType> 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 RefType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 The Apache Software Foundation. All rights reserved.