Package io.opencensus.metrics.data
Class AutoValue_Exemplar
- java.lang.Object
-
- io.opencensus.metrics.data.Exemplar
-
- io.opencensus.metrics.data.AutoValue_Exemplar
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_Exemplar extends Exemplar
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,AttachmentValue>
attachments
private Timestamp
timestamp
private double
value
-
Constructor Summary
Constructors Constructor Description AutoValue_Exemplar(double value, Timestamp timestamp, java.util.Map<java.lang.String,AttachmentValue> attachments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.Map<java.lang.String,AttachmentValue>
getAttachments()
Returns the contextual information about the example value.Timestamp
getTimestamp()
Returns the time that thisExemplar
's value was recorded.double
getValue()
Returns value of theExemplar
point.int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
value
private final double value
-
timestamp
private final Timestamp timestamp
-
attachments
private final java.util.Map<java.lang.String,AttachmentValue> attachments
-
-
Constructor Detail
-
AutoValue_Exemplar
AutoValue_Exemplar(double value, Timestamp timestamp, java.util.Map<java.lang.String,AttachmentValue> attachments)
-
-
Method Detail
-
getValue
public double getValue()
Description copied from class:Exemplar
Returns value of theExemplar
point.
-
getTimestamp
public Timestamp getTimestamp()
Description copied from class:Exemplar
Returns the time that thisExemplar
's value was recorded.- Specified by:
getTimestamp
in classExemplar
- Returns:
- the time that this
Exemplar
's value was recorded.
-
getAttachments
public java.util.Map<java.lang.String,AttachmentValue> getAttachments()
Description copied from class:Exemplar
Returns the contextual information about the example value.- Specified by:
getAttachments
in classExemplar
- Returns:
- the contextual information about the example value.
-
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
-
-