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 Aggregation
aggregation
private AttributesProcessor
attributesProcessor
private int
cardinalityLimit
private java.lang.String
description
private java.lang.String
name
-
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 boolean
equals(java.lang.Object o)
Aggregation
getAggregation()
Returns the aggregation of the resulting metric.(package private) AttributesProcessor
getAttributesProcessor()
Returns the attribute processor used for this view.int
getCardinalityLimit()
Returns the cardinality limit for this view.java.lang.String
getDescription()
Returns the description of the resulting metric, ornull
if the matched instrument description should be used.java.lang.String
getName()
Returns the name of the resulting metric, ornull
if the matched instrument name should be used.int
hashCode()
-
-
-
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:View
Returns the name of the resulting metric, ornull
if the matched instrument name should be used.
-
getDescription
@Nullable public java.lang.String getDescription()
Description copied from class:View
Returns the description of the resulting metric, ornull
if the matched instrument description should be used.- Specified by:
getDescription
in classView
-
getAggregation
public Aggregation getAggregation()
Description copied from class:View
Returns the aggregation of the resulting metric.- Specified by:
getAggregation
in classView
-
getAttributesProcessor
AttributesProcessor getAttributesProcessor()
Description copied from class:View
Returns the attribute processor used for this view.- Specified by:
getAttributesProcessor
in classView
-
getCardinalityLimit
public int getCardinalityLimit()
Description copied from class:View
Returns the cardinality limit for this view.- Specified by:
getCardinalityLimit
in classView
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-