- All Implemented Interfaces:
Serializable
,Comparable<ClientRequestAttribute>
,Constable
An enum of possible gRPC client call attributes to attach to
call tracing spans.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdd the method call options to the tracing span.Add the security authority to the tracing span.Add the compressor type to the tracing span.Add the call deadline to the tracing span.Add the method call headers to the tracing span.Add the method name to the tracing span.Add the method type to the tracing span. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientRequestAttribute
Returns the enum constant of this class with the specified name.static ClientRequestAttribute[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
METHOD_TYPE
Add the method type to the tracing span. -
METHOD_NAME
Add the method name to the tracing span. -
DEADLINE
Add the call deadline to the tracing span. -
COMPRESSOR
Add the compressor type to the tracing span. -
AUTHORITY
Add the security authority to the tracing span. -
ALL_CALL_OPTIONS
Add the method call options to the tracing span. -
HEADERS
Add the method call headers to the tracing span.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-