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>attachmentsprivate Timestamptimestampprivate doublevalue
-
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 booleanequals(java.lang.Object o)java.util.Map<java.lang.String,AttachmentValue>getAttachments()Returns the contextual information about the example value.TimestampgetTimestamp()Returns the time that thisExemplar's value was recorded.doublegetValue()Returns value of theExemplarpoint.inthashCode()java.lang.StringtoString()
-
-
-
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:ExemplarReturns value of theExemplarpoint.
-
getTimestamp
public Timestamp getTimestamp()
Description copied from class:ExemplarReturns the time that thisExemplar's value was recorded.- Specified by:
getTimestampin 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:ExemplarReturns the contextual information about the example value.- Specified by:
getAttachmentsin classExemplar- Returns:
- the contextual information about the example value.
-
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
-
-