public static final class DroppedLabelsOuterClass.DroppedLabels extends com.google.protobuf.GeneratedMessageV3 implements DroppedLabelsOuterClass.DroppedLabelsOrBuilder
A set of (label, value) pairs which were dropped during aggregation, attached to google.api.Distribution.Exemplars in google.api.Distribution values during aggregation. These values are used in combination with the label values that remain on the aggregated Distribution timeseries to construct the full label set for the exemplar values. The resulting full label set may be used to identify the specific task/job/instance (for example) which may be contributing to a long-tail, while allowing the storage savings of only storing aggregated distribution values for a large group. 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 |
DroppedLabelsOuterClass.DroppedLabels.Builder
A set of (label, value) pairs which were dropped during aggregation, attached
to google.api.Distribution.Exemplars in google.api.Distribution values during
aggregation.
|
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 DroppedLabelsOuterClass.DroppedLabels |
getDefaultInstance() |
DroppedLabelsOuterClass.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<DroppedLabelsOuterClass.DroppedLabels> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static DroppedLabelsOuterClass.DroppedLabels.Builder |
newBuilder() |
static DroppedLabelsOuterClass.DroppedLabels.Builder |
newBuilder(DroppedLabelsOuterClass.DroppedLabels prototype) |
DroppedLabelsOuterClass.DroppedLabels.Builder |
newBuilderForType() |
protected DroppedLabelsOuterClass.DroppedLabels.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static DroppedLabelsOuterClass.DroppedLabels |
parseDelimitedFrom(InputStream input) |
static DroppedLabelsOuterClass.DroppedLabels |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DroppedLabelsOuterClass.DroppedLabels |
parseFrom(byte[] data) |
static DroppedLabelsOuterClass.DroppedLabels |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DroppedLabelsOuterClass.DroppedLabels |
parseFrom(ByteBuffer data) |
static DroppedLabelsOuterClass.DroppedLabels |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DroppedLabelsOuterClass.DroppedLabels |
parseFrom(com.google.protobuf.ByteString data) |
static DroppedLabelsOuterClass.DroppedLabels |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DroppedLabelsOuterClass.DroppedLabels |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DroppedLabelsOuterClass.DroppedLabels |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DroppedLabelsOuterClass.DroppedLabels |
parseFrom(InputStream input) |
static DroppedLabelsOuterClass.DroppedLabels |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DroppedLabelsOuterClass.DroppedLabels> |
parser() |
DroppedLabelsOuterClass.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, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, 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
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getLabelCount()
DroppedLabelsOuterClass.DroppedLabelsOrBuilderMap from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;getLabelCount in interface DroppedLabelsOuterClass.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 DroppedLabelsOuterClass.DroppedLabelsOrBuilder@Deprecated public Map<String,String> getLabel()
getLabelMap() instead.getLabel in interface DroppedLabelsOuterClass.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 DroppedLabelsOuterClass.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 DroppedLabelsOuterClass.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 DroppedLabelsOuterClass.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 DroppedLabelsOuterClass.DroppedLabels parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseFrom(InputStream input) throws IOException
IOExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DroppedLabelsOuterClass.DroppedLabels parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic DroppedLabelsOuterClass.DroppedLabels.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DroppedLabelsOuterClass.DroppedLabels.Builder newBuilder()
public static DroppedLabelsOuterClass.DroppedLabels.Builder newBuilder(DroppedLabelsOuterClass.DroppedLabels prototype)
public DroppedLabelsOuterClass.DroppedLabels.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DroppedLabelsOuterClass.DroppedLabels.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DroppedLabelsOuterClass.DroppedLabels getDefaultInstance()
public static com.google.protobuf.Parser<DroppedLabelsOuterClass.DroppedLabels> parser()
public com.google.protobuf.Parser<DroppedLabelsOuterClass.DroppedLabels> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DroppedLabelsOuterClass.DroppedLabels getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.