Package io.opentelemetry.sdk.metrics
Class AutoValue_View
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.View
-
- io.opentelemetry.sdk.metrics.AutoValue_View
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_View extends View
-
-
Field Summary
Fields Modifier and Type Field Description private Aggregationaggregationprivate AttributesProcessorattributesProcessorprivate intcardinalityLimitprivate java.lang.Stringdescriptionprivate java.lang.Stringname
-
Constructor Summary
Constructors Constructor Description AutoValue_View(java.lang.String name, java.lang.String description, Aggregation aggregation, AttributesProcessor attributesProcessor, int cardinalityLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)AggregationgetAggregation()Returns the aggregation of the resulting metric.(package private) AttributesProcessorgetAttributesProcessor()Returns the attribute processor used for this view.intgetCardinalityLimit()Returns the cardinality limit for this view.java.lang.StringgetDescription()Returns the description of the resulting metric, ornullif the matched instrument description should be used.java.lang.StringgetName()Returns the name of the resulting metric, ornullif the matched instrument name should be used.inthashCode()
-
-
-
Field Detail
-
name
private final java.lang.String name
-
description
private final java.lang.String description
-
aggregation
private final Aggregation aggregation
-
attributesProcessor
private final AttributesProcessor attributesProcessor
-
cardinalityLimit
private final int cardinalityLimit
-
-
Constructor Detail
-
AutoValue_View
AutoValue_View(@Nullable java.lang.String name, @Nullable java.lang.String description, Aggregation aggregation, AttributesProcessor attributesProcessor, int cardinalityLimit)
-
-
Method Detail
-
getName
@Nullable public java.lang.String getName()
Description copied from class:ViewReturns the name of the resulting metric, ornullif the matched instrument name should be used.
-
getDescription
@Nullable public java.lang.String getDescription()
Description copied from class:ViewReturns the description of the resulting metric, ornullif the matched instrument description should be used.- Specified by:
getDescriptionin classView
-
getAggregation
public Aggregation getAggregation()
Description copied from class:ViewReturns the aggregation of the resulting metric.- Specified by:
getAggregationin classView
-
getAttributesProcessor
AttributesProcessor getAttributesProcessor()
Description copied from class:ViewReturns the attribute processor used for this view.- Specified by:
getAttributesProcessorin classView
-
getCardinalityLimit
public int getCardinalityLimit()
Description copied from class:ViewReturns the cardinality limit for this view.- Specified by:
getCardinalityLimitin classView
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-