public static interface Distribution.ExemplarOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAttachments(int index)
public abstract 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;
Name | Description |
index | int |
Type | Description |
Any |
getAttachmentsCount()
public abstract 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;
Type | Description |
int |
getAttachmentsList()
public abstract List<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;
Type | Description |
List<Any> |
getAttachmentsOrBuilder(int index)
public abstract 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;
Name | Description |
index | int |
Type | Description |
AnyOrBuilder |
getAttachmentsOrBuilderList()
public abstract List<? extends 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;
Type | Description |
List<? extends com.google.protobuf.AnyOrBuilder> |
getTimestamp()
public abstract Timestamp getTimestamp()
The observation (sampling) time of the above value.
.google.protobuf.Timestamp timestamp = 2;
Type | Description |
Timestamp | The timestamp. |
getTimestampOrBuilder()
public abstract TimestampOrBuilder getTimestampOrBuilder()
The observation (sampling) time of the above value.
.google.protobuf.Timestamp timestamp = 2;
Type | Description |
TimestampOrBuilder |
getValue()
public abstract double getValue()
Value of the exemplar point. This value determines to which bucket the exemplar belongs.
double value = 1;
Type | Description |
double | The value. |
hasTimestamp()
public abstract boolean hasTimestamp()
The observation (sampling) time of the above value.
.google.protobuf.Timestamp timestamp = 2;
Type | Description |
boolean | Whether the timestamp field is set. |