Send feedback
Class DroppedLabelsOuterClass.DroppedLabels.Builder (3.38.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.38.0 keyboard_arrow_down
public static final class DroppedLabelsOuterClass . DroppedLabels . Builder extends GeneratedMessageV3 . Builder<DroppedLabelsOuterClass . DroppedLabels . Builder > 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DroppedLabelsOuterClass . DroppedLabels . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public DroppedLabelsOuterClass . DroppedLabels build ()
buildPartial()
public DroppedLabelsOuterClass . DroppedLabels buildPartial ()
clear()
public DroppedLabelsOuterClass . DroppedLabels . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DroppedLabelsOuterClass . DroppedLabels . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearLabel()
public DroppedLabelsOuterClass . DroppedLabels . Builder clearLabel ()
clearOneof(Descriptors.OneofDescriptor oneof)
public DroppedLabelsOuterClass . DroppedLabels . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clone()
public DroppedLabelsOuterClass . DroppedLabels . Builder clone ()
Overrides
containsLabel(String key)
public boolean containsLabel ( String key )
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;
Parameter Name Description key
String
getDefaultInstanceForType()
public DroppedLabelsOuterClass . DroppedLabels getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getLabel() (deprecated)
public Map<String , String > getLabel ()
getLabelCount()
public int getLabelCount ()
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;
Returns Type Description int
getLabelMap()
public Map<String , String > getLabelMap ()
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;
getLabelOrDefault(String key, String defaultValue)
public String getLabelOrDefault ( String key , String defaultValue )
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;
getLabelOrThrow(String key)
public String getLabelOrThrow ( String key )
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;
Parameter Name Description key
String
getMutableLabel() (deprecated)
public Map<String , String > getMutableLabel ()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter Name Description number
int
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField ( int number )
Parameter Name Description number
int
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
public DroppedLabelsOuterClass . DroppedLabels . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public DroppedLabelsOuterClass . DroppedLabels . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeFrom(DroppedLabelsOuterClass.DroppedLabels other)
public DroppedLabelsOuterClass . DroppedLabels . Builder mergeFrom ( DroppedLabelsOuterClass . DroppedLabels other )
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DroppedLabelsOuterClass . DroppedLabels . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
putAllLabel(Map<String,String> values)
public DroppedLabelsOuterClass . DroppedLabels . Builder putAllLabel ( Map<String , String > values )
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;
putLabel(String key, String value)
public DroppedLabelsOuterClass . DroppedLabels . Builder putLabel ( String key , String value )
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;
removeLabel(String key)
public DroppedLabelsOuterClass . DroppedLabels . Builder removeLabel ( String key )
Map from label to its value, for all labels dropped in any aggregation.
map<string, string> label = 1;
Parameter Name Description key
String
setField(Descriptors.FieldDescriptor field, Object value)
public DroppedLabelsOuterClass . DroppedLabels . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DroppedLabelsOuterClass . DroppedLabels . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DroppedLabelsOuterClass . DroppedLabels . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]