Package io.opencensus.proto.metrics.v1
Interface DistributionValue.ExemplarOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DistributionValue.Exemplar,DistributionValue.Exemplar.Builder
- Enclosing class:
- DistributionValue
public static interface DistributionValue.ExemplarOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsAttachments(java.lang.String key)Contextual information about the example value.java.util.Map<java.lang.String,java.lang.String>getAttachments()Deprecated.intgetAttachmentsCount()Contextual information about the example value.java.util.Map<java.lang.String,java.lang.String>getAttachmentsMap()Contextual information about the example value.java.lang.StringgetAttachmentsOrDefault(java.lang.String key, java.lang.String defaultValue)Contextual information about the example value.java.lang.StringgetAttachmentsOrThrow(java.lang.String key)Contextual information about the example value.com.google.protobuf.TimestampgetTimestamp()The observation (sampling) time of the above value.com.google.protobuf.TimestampOrBuildergetTimestampOrBuilder()The observation (sampling) time of the above value.doublegetValue()Value of the exemplar point.booleanhasTimestamp()The observation (sampling) time of the above value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getValue
double getValue()
Value of the exemplar point. It determines which bucket the exemplar belongs to.
double value = 1;- Returns:
- The value.
-
hasTimestamp
boolean hasTimestamp()
The observation (sampling) time of the above value.
.google.protobuf.Timestamp timestamp = 2;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
com.google.protobuf.Timestamp getTimestamp()
The observation (sampling) time of the above value.
.google.protobuf.Timestamp timestamp = 2;- Returns:
- The timestamp.
-
getTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
The observation (sampling) time of the above value.
.google.protobuf.Timestamp timestamp = 2;
-
getAttachmentsCount
int getAttachmentsCount()
Contextual information about the example value.
map<string, string> attachments = 3;
-
containsAttachments
boolean containsAttachments(java.lang.String key)
Contextual information about the example value.
map<string, string> attachments = 3;
-
getAttachments
@Deprecated java.util.Map<java.lang.String,java.lang.String> getAttachments()
Deprecated.UsegetAttachmentsMap()instead.
-
getAttachmentsMap
java.util.Map<java.lang.String,java.lang.String> getAttachmentsMap()
Contextual information about the example value.
map<string, string> attachments = 3;
-
getAttachmentsOrDefault
java.lang.String getAttachmentsOrDefault(java.lang.String key, java.lang.String defaultValue)Contextual information about the example value.
map<string, string> attachments = 3;
-
getAttachmentsOrThrow
java.lang.String getAttachmentsOrThrow(java.lang.String key)
Contextual information about the example value.
map<string, string> attachments = 3;
-
-