Package io.opencensus.trace.export
Class AutoValue_SampledSpanStore_ErrorFilter
- java.lang.Object
-
- io.opencensus.trace.export.SampledSpanStore.ErrorFilter
-
- io.opencensus.trace.export.AutoValue_SampledSpanStore_ErrorFilter
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_SampledSpanStore_ErrorFilter extends SampledSpanStore.ErrorFilter
-
-
Field Summary
Fields Modifier and Type Field Description private Status.CanonicalCodecanonicalCodeprivate intmaxSpansToReturnprivate java.lang.StringspanName
-
Constructor Summary
Constructors Constructor Description AutoValue_SampledSpanStore_ErrorFilter(java.lang.String spanName, Status.CanonicalCode canonicalCode, int maxSpansToReturn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Status.CanonicalCodegetCanonicalCode()Returns the canonical code used by this filter.intgetMaxSpansToReturn()Returns the maximum number of spans to be returned.java.lang.StringgetSpanName()Returns the span name used by this filter.inthashCode()java.lang.StringtoString()-
Methods inherited from class io.opencensus.trace.export.SampledSpanStore.ErrorFilter
create
-
-
-
-
Field Detail
-
spanName
private final java.lang.String spanName
-
canonicalCode
private final Status.CanonicalCode canonicalCode
-
maxSpansToReturn
private final int maxSpansToReturn
-
-
Constructor Detail
-
AutoValue_SampledSpanStore_ErrorFilter
AutoValue_SampledSpanStore_ErrorFilter(java.lang.String spanName, @Nullable Status.CanonicalCode canonicalCode, int maxSpansToReturn)
-
-
Method Detail
-
getSpanName
public java.lang.String getSpanName()
Description copied from class:SampledSpanStore.ErrorFilterReturns the span name used by this filter.- Specified by:
getSpanNamein classSampledSpanStore.ErrorFilter- Returns:
- the span name used by this filter.
-
getCanonicalCode
@Nullable public Status.CanonicalCode getCanonicalCode()
Description copied from class:SampledSpanStore.ErrorFilterReturns the canonical code used by this filter. Always different thanStatus.CanonicalCode.OK. Ifnullthen all errors match.- Specified by:
getCanonicalCodein classSampledSpanStore.ErrorFilter- Returns:
- the canonical code used by this filter.
-
getMaxSpansToReturn
public int getMaxSpansToReturn()
Description copied from class:SampledSpanStore.ErrorFilterReturns the maximum number of spans to be returned. Used to enforce the number of returnedSpanData.0means all.- Specified by:
getMaxSpansToReturnin classSampledSpanStore.ErrorFilter- Returns:
- the maximum number of spans to be returned.
-
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
-
-