Package io.opencensus.trace.config
Class AutoValue_TraceParams
- java.lang.Object
-
- io.opencensus.trace.config.TraceParams
-
- io.opencensus.trace.config.AutoValue_TraceParams
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_TraceParams extends TraceParams
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classAutoValue_TraceParams.Builder
-
Field Summary
Fields Modifier and Type Field Description private intmaxNumberOfAnnotationsprivate intmaxNumberOfAttributesprivate intmaxNumberOfLinksprivate intmaxNumberOfMessageEventsprivate Samplersampler-
Fields inherited from class io.opencensus.trace.config.TraceParams
DEFAULT
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAutoValue_TraceParams(Sampler sampler, int maxNumberOfAttributes, int maxNumberOfAnnotations, int maxNumberOfMessageEvents, int maxNumberOfLinks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)intgetMaxNumberOfAnnotations()Returns the global default max number ofAnnotationevents perSpan.intgetMaxNumberOfAttributes()Returns the global default max number of attributes perSpan.intgetMaxNumberOfLinks()intgetMaxNumberOfMessageEvents()Returns the global default max number ofMessageEventevents perSpan.SamplergetSampler()Returns the global defaultSampler.inthashCode()TraceParams.BuildertoBuilder()Returns aTraceParams.Builderinitialized to the same property values as the current instance.java.lang.StringtoString()-
Methods inherited from class io.opencensus.trace.config.TraceParams
getMaxNumberOfNetworkEvents
-
-
-
-
Field Detail
-
sampler
private final Sampler sampler
-
maxNumberOfAttributes
private final int maxNumberOfAttributes
-
maxNumberOfAnnotations
private final int maxNumberOfAnnotations
-
maxNumberOfMessageEvents
private final int maxNumberOfMessageEvents
-
maxNumberOfLinks
private final int maxNumberOfLinks
-
-
Constructor Detail
-
AutoValue_TraceParams
private AutoValue_TraceParams(Sampler sampler, int maxNumberOfAttributes, int maxNumberOfAnnotations, int maxNumberOfMessageEvents, int maxNumberOfLinks)
-
-
Method Detail
-
getSampler
public Sampler getSampler()
Description copied from class:TraceParamsReturns the global defaultSampler. Used if noSampleris provided inSpanBuilder.setSampler(Sampler).- Specified by:
getSamplerin classTraceParams- Returns:
- the global default
Sampler.
-
getMaxNumberOfAttributes
public int getMaxNumberOfAttributes()
Description copied from class:TraceParamsReturns the global default max number of attributes perSpan.- Specified by:
getMaxNumberOfAttributesin classTraceParams- Returns:
- the global default max number of attributes per
Span.
-
getMaxNumberOfAnnotations
public int getMaxNumberOfAnnotations()
Description copied from class:TraceParamsReturns the global default max number ofAnnotationevents perSpan.- Specified by:
getMaxNumberOfAnnotationsin classTraceParams- Returns:
- the global default max number of
Annotationevents perSpan.
-
getMaxNumberOfMessageEvents
public int getMaxNumberOfMessageEvents()
Description copied from class:TraceParamsReturns the global default max number ofMessageEventevents perSpan.- Specified by:
getMaxNumberOfMessageEventsin classTraceParams- Returns:
- the global default max number of
MessageEventevents perSpan.
-
getMaxNumberOfLinks
public int getMaxNumberOfLinks()
Description copied from class:TraceParams- Specified by:
getMaxNumberOfLinksin classTraceParams- Returns:
- the global default max number of
Linkentries perSpan.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toBuilder
public TraceParams.Builder toBuilder()
Description copied from class:TraceParamsReturns aTraceParams.Builderinitialized to the same property values as the current instance.- Specified by:
toBuilderin classTraceParams- Returns:
- a
TraceParams.Builderinitialized to the same property values as the current instance.
-
-