Class AutoValue_View

java.lang.Object
io.opentelemetry.sdk.metrics.View
io.opentelemetry.sdk.metrics.AutoValue_View

final class AutoValue_View extends View
  • Field Details

    • name

      private final String name
    • description

      private final String description
    • aggregation

      private final Aggregation aggregation
    • attributesProcessor

      private final AttributesProcessor attributesProcessor
    • cardinalityLimit

      private final int cardinalityLimit
  • Constructor Details

  • Method Details

    • getName

      @Nullable public String getName()
      Description copied from class: View
      Returns the name of the resulting metric, or null if the matched instrument name should be used.
      Specified by:
      getName in class View
    • getDescription

      @Nullable public String getDescription()
      Description copied from class: View
      Returns the description of the resulting metric, or null if the matched instrument description should be used.
      Specified by:
      getDescription in class View
    • getAggregation

      public Aggregation getAggregation()
      Description copied from class: View
      Returns the aggregation of the resulting metric.
      Specified by:
      getAggregation in class View
    • getAttributesProcessor

      AttributesProcessor getAttributesProcessor()
      Description copied from class: View
      Returns the attribute processor used for this view.
      Specified by:
      getAttributesProcessor in class View
    • getCardinalityLimit

      public int getCardinalityLimit()
      Description copied from class: View
      Returns the cardinality limit for this view.
      Specified by:
      getCardinalityLimit in class View
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object