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
FieldsModifier and TypeFieldDescriptionprivate final Status.CanonicalCodeprivate final intprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_SampledSpanStore_ErrorFilter(String spanName, Status.CanonicalCode canonicalCode, int maxSpansToReturn) -
Method Summary
Methods inherited from class SampledSpanStore.ErrorFilter
create
-
Field Details
-
spanName
-
canonicalCode
-
maxSpansToReturn
private final int maxSpansToReturn
-
-
Constructor Details
-
AutoValue_SampledSpanStore_ErrorFilter
AutoValue_SampledSpanStore_ErrorFilter(String spanName, @Nullable Status.CanonicalCode canonicalCode, int maxSpansToReturn)
-
-
Method Details
-
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
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
-
equals
-
hashCode
-