Class ListExclusionsResponse.Builder (3.17.2) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.17.2keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  ListExclusionsResponse . Builder   extends   GeneratedMessageV3 . Builder<ListExclusionsResponse . Builder >  implements   ListExclusionsResponseOrBuilder  
   Result returned from ListExclusions.
 Protobuf type google.logging.v2.ListExclusionsResponse
    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
   
  addAllExclusions(Iterable<? extends LogExclusion> values) 
  
    
public   ListExclusionsResponse . Builder   addAllExclusions ( Iterable <?   extends   LogExclusion >  values )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
    
      
        Parameter  
      
        Name Description  
      
        valuesIterable <? extends com.google.logging.v2.LogExclusion > 
     
  
  
  addExclusions(LogExclusion value) 
  
    
public   ListExclusionsResponse . Builder   addExclusions ( LogExclusion   value )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
addExclusions(LogExclusion.Builder builderForValue) 
  
    
public   ListExclusionsResponse . Builder   addExclusions ( LogExclusion . Builder   builderForValue )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
addExclusions(int index, LogExclusion value) 
  
    
public   ListExclusionsResponse . Builder   addExclusions ( int   index ,   LogExclusion   value )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
addExclusions(int index, LogExclusion.Builder builderForValue) 
  
    
public   ListExclusionsResponse . Builder   addExclusions ( int   index ,   LogExclusion . Builder   builderForValue )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
addExclusionsBuilder() 
  
    
public   LogExclusion . Builder   addExclusionsBuilder ()  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
addExclusionsBuilder(int index) 
  
    
public   LogExclusion . Builder   addExclusionsBuilder ( int   index )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ListExclusionsResponse . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ListExclusionsResponse   build ()  
  
  buildPartial() 
  
    
public   ListExclusionsResponse   buildPartial ()  
  
  clear() 
  
    
public   ListExclusionsResponse . Builder   clear ()  
  
  Overrides 
  
  clearExclusions() 
  
    
public   ListExclusionsResponse . Builder   clearExclusions ()  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   ListExclusionsResponse . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearNextPageToken() 
  
    
public   ListExclusionsResponse . Builder   clearNextPageToken ()  
   If there might be more results than appear in this response, then
 nextPageToken is included. To get the next set of results, call the same
 method again using the value of nextPageToken as pageToken.
 string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ListExclusionsResponse . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   ListExclusionsResponse . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   ListExclusionsResponse   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getExclusions(int index) 
  
    
public   LogExclusion   getExclusions ( int   index )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getExclusionsBuilder(int index) 
  
    
public   LogExclusion . Builder   getExclusionsBuilder ( int   index )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getExclusionsBuilderList() 
  
    
public   List<LogExclusion . Builder >  getExclusionsBuilderList ()  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
getExclusionsCount() 
  
    
public   int   getExclusionsCount ()  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getExclusionsList() 
  
    
public   List<LogExclusion>   getExclusionsList ()  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
getExclusionsOrBuilder(int index) 
  
    
public   LogExclusionOrBuilder   getExclusionsOrBuilder ( int   index )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getExclusionsOrBuilderList() 
  
    
public   List <?   extends   LogExclusionOrBuilder >  getExclusionsOrBuilderList ()  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.logging.v2.LogExclusionOrBuilder > 
     
  
  getNextPageToken() 
  
    
public   String   getNextPageToken ()  
   If there might be more results than appear in this response, then
 nextPageToken is included. To get the next set of results, call the same
 method again using the value of nextPageToken as pageToken.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        String The nextPageToken.
 
     
  
  getNextPageTokenBytes() 
  
    
public   ByteString   getNextPageTokenBytes ()  
   If there might be more results than appear in this response, then
 nextPageToken is included. To get the next set of results, call the same
 method again using the value of nextPageToken as pageToken.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for nextPageToken.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(ListExclusionsResponse other) 
  
    
public   ListExclusionsResponse . Builder   mergeFrom ( ListExclusionsResponse   other )  
  
  
  
    
public   ListExclusionsResponse . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ListExclusionsResponse . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ListExclusionsResponse . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  removeExclusions(int index) 
  
    
public   ListExclusionsResponse . Builder   removeExclusions ( int   index )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  setExclusions(int index, LogExclusion value) 
  
    
public   ListExclusionsResponse . Builder   setExclusions ( int   index ,   LogExclusion   value )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
setExclusions(int index, LogExclusion.Builder builderForValue) 
  
    
public   ListExclusionsResponse . Builder   setExclusions ( int   index ,   LogExclusion . Builder   builderForValue )  
   A list of exclusions.
 repeated .google.logging.v2.LogExclusion exclusions = 1;
setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ListExclusionsResponse . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setNextPageToken(String value) 
  
    
public   ListExclusionsResponse . Builder   setNextPageToken ( String   value )  
   If there might be more results than appear in this response, then
 nextPageToken is included. To get the next set of results, call the same
 method again using the value of nextPageToken as pageToken.
 string next_page_token = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The nextPageToken to set.
 
     
  
  
  setNextPageTokenBytes(ByteString value) 
  
    
public   ListExclusionsResponse . Builder   setNextPageTokenBytes ( ByteString   value )  
   If there might be more results than appear in this response, then
 nextPageToken is included. To get the next set of results, call the same
 method again using the value of nextPageToken as pageToken.
 string next_page_token = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for nextPageToken to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ListExclusionsResponse . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ListExclusionsResponse . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  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."],[],[]]