Package io.opencensus.stats
Class AutoValue_Measure_MeasureDouble
java.lang.Object
io.opencensus.stats.Measure
io.opencensus.stats.Measure.MeasureDouble
io.opencensus.stats.AutoValue_Measure_MeasureDouble
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_Measure_MeasureDouble
extends Measure.MeasureDouble
-
Nested Class Summary
Nested classes/interfaces inherited from class io.opencensus.stats.Measure
Measure.MeasureDouble, Measure.MeasureLong
-
Field Summary
FieldsFields inherited from class io.opencensus.stats.Measure
NAME_MAX_LENGTH
-
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_Measure_MeasureDouble
(String name, String description, String unit) -
Method Summary
Methods inherited from class io.opencensus.stats.Measure.MeasureDouble
create, match
-
Field Details
-
name
-
description
-
unit
-
-
Constructor Details
-
AutoValue_Measure_MeasureDouble
-
-
Method Details
-
getName
Description copied from class:Measure
Name of measure, as aString
. Should be a ASCII string with a length no greater than 255 characters.Suggested format for name:
<web_host>/<path>
.- Specified by:
getName
in classMeasure.MeasureDouble
-
getDescription
Description copied from class:Measure
Detailed description of the measure, used in documentation.- Specified by:
getDescription
in classMeasure.MeasureDouble
-
getUnit
Description copied from class:Measure
The units in whichMeasure
values are measured.The suggested grammar for a unit is as follows:
- Expression = Component { "." Component } {"/" Component };
- Component = [ PREFIX ] UNIT [ Annotation ] | Annotation | "1";
- Annotation = "{" NAME "}" ;
For example, string “MBy{transmitted}/ms” stands for megabytes per milliseconds, and the annotation transmitted inside {} is just a comment of the unit.
- Specified by:
getUnit
in classMeasure.MeasureDouble
-
toString
-
equals
-
hashCode
public int hashCode()
-