Package io.opentelemetry.sdk.trace
Class AutoValue_SpanLimits_SpanLimitsValue
- java.lang.Object
-
- io.opentelemetry.sdk.trace.SpanLimits
-
- io.opentelemetry.sdk.trace.SpanLimits.SpanLimitsValue
-
- io.opentelemetry.sdk.trace.AutoValue_SpanLimits_SpanLimitsValue
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_SpanLimits_SpanLimitsValue extends SpanLimits.SpanLimitsValue
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.opentelemetry.sdk.trace.SpanLimits
SpanLimits.SpanLimitsValue
-
-
Field Summary
Fields Modifier and Type Field Description private int
maxAttributeValueLength
private int
maxNumberOfAttributes
private int
maxNumberOfAttributesPerEvent
private int
maxNumberOfAttributesPerLink
private int
maxNumberOfEvents
private int
maxNumberOfLinks
-
Fields inherited from class io.opentelemetry.sdk.trace.SpanLimits
DEFAULT_SPAN_MAX_ATTRIBUTE_LENGTH
-
-
Constructor Summary
Constructors Constructor Description AutoValue_SpanLimits_SpanLimitsValue(int maxNumberOfAttributes, int maxNumberOfEvents, int maxNumberOfLinks, int maxNumberOfAttributesPerEvent, int maxNumberOfAttributesPerLink, int maxAttributeValueLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
getMaxAttributeValueLength()
OverrideSpanLimits.getMaxAttributeValueLength()
to be abstract so autovalue can implement it.int
getMaxNumberOfAttributes()
Returns the max number of attributes perSpan
.int
getMaxNumberOfAttributesPerEvent()
Returns the max number of attributes per event.int
getMaxNumberOfAttributesPerLink()
Returns the max number of attributes per link.int
getMaxNumberOfEvents()
Returns the max number of events perSpan
.int
getMaxNumberOfLinks()
Returns the max number of links perSpan
.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class io.opentelemetry.sdk.trace.SpanLimits
builder, create, getDefault, toBuilder
-
-
-
-
Field Detail
-
maxNumberOfAttributes
private final int maxNumberOfAttributes
-
maxNumberOfEvents
private final int maxNumberOfEvents
-
maxNumberOfLinks
private final int maxNumberOfLinks
-
maxNumberOfAttributesPerEvent
private final int maxNumberOfAttributesPerEvent
-
maxNumberOfAttributesPerLink
private final int maxNumberOfAttributesPerLink
-
maxAttributeValueLength
private final int maxAttributeValueLength
-
-
Method Detail
-
getMaxNumberOfAttributes
public int getMaxNumberOfAttributes()
Description copied from class:SpanLimits
Returns the max number of attributes perSpan
.- Specified by:
getMaxNumberOfAttributes
in classSpanLimits
- Returns:
- the max number of attributes per
Span
.
-
getMaxNumberOfEvents
public int getMaxNumberOfEvents()
Description copied from class:SpanLimits
Returns the max number of events perSpan
.- Specified by:
getMaxNumberOfEvents
in classSpanLimits
- Returns:
- the max number of events per
Span
.
-
getMaxNumberOfLinks
public int getMaxNumberOfLinks()
Description copied from class:SpanLimits
Returns the max number of links perSpan
.- Specified by:
getMaxNumberOfLinks
in classSpanLimits
- Returns:
- the max number of links per
Span
.
-
getMaxNumberOfAttributesPerEvent
public int getMaxNumberOfAttributesPerEvent()
Description copied from class:SpanLimits
Returns the max number of attributes per event.- Specified by:
getMaxNumberOfAttributesPerEvent
in classSpanLimits
- Returns:
- the max number of attributes per event.
-
getMaxNumberOfAttributesPerLink
public int getMaxNumberOfAttributesPerLink()
Description copied from class:SpanLimits
Returns the max number of attributes per link.- Specified by:
getMaxNumberOfAttributesPerLink
in classSpanLimits
- Returns:
- the max number of attributes per link.
-
getMaxAttributeValueLength
public int getMaxAttributeValueLength()
Description copied from class:SpanLimits.SpanLimitsValue
OverrideSpanLimits.getMaxAttributeValueLength()
to be abstract so autovalue can implement it.- Specified by:
getMaxAttributeValueLength
in classSpanLimits.SpanLimitsValue
- Returns:
- the max number of characters for attribute strings.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-