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.CanonicalCode
canonicalCode
private int
maxSpansToReturn
private java.lang.String
spanName
-
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 boolean
equals(java.lang.Object o)
Status.CanonicalCode
getCanonicalCode()
Returns the canonical code used by this filter.int
getMaxSpansToReturn()
Returns the maximum number of spans to be returned.java.lang.String
getSpanName()
Returns the span name used by this filter.int
hashCode()
java.lang.String
toString()
-
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.ErrorFilter
Returns the span name used by this filter.- Specified by:
getSpanName
in classSampledSpanStore.ErrorFilter
- Returns:
- the span name used by this filter.
-
getCanonicalCode
@Nullable public Status.CanonicalCode getCanonicalCode()
Description copied from class:SampledSpanStore.ErrorFilter
Returns the canonical code used by this filter. Always different thanStatus.CanonicalCode.OK
. Ifnull
then all errors match.- Specified by:
getCanonicalCode
in classSampledSpanStore.ErrorFilter
- Returns:
- the canonical code used by this filter.
-
getMaxSpansToReturn
public int getMaxSpansToReturn()
Description copied from class:SampledSpanStore.ErrorFilter
Returns the maximum number of spans to be returned. Used to enforce the number of returnedSpanData
.0
means all.- Specified by:
getMaxSpansToReturn
in classSampledSpanStore.ErrorFilter
- Returns:
- the maximum number of spans to be returned.
-
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
-
-