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
FieldsModifier and TypeFieldDescriptionprivate final Status.CanonicalCode
private final int
private final String
-
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_SampledSpanStore_ErrorFilter
(String spanName, Status.CanonicalCode canonicalCode, int maxSpansToReturn) -
Method Summary
Methods inherited from class io.opencensus.trace.export.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.ErrorFilter
Returns the span name used by this filter.- Specified by:
getSpanName
in classSampledSpanStore.ErrorFilter
- Returns:
- the span name used by this filter.
-
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
-
equals
-
hashCode
public int hashCode()
-