Enum TraceSpan.SpanKind (2.54.0)

public enum TraceSpan.SpanKind extends Enum<TraceSpan.SpanKind> implements ProtocolMessageEnum

Type of span. Can be used to specify additional relationships between spans in addition to a parent/child relationship.

Protobuf enum google.devtools.cloudtrace.v1.TraceSpan.SpanKind

Implements

ProtocolMessageEnum

Static Fields

Name Description
RPC_CLIENT

Indicates that the span covers the client-side wrapper around an RPC or other remote request.

RPC_CLIENT = 2;

RPC_CLIENT_VALUE

Indicates that the span covers the client-side wrapper around an RPC or other remote request.

RPC_CLIENT = 2;

RPC_SERVER

Indicates that the span covers server-side handling of an RPC or other remote network request.

RPC_SERVER = 1;

RPC_SERVER_VALUE

Indicates that the span covers server-side handling of an RPC or other remote network request.

RPC_SERVER = 1;

SPAN_KIND_UNSPECIFIED

Unspecified.

SPAN_KIND_UNSPECIFIED = 0;

SPAN_KIND_UNSPECIFIED_VALUE

Unspecified.

SPAN_KIND_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()