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(String key)Contextual information about the example value.Map<String,String>getAttachments()Deprecated.intgetAttachmentsCount()Contextual information about the example value.Map<String,String>getAttachmentsMap()Contextual information about the example value.StringgetAttachmentsOrDefault(String key, String defaultValue)Contextual information about the example value.StringgetAttachmentsOrThrow(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(String key)
Contextual information about the example value.
map<string, string> attachments = 3;
-
getAttachments
@Deprecated Map<String,String> getAttachments()
Deprecated.UsegetAttachmentsMap()instead.
-
getAttachmentsMap
Map<String,String> getAttachmentsMap()
Contextual information about the example value.
map<string, string> attachments = 3;
-
getAttachmentsOrDefault
String getAttachmentsOrDefault(String key, String defaultValue)
Contextual information about the example value.
map<string, string> attachments = 3;
-
-