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 Aggregation
aggregation
private java.util.List<TagKey>
columns
private java.lang.String
description
private Measure
measure
private View.Name
name
private View.AggregationWindow
window
-
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 boolean
equals(java.lang.Object o)
Aggregation
getAggregation()
TheAggregation
associated with thisView
.java.util.List<TagKey>
getColumns()
Columns (a.k.a Tag Keys) to match with the associatedMeasure
.java.lang.String
getDescription()
More detailed description, for documentation purposes.Measure
getMeasure()
Measure type of this view.View.Name
getName()
Name of view.View.AggregationWindow
getWindow()
Deprecated.int
hashCode()
java.lang.String
toString()
-
-
-
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:View
Name of view. Must be unique.
-
getDescription
public java.lang.String getDescription()
Description copied from class:View
More detailed description, for documentation purposes.- Specified by:
getDescription
in classView
-
getMeasure
public Measure getMeasure()
Description copied from class:View
Measure type of this view.- Specified by:
getMeasure
in classView
-
getAggregation
public Aggregation getAggregation()
Description copied from class:View
TheAggregation
associated with thisView
.- Specified by:
getAggregation
in classView
-
getColumns
public java.util.List<TagKey> getColumns()
Description copied from class:View
Columns (a.k.a Tag Keys) to match with the associatedMeasure
.Measure
will 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:
getColumns
in classView
-
getWindow
@Deprecated public View.AggregationWindow getWindow()
Deprecated.Description copied from class:View
Returns the timeView.AggregationWindow
for thisView
.- Specified by:
getWindow
in classView
- Returns:
- the time
View.AggregationWindow
.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-