Package io.opencensus.trace
Class AutoValue_EndSpanOptions
java.lang.Object
io.opencensus.trace.EndSpanOptions
io.opencensus.trace.AutoValue_EndSpanOptions
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_EndSpanOptions
extends EndSpanOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
-
Field Summary
FieldsFields inherited from class io.opencensus.trace.EndSpanOptions
DEFAULT
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
AutoValue_EndSpanOptions
(boolean sampleToLocalSpanStore, Status status) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Iftrue
this is equivalent with calling theSampledSpanStore.registerSpanNamesForCollection(Collection)
in advance for this span name.Returns the status.int
hashCode()
toString()
Methods inherited from class io.opencensus.trace.EndSpanOptions
builder
-
Field Details
-
sampleToLocalSpanStore
private final boolean sampleToLocalSpanStore -
status
-
-
Constructor Details
-
AutoValue_EndSpanOptions
-
-
Method Details
-
getSampleToLocalSpanStore
Description copied from class:EndSpanOptions
Iftrue
this is equivalent with calling theSampledSpanStore.registerSpanNamesForCollection(Collection)
in advance for this span name.- Specified by:
getSampleToLocalSpanStore
in classEndSpanOptions
- Returns:
true
if the name of theSpan
should be registered to theio.opencensus.trace.export.SampledSpanStore
.
-
getStatus
Description copied from class:EndSpanOptions
Returns the status.If
null
then theSpan
will record theStatus
set viaSpan.setStatus(Status)
or the defaultStatus.OK
if no status was set.- Specified by:
getStatus
in classEndSpanOptions
- Returns:
- the status.
-
toString
-
equals
-
hashCode
public int hashCode()
-