Enum Class ClientRequestAttribute

java.lang.Object
java.lang.Enum<ClientRequestAttribute>
io.helidon.grpc.client.ClientRequestAttribute
All Implemented Interfaces:
Serializable, Comparable<ClientRequestAttribute>, Constable

public enum ClientRequestAttribute extends Enum<ClientRequestAttribute>
An enum of possible gRPC client call attributes to attach to call tracing spans.
  • Enum Constant Details

    • METHOD_TYPE

      public static final ClientRequestAttribute METHOD_TYPE
      Add the method type to the tracing span.
    • METHOD_NAME

      public static final ClientRequestAttribute METHOD_NAME
      Add the method name to the tracing span.
    • DEADLINE

      public static final ClientRequestAttribute DEADLINE
      Add the call deadline to the tracing span.
    • COMPRESSOR

      public static final ClientRequestAttribute COMPRESSOR
      Add the compressor type to the tracing span.
    • AUTHORITY

      public static final ClientRequestAttribute AUTHORITY
      Add the security authority to the tracing span.
    • ALL_CALL_OPTIONS

      public static final ClientRequestAttribute ALL_CALL_OPTIONS
      Add the method call options to the tracing span.
    • HEADERS

      public static final ClientRequestAttribute HEADERS
      Add the method call headers to the tracing span.
  • Method Details

    • values

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

      public static ClientRequestAttribute valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null