Class ListNotesResponse.Builder (2.40.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.40.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ListNotesResponse . Builder   extends   GeneratedMessageV3 . Builder<ListNotesResponse . Builder >  implements   ListNotesResponseOrBuilder  
   Response for listing notes.
 Protobuf type grafeas.v1beta1.ListNotesResponse
    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
   
  addAllNotes(Iterable<? extends Note> values) 
  
    
public   ListNotesResponse . Builder   addAllNotes ( Iterable <?   extends   Note >  values )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Parameter  
      
        Name Description  
      
        valuesIterable <? extends io.grafeas.v1beta1.Note > 
     
  
  
  addNotes(int index, Note value) 
  
    
public   ListNotesResponse . Builder   addNotes ( int   index ,   Note   value )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Parameters  
      
        Name Description  
      
        indexint  
      
        valueNote  
     
  
  
  addNotes(int index, Note.Builder builderForValue) 
  
    
public   ListNotesResponse . Builder   addNotes ( int   index ,   Note . Builder   builderForValue )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
addNotes(Note value) 
  
    
public   ListNotesResponse . Builder   addNotes ( Note   value )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueNote  
     
  
  
  addNotes(Note.Builder builderForValue) 
  
    
public   ListNotesResponse . Builder   addNotes ( Note . Builder   builderForValue )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
addNotesBuilder() 
  
    
public   Note . Builder   addNotesBuilder ()  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
addNotesBuilder(int index) 
  
    
public   Note . Builder   addNotesBuilder ( int   index )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ListNotesResponse . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ListNotesResponse   build ()  
  
  buildPartial() 
  
    
public   ListNotesResponse   buildPartial ()  
  
  clear() 
  
    
public   ListNotesResponse . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   ListNotesResponse . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearNextPageToken() 
  
    
public   ListNotesResponse . Builder   clearNextPageToken ()  
   The next pagination token in the list response. It should be used as
 page_token for the following request. An empty value means no more
 results.
 string next_page_token = 2;
clearNotes() 
  
    
public   ListNotesResponse . Builder   clearNotes ()  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ListNotesResponse . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   ListNotesResponse . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   ListNotesResponse   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getNextPageToken() 
  
    
public   String   getNextPageToken ()  
   The next pagination token in the list response. It should be used as
 page_token for the following request. An empty value means no more
 results.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        String The nextPageToken.
 
     
  
  getNextPageTokenBytes() 
  
    
public   ByteString   getNextPageTokenBytes ()  
   The next pagination token in the list response. It should be used as
 page_token for the following request. An empty value means no more
 results.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for nextPageToken.
 
     
  
  getNotes(int index) 
  
    
public   Note   getNotes ( int   index )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        Note  
     
  
  getNotesBuilder(int index) 
  
    
public   Note . Builder   getNotesBuilder ( int   index )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getNotesBuilderList() 
  
    
public   List<Note . Builder >  getNotesBuilderList ()  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
getNotesCount() 
  
    
public   int   getNotesCount ()  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getNotesList() 
  
    
public   List<Note>   getNotesList ()  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
getNotesOrBuilder(int index) 
  
    
public   NoteOrBuilder   getNotesOrBuilder ( int   index )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getNotesOrBuilderList() 
  
    
public   List <?   extends   NoteOrBuilder >  getNotesOrBuilderList ()  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Returns  
      
        Type Description  
      
        List <? extends io.grafeas.v1beta1.NoteOrBuilder > 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ListNotesResponse . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ListNotesResponse . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeFrom(ListNotesResponse other) 
  
    
public   ListNotesResponse . Builder   mergeFrom ( ListNotesResponse   other )  
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ListNotesResponse . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  removeNotes(int index) 
  
    
public   ListNotesResponse . Builder   removeNotes ( int   index )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ListNotesResponse . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setNextPageToken(String value) 
  
    
public   ListNotesResponse . Builder   setNextPageToken ( String   value )  
   The next pagination token in the list response. It should be used as
 page_token for the following request. An empty value means no more
 results.
 string next_page_token = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The nextPageToken to set.
 
     
  
  
  setNextPageTokenBytes(ByteString value) 
  
    
public   ListNotesResponse . Builder   setNextPageTokenBytes ( ByteString   value )  
   The next pagination token in the list response. It should be used as
 page_token for the following request. An empty value means no more
 results.
 string next_page_token = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for nextPageToken to set.
 
     
  
  
  setNotes(int index, Note value) 
  
    
public   ListNotesResponse . Builder   setNotes ( int   index ,   Note   value )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
    
      
        Parameters  
      
        Name Description  
      
        indexint  
      
        valueNote  
     
  
  
  setNotes(int index, Note.Builder builderForValue) 
  
    
public   ListNotesResponse . Builder   setNotes ( int   index ,   Note . Builder   builderForValue )  
   The notes requested.
 repeated .grafeas.v1beta1.Note notes = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ListNotesResponse . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ListNotesResponse . 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-28 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-28 UTC."],[],[]]