public final class DroppedLabels extends com.google.protobuf.GeneratedMessageV3 implements DroppedLabelsOrBuilder
A set of (label, value) pairs that were removed from a Distribution time series during aggregation and then added as an attachment to a Distribution.Exemplar. The full label set for the exemplars is constructed by using the dropped pairs in combination with the label values that remain on the aggregated Distribution time series. The constructed full label set can be used to identify the specific entity, such as the instance or job, which might be contributing to a long-tail. However, with dropped labels, the storage requirements are reduced because only the aggregated distribution values for a large group of time series are stored. Note that there are no guarantees on ordering of the labels from exemplar-to-exemplar and from distribution-to-distribution in the same stream, and there may be duplicates. It is up to clients to resolve any ambiguities.Protobuf type
google.monitoring.v3.DroppedLabels| Modifier and Type | Class and Description |
|---|---|
static class |
DroppedLabels.Builder
A set of (label, value) pairs that were removed from a Distribution
time series during aggregation and then added as an attachment to a
Distribution.Exemplar.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
LABEL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabel(String key)
Map from label to its value, for all labels dropped in any aggregation.
|
boolean |
equals(Object obj) |
static DroppedLabels |
getDefaultInstance() |
DroppedLabels |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getLabel()
Deprecated.
|
int |
getLabelCount()
Map from label to its value, for all labels dropped in any aggregation.
|
Map<String,String> |
getLabelMap()
Map from label to its value, for all labels dropped in any aggregation.
|
String |
getLabelOrDefault(String key,
String defaultValue)
Map from label to its value, for all labels dropped in any aggregation.
|
String |
getLabelOrThrow(String key)
Map from label to its value, for all labels dropped in any aggregation.
|
com.google.protobuf.Parser<DroppedLabels> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static DroppedLabels.Builder |
newBuilder() |
static DroppedLabels.Builder |
newBuilder(DroppedLabels prototype) |
DroppedLabels.Builder |
newBuilderForType() |
protected DroppedLabels.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DroppedLabels |
parseDelimitedFrom(InputStream input) |
static DroppedLabels |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DroppedLabels |
parseFrom(byte[] data) |
static DroppedLabels |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DroppedLabels |
parseFrom(ByteBuffer data) |
static DroppedLabels |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DroppedLabels |
parseFrom(com.google.protobuf.ByteString data) |
static DroppedLabels |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DroppedLabels |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DroppedLabels |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DroppedLabels |
parseFrom(InputStream input) |
static DroppedLabels |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DroppedLabels> |
parser() |
DroppedLabels.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LABEL_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getLabelCount()
DroppedLabelsOrBuilderMap from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;getLabelCount in interface DroppedLabelsOrBuilderpublic boolean containsLabel(String key)
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;containsLabel in interface DroppedLabelsOrBuilder@Deprecated public Map<String,String> getLabel()
getLabelMap() instead.getLabel in interface DroppedLabelsOrBuilderpublic Map<String,String> getLabelMap()
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;getLabelMap in interface DroppedLabelsOrBuilderpublic String getLabelOrDefault(String key, String defaultValue)
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;getLabelOrDefault in interface DroppedLabelsOrBuilderpublic String getLabelOrThrow(String key)
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;getLabelOrThrow in interface DroppedLabelsOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DroppedLabels parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabels parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabels parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabels parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabels parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabels parseFrom(InputStream input) throws IOException
IOExceptionpublic static DroppedLabels parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DroppedLabels parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DroppedLabels parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DroppedLabels parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DroppedLabels parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DroppedLabels.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DroppedLabels.Builder newBuilder()
public static DroppedLabels.Builder newBuilder(DroppedLabels prototype)
public DroppedLabels.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DroppedLabels.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DroppedLabels getDefaultInstance()
public static com.google.protobuf.Parser<DroppedLabels> parser()
public com.google.protobuf.Parser<DroppedLabels> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DroppedLabels getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.