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 ClassesModifier and TypeClassDescription(package private) static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final intprivate final intprivate final SamplerFields inherited from class TraceParams
DEFAULT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAutoValue_TraceParams(Sampler sampler, int maxNumberOfAttributes, int maxNumberOfAnnotations, int maxNumberOfMessageEvents, int maxNumberOfLinks) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintReturns the global default max number ofAnnotationevents perSpan.intReturns the global default max number of attributes perSpan.intintReturns the global default max number ofMessageEventevents perSpan.Returns the global defaultSampler.inthashCode()Returns aTraceParams.Builderinitialized to the same property values as the current instance.toString()Methods inherited from class TraceParams
getMaxNumberOfNetworkEvents
-
Field Details
-
sampler
-
maxNumberOfAttributes
private final int maxNumberOfAttributes -
maxNumberOfAnnotations
private final int maxNumberOfAnnotations -
maxNumberOfMessageEvents
private final int maxNumberOfMessageEvents -
maxNumberOfLinks
private final int maxNumberOfLinks
-
-
Constructor Details
-
AutoValue_TraceParams
private AutoValue_TraceParams(Sampler sampler, int maxNumberOfAttributes, int maxNumberOfAnnotations, int maxNumberOfMessageEvents, int maxNumberOfLinks)
-
-
Method Details
-
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
-
equals
-
hashCode
-
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.
-