Class Exemplar.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
- io.opentelemetry.proto.metrics.v1.Exemplar.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ExemplarOrBuilder,Cloneable
- Enclosing class:
- Exemplar
public static final class Exemplar.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder> implements ExemplarOrBuilder
A representation of an exemplar, which is a sample input measurement. Exemplars also hold information about the environment when the measurement was recorded, for example the span and trace ID of the active span when the exemplar was recorded.
Protobuf typeopentelemetry.proto.metrics.v1.Exemplar
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Exemplar.BuilderaddAllFilteredAttributes(Iterable<? extends KeyValue> values)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.Exemplar.BuilderaddAllFilteredLabels(Iterable<? extends StringKeyValue> values)Deprecated.Exemplar.BuilderaddFilteredAttributes(int index, KeyValue value)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.Exemplar.BuilderaddFilteredAttributes(int index, KeyValue.Builder builderForValue)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.Exemplar.BuilderaddFilteredAttributes(KeyValue value)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.Exemplar.BuilderaddFilteredAttributes(KeyValue.Builder builderForValue)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.KeyValue.BuilderaddFilteredAttributesBuilder()The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.KeyValue.BuilderaddFilteredAttributesBuilder(int index)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.Exemplar.BuilderaddFilteredLabels(int index, StringKeyValue value)Deprecated.Exemplar.BuilderaddFilteredLabels(int index, StringKeyValue.Builder builderForValue)Deprecated.Exemplar.BuilderaddFilteredLabels(StringKeyValue value)Deprecated.Exemplar.BuilderaddFilteredLabels(StringKeyValue.Builder builderForValue)Deprecated.StringKeyValue.BuilderaddFilteredLabelsBuilder()Deprecated.StringKeyValue.BuilderaddFilteredLabelsBuilder(int index)Deprecated.Exemplar.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Exemplarbuild()ExemplarbuildPartial()Exemplar.Builderclear()Exemplar.BuilderclearAsDouble()double as_double = 3;Exemplar.BuilderclearAsInt()sfixed64 as_int = 6;Exemplar.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Exemplar.BuilderclearFilteredAttributes()The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.Exemplar.BuilderclearFilteredLabels()Deprecated.Exemplar.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Exemplar.BuilderclearSpanId()(Optional) Span ID of the exemplar trace.Exemplar.BuilderclearTimeUnixNano()time_unix_nano is the exact time when this exemplar was recorded Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.Exemplar.BuilderclearTraceId()(Optional) Trace ID of the exemplar trace.Exemplar.BuilderclearValue()Exemplar.Builderclone()doublegetAsDouble()double as_double = 3;longgetAsInt()sfixed64 as_int = 6;ExemplargetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()KeyValuegetFilteredAttributes(int index)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.KeyValue.BuildergetFilteredAttributesBuilder(int index)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.List<KeyValue.Builder>getFilteredAttributesBuilderList()The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.intgetFilteredAttributesCount()The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.List<KeyValue>getFilteredAttributesList()The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.KeyValueOrBuildergetFilteredAttributesOrBuilder(int index)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.List<? extends KeyValueOrBuilder>getFilteredAttributesOrBuilderList()The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.StringKeyValuegetFilteredLabels(int index)Deprecated.StringKeyValue.BuildergetFilteredLabelsBuilder(int index)Deprecated.List<StringKeyValue.Builder>getFilteredLabelsBuilderList()Deprecated.intgetFilteredLabelsCount()Deprecated.List<StringKeyValue>getFilteredLabelsList()Deprecated.StringKeyValueOrBuildergetFilteredLabelsOrBuilder(int index)Deprecated.List<? extends StringKeyValueOrBuilder>getFilteredLabelsOrBuilderList()Deprecated.com.google.protobuf.ByteStringgetSpanId()(Optional) Span ID of the exemplar trace.longgetTimeUnixNano()time_unix_nano is the exact time when this exemplar was recorded Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.com.google.protobuf.ByteStringgetTraceId()(Optional) Trace ID of the exemplar trace.Exemplar.ValueCasegetValueCase()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Exemplar.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Exemplar.BuildermergeFrom(com.google.protobuf.Message other)Exemplar.BuildermergeFrom(Exemplar other)Exemplar.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Exemplar.BuilderremoveFilteredAttributes(int index)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.Exemplar.BuilderremoveFilteredLabels(int index)Deprecated.Exemplar.BuildersetAsDouble(double value)double as_double = 3;Exemplar.BuildersetAsInt(long value)sfixed64 as_int = 6;Exemplar.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Exemplar.BuildersetFilteredAttributes(int index, KeyValue value)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.Exemplar.BuildersetFilteredAttributes(int index, KeyValue.Builder builderForValue)The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement.Exemplar.BuildersetFilteredLabels(int index, StringKeyValue value)Deprecated.Exemplar.BuildersetFilteredLabels(int index, StringKeyValue.Builder builderForValue)Deprecated.Exemplar.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Exemplar.BuildersetSpanId(com.google.protobuf.ByteString value)(Optional) Span ID of the exemplar trace.Exemplar.BuildersetTimeUnixNano(long value)time_unix_nano is the exact time when this exemplar was recorded Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.Exemplar.BuildersetTraceId(com.google.protobuf.ByteString value)(Optional) Trace ID of the exemplar trace.Exemplar.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
clear
public Exemplar.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
getDefaultInstanceForType
public Exemplar getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Exemplar build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Exemplar buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Exemplar.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
setField
public Exemplar.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
clearField
public Exemplar.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
clearOneof
public Exemplar.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
setRepeatedField
public Exemplar.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
addRepeatedField
public Exemplar.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
mergeFrom
public Exemplar.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Exemplar.Builder>
-
mergeFrom
public Exemplar.Builder mergeFrom(Exemplar other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
mergeFrom
public Exemplar.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Exemplar.Builder>- Throws:
IOException
-
getValueCase
public Exemplar.ValueCase getValueCase()
- Specified by:
getValueCasein interfaceExemplarOrBuilder
-
clearValue
public Exemplar.Builder clearValue()
-
getFilteredAttributesList
public List<KeyValue> getFilteredAttributesList()
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;- Specified by:
getFilteredAttributesListin interfaceExemplarOrBuilder
-
getFilteredAttributesCount
public int getFilteredAttributesCount()
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;- Specified by:
getFilteredAttributesCountin interfaceExemplarOrBuilder
-
getFilteredAttributes
public KeyValue getFilteredAttributes(int index)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;- Specified by:
getFilteredAttributesin interfaceExemplarOrBuilder
-
setFilteredAttributes
public Exemplar.Builder setFilteredAttributes(int index, KeyValue value)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
setFilteredAttributes
public Exemplar.Builder setFilteredAttributes(int index, KeyValue.Builder builderForValue)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
addFilteredAttributes
public Exemplar.Builder addFilteredAttributes(KeyValue value)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
addFilteredAttributes
public Exemplar.Builder addFilteredAttributes(int index, KeyValue value)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
addFilteredAttributes
public Exemplar.Builder addFilteredAttributes(KeyValue.Builder builderForValue)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
addFilteredAttributes
public Exemplar.Builder addFilteredAttributes(int index, KeyValue.Builder builderForValue)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
addAllFilteredAttributes
public Exemplar.Builder addAllFilteredAttributes(Iterable<? extends KeyValue> values)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
clearFilteredAttributes
public Exemplar.Builder clearFilteredAttributes()
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
removeFilteredAttributes
public Exemplar.Builder removeFilteredAttributes(int index)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
getFilteredAttributesBuilder
public KeyValue.Builder getFilteredAttributesBuilder(int index)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
getFilteredAttributesOrBuilder
public KeyValueOrBuilder getFilteredAttributesOrBuilder(int index)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;- Specified by:
getFilteredAttributesOrBuilderin interfaceExemplarOrBuilder
-
getFilteredAttributesOrBuilderList
public List<? extends KeyValueOrBuilder> getFilteredAttributesOrBuilderList()
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;- Specified by:
getFilteredAttributesOrBuilderListin interfaceExemplarOrBuilder
-
addFilteredAttributesBuilder
public KeyValue.Builder addFilteredAttributesBuilder()
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
addFilteredAttributesBuilder
public KeyValue.Builder addFilteredAttributesBuilder(int index)
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
getFilteredAttributesBuilderList
public List<KeyValue.Builder> getFilteredAttributesBuilderList()
The set of key/value pairs that were filtered out by the aggregator, but recorded alongside the original measurement. Only key/value pairs that were filtered out by the aggregator should be included
repeated .opentelemetry.proto.common.v1.KeyValue filtered_attributes = 7;
-
getFilteredLabelsList
@Deprecated public List<StringKeyValue> getFilteredLabelsList()
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];- Specified by:
getFilteredLabelsListin interfaceExemplarOrBuilder
-
getFilteredLabelsCount
@Deprecated public int getFilteredLabelsCount()
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];- Specified by:
getFilteredLabelsCountin interfaceExemplarOrBuilder
-
getFilteredLabels
@Deprecated public StringKeyValue getFilteredLabels(int index)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];- Specified by:
getFilteredLabelsin interfaceExemplarOrBuilder
-
setFilteredLabels
@Deprecated public Exemplar.Builder setFilteredLabels(int index, StringKeyValue value)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
setFilteredLabels
@Deprecated public Exemplar.Builder setFilteredLabels(int index, StringKeyValue.Builder builderForValue)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
addFilteredLabels
@Deprecated public Exemplar.Builder addFilteredLabels(StringKeyValue value)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
addFilteredLabels
@Deprecated public Exemplar.Builder addFilteredLabels(int index, StringKeyValue value)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
addFilteredLabels
@Deprecated public Exemplar.Builder addFilteredLabels(StringKeyValue.Builder builderForValue)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
addFilteredLabels
@Deprecated public Exemplar.Builder addFilteredLabels(int index, StringKeyValue.Builder builderForValue)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
addAllFilteredLabels
@Deprecated public Exemplar.Builder addAllFilteredLabels(Iterable<? extends StringKeyValue> values)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
clearFilteredLabels
@Deprecated public Exemplar.Builder clearFilteredLabels()
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
removeFilteredLabels
@Deprecated public Exemplar.Builder removeFilteredLabels(int index)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
getFilteredLabelsBuilder
@Deprecated public StringKeyValue.Builder getFilteredLabelsBuilder(int index)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
getFilteredLabelsOrBuilder
@Deprecated public StringKeyValueOrBuilder getFilteredLabelsOrBuilder(int index)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];- Specified by:
getFilteredLabelsOrBuilderin interfaceExemplarOrBuilder
-
getFilteredLabelsOrBuilderList
@Deprecated public List<? extends StringKeyValueOrBuilder> getFilteredLabelsOrBuilderList()
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];- Specified by:
getFilteredLabelsOrBuilderListin interfaceExemplarOrBuilder
-
addFilteredLabelsBuilder
@Deprecated public StringKeyValue.Builder addFilteredLabelsBuilder()
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
addFilteredLabelsBuilder
@Deprecated public StringKeyValue.Builder addFilteredLabelsBuilder(int index)
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
getFilteredLabelsBuilderList
@Deprecated public List<StringKeyValue.Builder> getFilteredLabelsBuilderList()
Deprecated.Labels is deprecated and will be removed soon. 1. Old senders and receivers that are not aware of this change will continue using the `filtered_labels` field. 2. New senders, which are aware of this change MUST send only `filtered_attributes`. 3. New receivers, which are aware of this change MUST convert this into `filtered_labels` by simply converting all int64 values into float. This field will be removed in ~3 months, on July 1, 2021.
repeated .opentelemetry.proto.common.v1.StringKeyValue filtered_labels = 1 [deprecated = true];
-
getTimeUnixNano
public long getTimeUnixNano()
time_unix_nano is the exact time when this exemplar was recorded Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
fixed64 time_unix_nano = 2;- Specified by:
getTimeUnixNanoin interfaceExemplarOrBuilder
-
setTimeUnixNano
public Exemplar.Builder setTimeUnixNano(long value)
time_unix_nano is the exact time when this exemplar was recorded Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
fixed64 time_unix_nano = 2;
-
clearTimeUnixNano
public Exemplar.Builder clearTimeUnixNano()
time_unix_nano is the exact time when this exemplar was recorded Value is UNIX Epoch time in nanoseconds since 00:00:00 UTC on 1 January 1970.
fixed64 time_unix_nano = 2;
-
getAsDouble
public double getAsDouble()
double as_double = 3;- Specified by:
getAsDoublein interfaceExemplarOrBuilder
-
setAsDouble
public Exemplar.Builder setAsDouble(double value)
double as_double = 3;
-
clearAsDouble
public Exemplar.Builder clearAsDouble()
double as_double = 3;
-
getAsInt
public long getAsInt()
sfixed64 as_int = 6;- Specified by:
getAsIntin interfaceExemplarOrBuilder
-
setAsInt
public Exemplar.Builder setAsInt(long value)
sfixed64 as_int = 6;
-
clearAsInt
public Exemplar.Builder clearAsInt()
sfixed64 as_int = 6;
-
getSpanId
public com.google.protobuf.ByteString getSpanId()
(Optional) Span ID of the exemplar trace. span_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled.
bytes span_id = 4;- Specified by:
getSpanIdin interfaceExemplarOrBuilder
-
setSpanId
public Exemplar.Builder setSpanId(com.google.protobuf.ByteString value)
(Optional) Span ID of the exemplar trace. span_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled.
bytes span_id = 4;
-
clearSpanId
public Exemplar.Builder clearSpanId()
(Optional) Span ID of the exemplar trace. span_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled.
bytes span_id = 4;
-
getTraceId
public com.google.protobuf.ByteString getTraceId()
(Optional) Trace ID of the exemplar trace. trace_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled.
bytes trace_id = 5;- Specified by:
getTraceIdin interfaceExemplarOrBuilder
-
setTraceId
public Exemplar.Builder setTraceId(com.google.protobuf.ByteString value)
(Optional) Trace ID of the exemplar trace. trace_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled.
bytes trace_id = 5;
-
clearTraceId
public Exemplar.Builder clearTraceId()
(Optional) Trace ID of the exemplar trace. trace_id may be missing if the measurement is not recorded inside a trace or if the trace is not sampled.
bytes trace_id = 5;
-
setUnknownFields
public final Exemplar.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
mergeUnknownFields
public final Exemplar.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Exemplar.Builder>
-
-