Package io.opencensus.stats
Class AutoValue_View
- java.lang.Object
-
- io.opencensus.stats.View
-
- io.opencensus.stats.AutoValue_View
-
@Immutable @Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_View extends View
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.opencensus.stats.View
View.AggregationWindow, View.Name
-
-
Field Summary
Fields Modifier and Type Field Description private Aggregationaggregationprivate java.util.List<TagKey>columnsprivate java.lang.Stringdescriptionprivate Measuremeasureprivate View.Namenameprivate View.AggregationWindowwindow-
Fields inherited from class io.opencensus.stats.View
NAME_MAX_LENGTH
-
-
Constructor Summary
Constructors Constructor Description AutoValue_View(View.Name name, java.lang.String description, Measure measure, Aggregation aggregation, java.util.List<TagKey> columns, View.AggregationWindow window)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object o)AggregationgetAggregation()TheAggregationassociated with thisView.java.util.List<TagKey>getColumns()Columns (a.k.a Tag Keys) to match with the associatedMeasure.java.lang.StringgetDescription()More detailed description, for documentation purposes.MeasuregetMeasure()Measure type of this view.View.NamegetName()Name of view.View.AggregationWindowgetWindow()Deprecated.inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
name
private final View.Name name
-
description
private final java.lang.String description
-
measure
private final Measure measure
-
aggregation
private final Aggregation aggregation
-
columns
private final java.util.List<TagKey> columns
-
window
private final View.AggregationWindow window
-
-
Constructor Detail
-
AutoValue_View
AutoValue_View(View.Name name, java.lang.String description, Measure measure, Aggregation aggregation, java.util.List<TagKey> columns, View.AggregationWindow window)
-
-
Method Detail
-
getName
public View.Name getName()
Description copied from class:ViewName of view. Must be unique.
-
getDescription
public java.lang.String getDescription()
Description copied from class:ViewMore detailed description, for documentation purposes.- Specified by:
getDescriptionin classView
-
getMeasure
public Measure getMeasure()
Description copied from class:ViewMeasure type of this view.- Specified by:
getMeasurein classView
-
getAggregation
public Aggregation getAggregation()
Description copied from class:ViewTheAggregationassociated with thisView.- Specified by:
getAggregationin classView
-
getColumns
public java.util.List<TagKey> getColumns()
Description copied from class:ViewColumns (a.k.a Tag Keys) to match with the associatedMeasure.Measurewill be recorded in a "greedy" way. That is, every view aggregates every measure. This is similar to doing a GROUPBY on view’s columns. Columns must be unique.- Specified by:
getColumnsin classView
-
getWindow
@Deprecated public View.AggregationWindow getWindow()
Deprecated.Description copied from class:ViewReturns the timeView.AggregationWindowfor thisView.- Specified by:
getWindowin classView- Returns:
- the time
View.AggregationWindow.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-