Span Class

public sealed class Span : IBufferMessage, IDeepCloneable<Span>, IMessage, IMessage<Span>, IEquatable<Span>

No documentation is available.

Implements

Constructors

NameDescription
Span()
Span(Span)

Span overloads

Span()

public Span()

No documentation is available.

Span(Span)

public Span(Span other)
Parameters
other Span

No documentation is available.

Properties

NameDescription
Descriptor
Name
ParentSpanId
Parser
SpanId
TraceId
pb::Google.Protobuf.IMessage.Descriptor

Descriptor

public static MessageDescriptor Descriptor { get; }

Property value

MessageDescriptor

No documentation is available.

Name

public string Name { get; set; }

Property value

string

No documentation is available.

ParentSpanId

public ByteString ParentSpanId { get; set; }

Property value

ByteString

No documentation is available.

Parser

public static MessageParser<Span> Parser { get; }

Property value

MessageParser<Span>

No documentation is available.

SpanId

public ByteString SpanId { get; set; }

Property value

ByteString

No documentation is available.

TraceId

public ByteString TraceId { get; set; }

Property value

ByteString

No documentation is available.

pb::Google.Protobuf.IMessage.Descriptor

MessageDescriptor IMessage.Descriptor { get; }

Property value

MessageDescriptor

No documentation is available.

Methods

NameDescription
CalculateSize()
Clone()
Equals(Span)
Equals(object)
GetHashCode()
MergeFrom(CodedInputStream)
MergeFrom(Span)
ToString()
WriteTo(CodedOutputStream)
pb::Google.Protobuf.IBufferMessage.InternalMergeFrom(ParseContext)
pb::Google.Protobuf.IBufferMessage.InternalWriteTo(WriteContext)

CalculateSize()

public int CalculateSize()

Returns

int

No documentation is available.

Clone()

public Span Clone()

Returns

Span

No documentation is available.

Equals overloads

Equals(Span)

public bool Equals(Span other)
Parameters
other Span
Returns

bool

No documentation is available.

Equals(object)

public override bool Equals(object other)
Parameters
other object
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

MergeFrom overloads

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)
Parameters
input CodedInputStream

No documentation is available.

MergeFrom(Span)

public void MergeFrom(Span other)
Parameters
other Span

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

No documentation is available.

pb::Google.Protobuf.IBufferMessage.InternalMergeFrom(ParseContext)

void IBufferMessage.InternalMergeFrom(ref ParseContext input)

Parameters

input ParseContext

No documentation is available.

pb::Google.Protobuf.IBufferMessage.InternalWriteTo(WriteContext)

void IBufferMessage.InternalWriteTo(ref WriteContext output)

Parameters

output WriteContext

No documentation is available.

Constants

NameDescription
NameFieldNumberField number for the "name" field.
ParentSpanIdFieldNumberField number for the "parent_span_id" field.
SpanIdFieldNumberField number for the "span_id" field.
TraceIdFieldNumberField number for the "trace_id" field.

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 5

ParentSpanIdFieldNumber

Field number for the "parent_span_id" field.

public const int ParentSpanIdFieldNumber = 4

SpanIdFieldNumber

Field number for the "span_id" field.

public const int SpanIdFieldNumber = 2

TraceIdFieldNumber

Field number for the "trace_id" field.

public const int TraceIdFieldNumber = 1