Class DroppedLabelsOuterClass.DroppedLabels.Builder (3.7.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.7.0keyboard_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.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 ()  
  Returns 
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  build() 
  
    
public   DroppedLabelsOuterClass . DroppedLabels   build ()  
  Returns 
  
  buildPartial() 
  
    
public   DroppedLabelsOuterClass . DroppedLabels   buildPartial ()  
  Returns 
  
  clear() 
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   clear ()  
  Returns 
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clearLabel() 
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   clearLabel ()  
  Returns 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clone() 
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   clone ()  
  Returns 
  
  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 
  
  Returns 
  
  getDefaultInstanceForType() 
  
    
public   DroppedLabelsOuterClass . DroppedLabels   getDefaultInstanceForType ()  
  Returns 
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  Returns 
  
  Overrides 
  
  getLabel() 
  
    
public   Map<String , String >  getLabel ()  
  
  Returns 
  
  getLabelCount() 
  
    
public   int   getLabelCount ()  
   Map from label to its value, for all labels dropped in any aggregation.
 map<string, string> label = 1;
Returns 
  
  getLabelMap() 
  
    
public   Map<String , String >  getLabelMap ()  
   Map from label to its value, for all labels dropped in any aggregation.
 map<string, string> label = 1;
Returns 
  
  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;
Parameters 
  
  Returns 
  
  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 
  
  Returns 
  
  getMutableLabel() 
  
    
public   Map<String , String >  getMutableLabel ()  
  Use alternate mutation accessors instead.
Returns 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  internalGetMapField(int number) 
  
    
protected   MapField   internalGetMapField ( int   number )  
  Parameter 
  
    
      
        Name Description  
      
        number int  
     
  
  Returns 
  
  Overrides 
  
  internalGetMutableMapField(int number) 
  
    
protected   MapField   internalGetMutableMapField ( int   number )  
  Parameter 
  
    
      
        Name Description  
      
        number int  
     
  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
  mergeFrom(Message other) 
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   mergeFrom ( Message   other )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  mergeFrom(DroppedLabelsOuterClass.DroppedLabels other) 
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   mergeFrom ( DroppedLabelsOuterClass . DroppedLabels   other )  
  Parameter 
  
  Returns 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   DroppedLabelsOuterClass . DroppedLabels . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  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;
Parameter 
  
  Returns 
  
  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;
Parameters 
  
  Returns 
  
  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 
  
  Returns 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   DroppedLabelsOuterClass . DroppedLabels . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   DroppedLabelsOuterClass . DroppedLabels . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]