Package com.google.api
Interface Distribution.ExemplarOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Distribution.Exemplar,Distribution.Exemplar.Builder
- Enclosing class:
- Distribution
public static interface Distribution.ExemplarOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.AnygetAttachments(int index) Contextual information about the example value.intContextual information about the example value.List<com.google.protobuf.Any>Contextual information about the example value.com.google.protobuf.AnyOrBuildergetAttachmentsOrBuilder(int index) Contextual information about the example value.List<? extends com.google.protobuf.AnyOrBuilder>Contextual information about the example value.com.google.protobuf.TimestampThe observation (sampling) time of the above value.com.google.protobuf.TimestampOrBuilderThe observation (sampling) time of the above value.doublegetValue()Value of the exemplar point.booleanThe observation (sampling) time of the above value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getValue
double getValue()Value of the exemplar point. This value determines to which bucket the exemplar belongs.
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; -
getAttachmentsList
List<com.google.protobuf.Any> getAttachmentsList()Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.repeated .google.protobuf.Any attachments = 3; -
getAttachments
com.google.protobuf.Any getAttachments(int index) Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.repeated .google.protobuf.Any attachments = 3; -
getAttachmentsCount
int getAttachmentsCount()Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.repeated .google.protobuf.Any attachments = 3; -
getAttachmentsOrBuilderList
List<? extends com.google.protobuf.AnyOrBuilder> getAttachmentsOrBuilderList()Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.repeated .google.protobuf.Any attachments = 3; -
getAttachmentsOrBuilder
com.google.protobuf.AnyOrBuilder getAttachmentsOrBuilder(int index) Contextual information about the example value. Examples are: Trace: type.googleapis.com/google.monitoring.v3.SpanContext Literal string: type.googleapis.com/google.protobuf.StringValue Labels dropped during aggregation: type.googleapis.com/google.monitoring.v3.DroppedLabels There may be only a single attachment of any given message type in a single exemplar, and this is enforced by the system.repeated .google.protobuf.Any attachments = 3;
-