java.lang.Object
java.lang.Enum<SpanLayer>
org.apache.skywalking.apm.network.language.agent.v3.SpanLayer
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<SpanLayer>, java.lang.constant.Constable

public enum SpanLayer extends Enum<SpanLayer> implements com.google.protobuf.ProtocolMessageEnum
 Map to the layer of span
 
Protobuf enum skywalking.v3.SpanLayer
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A cache layer, used in tracing the cache client component.
    A database layer, used in tracing the database client component.
    A FAAS layer, used in function-as-a-Service platform.
    HTTP is a more specific RPCFramework.
    A MQ layer, used in both producer and consuer sides of the MQ component.
    A RPC layer, used in both client and server sides of RPC component.
    Unknown layer.
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    A cache layer, used in tracing the cache client component.
    static final int
    A database layer, used in tracing the database client component.
    static final int
    A FAAS layer, used in function-as-a-Service platform.
    static final int
    HTTP is a more specific RPCFramework.
    static final int
    A MQ layer, used in both producer and consuer sides of the MQ component.
    static final int
    A RPC layer, used in both client and server sides of RPC component.
    static final int
    Unknown layer.
  • Method Summary

    Modifier and Type
    Method
    Description
    static SpanLayer
    forNumber(int value)
     
    static final com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static com.google.protobuf.Internal.EnumLiteMap<SpanLayer>
     
    static SpanLayer
    valueOf(int value)
    Deprecated.
    static SpanLayer
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    static SpanLayer
    Returns the enum constant of this type with the specified name.
    static SpanLayer[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • Unknown

      public static final SpanLayer Unknown
       Unknown layer. Could be anything.
       
      Unknown = 0;
    • Database

      public static final SpanLayer Database
       A database layer, used in tracing the database client component.
       
      Database = 1;
    • RPCFramework

      public static final SpanLayer RPCFramework
       A RPC layer, used in both client and server sides of RPC component.
       
      RPCFramework = 2;
    • Http

      public static final SpanLayer Http
       HTTP is a more specific RPCFramework.
       
      Http = 3;
    • MQ

      public static final SpanLayer MQ
       A MQ layer, used in both producer and consuer sides of the MQ component.
       
      MQ = 4;
    • Cache

      public static final SpanLayer Cache
       A cache layer, used in tracing the cache client component.
       
      Cache = 5;
    • FAAS

      public static final SpanLayer FAAS
       A FAAS layer, used in function-as-a-Service platform.
       
      FAAS = 6;
    • UNRECOGNIZED

      public static final SpanLayer UNRECOGNIZED
  • Field Details

    • Unknown_VALUE

      public static final int Unknown_VALUE
       Unknown layer. Could be anything.
       
      Unknown = 0;
      See Also:
    • Database_VALUE

      public static final int Database_VALUE
       A database layer, used in tracing the database client component.
       
      Database = 1;
      See Also:
    • RPCFramework_VALUE

      public static final int RPCFramework_VALUE
       A RPC layer, used in both client and server sides of RPC component.
       
      RPCFramework = 2;
      See Also:
    • Http_VALUE

      public static final int Http_VALUE
       HTTP is a more specific RPCFramework.
       
      Http = 3;
      See Also:
    • MQ_VALUE

      public static final int MQ_VALUE
       A MQ layer, used in both producer and consuer sides of the MQ component.
       
      MQ = 4;
      See Also:
    • Cache_VALUE

      public static final int Cache_VALUE
       A cache layer, used in tracing the cache client component.
       
      Cache = 5;
      See Also:
    • FAAS_VALUE

      public static final int FAAS_VALUE
       A FAAS layer, used in function-as-a-Service platform.
       
      FAAS = 6;
      See Also:
  • Method Details

    • values

      public static SpanLayer[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SpanLayer 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static SpanLayer 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static SpanLayer 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<SpanLayer> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static SpanLayer 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 name
      NullPointerException - if the argument is null