Class AutoValue_SpanData
java.lang.Object
io.opencensus.trace.export.SpanData
io.opencensus.trace.export.AutoValue_SpanData
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_SpanData
extends SpanData
-
Nested Class Summary
Nested classes/interfaces inherited from class SpanData
SpanData.Attributes, SpanData.Links, SpanData.TimedEvent<T>, SpanData.TimedEvents<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final SpanData.TimedEvents<Annotation> private final SpanData.Attributesprivate final Integerprivate final SpanContextprivate final Timestampprivate final Booleanprivate final Span.Kindprivate final SpanData.Linksprivate final SpanData.TimedEvents<MessageEvent> private final Stringprivate final SpanIdprivate final Timestampprivate final Status -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_SpanData(SpanContext context, SpanId parentSpanId, Boolean hasRemoteParent, String name, Span.Kind kind, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<MessageEvent> messageEvents, SpanData.Links links, Integer childSpanCount, Status status, Timestamp endTimestamp) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the annotations recorded for thisSpan.Returns the attributes recorded for thisSpan.Returns the number of child spans that were generated while theSpanwas running.Returns theSpanContextassociated with thisSpan.Returns the endTimestampornullif theSpanis still active.Returnstrueif the parent is on a different process.getKind()Returns the kind of thisSpan.getLinks()Returns links recorded for thisSpan.Returns message events recorded for thisSpan.getName()Returns the name of thisSpan.Returns the parentSpanIdornullif theSpanis a rootSpan.Returns the startTimestampof thisSpan.Returns theStatusornullifSpanis still active.inthashCode()toString()Methods inherited from class SpanData
create, create, getNetworkEvents
-
Field Details
-
context
-
parentSpanId
-
hasRemoteParent
-
name
-
kind
-
startTimestamp
-
attributes
-
annotations
-
messageEvents
-
links
-
childSpanCount
-
status
-
endTimestamp
-
-
Constructor Details
-
AutoValue_SpanData
AutoValue_SpanData(SpanContext context, @Nullable SpanId parentSpanId, @Nullable Boolean hasRemoteParent, String name, @Nullable Span.Kind kind, Timestamp startTimestamp, SpanData.Attributes attributes, SpanData.TimedEvents<Annotation> annotations, SpanData.TimedEvents<MessageEvent> messageEvents, SpanData.Links links, @Nullable Integer childSpanCount, @Nullable Status status, @Nullable Timestamp endTimestamp)
-
-
Method Details
-
getContext
Description copied from class:SpanDataReturns theSpanContextassociated with thisSpan.- Specified by:
getContextin classSpanData- Returns:
- the
SpanContextassociated with thisSpan.
-
getParentSpanId
Description copied from class:SpanDataReturns the parentSpanIdornullif theSpanis a rootSpan.- Specified by:
getParentSpanIdin classSpanData- Returns:
- the parent
SpanIdornullif theSpanis a rootSpan.
-
getHasRemoteParent
Description copied from class:SpanDataReturnstrueif the parent is on a different process.nullif this is a root span.- Specified by:
getHasRemoteParentin classSpanData- Returns:
trueif the parent is on a different process.nullif this is a root span.
-
getName
-
getKind
-
getStartTimestamp
Description copied from class:SpanDataReturns the startTimestampof thisSpan.- Specified by:
getStartTimestampin classSpanData- Returns:
- the start
Timestampof thisSpan.
-
getAttributes
Description copied from class:SpanDataReturns the attributes recorded for thisSpan.- Specified by:
getAttributesin classSpanData- Returns:
- the attributes recorded for this
Span.
-
getAnnotations
Description copied from class:SpanDataReturns the annotations recorded for thisSpan.- Specified by:
getAnnotationsin classSpanData- Returns:
- the annotations recorded for this
Span.
-
getMessageEvents
Description copied from class:SpanDataReturns message events recorded for thisSpan.- Specified by:
getMessageEventsin classSpanData- Returns:
- message events recorded for this
Span.
-
getLinks
Description copied from class:SpanDataReturns links recorded for thisSpan. -
getChildSpanCount
Description copied from class:SpanDataReturns the number of child spans that were generated while theSpanwas running. If notnullallows service implementations to detect missing child spans.This information is not always available.
- Specified by:
getChildSpanCountin classSpanData- Returns:
- the number of child spans that were generated while the
Spanwas running.
-
getStatus
-
getEndTimestamp
Description copied from class:SpanDataReturns the endTimestampornullif theSpanis still active.- Specified by:
getEndTimestampin classSpanData- Returns:
- the end
Timestampornullif theSpanis still active.
-
toString
-
equals
-
hashCode
-