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 ClassesModifier and TypeClassDescription(package private) static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final int
private final int
private final int
private final Sampler
Fields inherited from class io.opencensus.trace.config.TraceParams
DEFAULT
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
AutoValue_TraceParams
(Sampler sampler, int maxNumberOfAttributes, int maxNumberOfAnnotations, int maxNumberOfMessageEvents, int maxNumberOfLinks) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns the global default max number ofAnnotation
events perSpan
.int
Returns the global default max number of attributes perSpan
.int
int
Returns the global default max number ofMessageEvent
events perSpan
.Returns the global defaultSampler
.int
hashCode()
Returns aTraceParams.Builder
initialized to the same property values as the current instance.toString()
Methods inherited from class io.opencensus.trace.config.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:TraceParams
Returns the global defaultSampler
. Used if noSampler
is provided inSpanBuilder.setSampler(Sampler)
.- Specified by:
getSampler
in classTraceParams
- Returns:
- the global default
Sampler
.
-
getMaxNumberOfAttributes
public int getMaxNumberOfAttributes()Description copied from class:TraceParams
Returns the global default max number of attributes perSpan
.- Specified by:
getMaxNumberOfAttributes
in classTraceParams
- Returns:
- the global default max number of attributes per
Span
.
-
getMaxNumberOfAnnotations
public int getMaxNumberOfAnnotations()Description copied from class:TraceParams
Returns the global default max number ofAnnotation
events perSpan
.- Specified by:
getMaxNumberOfAnnotations
in classTraceParams
- Returns:
- the global default max number of
Annotation
events perSpan
.
-
getMaxNumberOfMessageEvents
public int getMaxNumberOfMessageEvents()Description copied from class:TraceParams
Returns the global default max number ofMessageEvent
events perSpan
.- Specified by:
getMaxNumberOfMessageEvents
in classTraceParams
- Returns:
- the global default max number of
MessageEvent
events perSpan
.
-
getMaxNumberOfLinks
public int getMaxNumberOfLinks()Description copied from class:TraceParams
- Specified by:
getMaxNumberOfLinks
in classTraceParams
- Returns:
- the global default max number of
Link
entries perSpan
.
-
toString
-
equals
-
hashCode
public int hashCode() -
toBuilder
Description copied from class:TraceParams
Returns aTraceParams.Builder
initialized to the same property values as the current instance.- Specified by:
toBuilder
in classTraceParams
- Returns:
- a
TraceParams.Builder
initialized to the same property values as the current instance.
-