Class ListNotesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListNotesResponse.Builder>
io.grafeas.v1beta1.ListNotesResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListNotesResponseOrBuilder, Cloneable
Enclosing class:
ListNotesResponse

public static final class ListNotesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListNotesResponse.Builder> implements ListNotesResponseOrBuilder
 Response for listing notes.
 
Protobuf type grafeas.v1beta1.ListNotesResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListNotesResponse.Builder>
    • clear

      public ListNotesResponse.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ListNotesResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ListNotesResponse.Builder>
    • getDefaultInstanceForType

      public ListNotesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ListNotesResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListNotesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ListNotesResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotesResponse.Builder>
    • mergeFrom

      public ListNotesResponse.Builder mergeFrom(ListNotesResponse other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListNotesResponse.Builder>
    • mergeFrom

      public ListNotesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotesResponse.Builder>
      Throws:
      IOException
    • getNotesList

      public List<Note> getNotesList()
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
      Specified by:
      getNotesList in interface ListNotesResponseOrBuilder
    • getNotesCount

      public int getNotesCount()
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
      Specified by:
      getNotesCount in interface ListNotesResponseOrBuilder
    • getNotes

      public Note getNotes(int index)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
      Specified by:
      getNotes in interface ListNotesResponseOrBuilder
    • setNotes

      public ListNotesResponse.Builder setNotes(int index, Note value)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • setNotes

      public ListNotesResponse.Builder setNotes(int index, Note.Builder builderForValue)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • addNotes

      public ListNotesResponse.Builder addNotes(Note value)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • addNotes

      public ListNotesResponse.Builder addNotes(int index, Note value)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • addNotes

      public ListNotesResponse.Builder addNotes(Note.Builder builderForValue)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • addNotes

      public ListNotesResponse.Builder addNotes(int index, Note.Builder builderForValue)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • addAllNotes

      public ListNotesResponse.Builder addAllNotes(Iterable<? extends Note> values)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • clearNotes

      public ListNotesResponse.Builder clearNotes()
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • removeNotes

      public ListNotesResponse.Builder removeNotes(int index)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • getNotesBuilder

      public Note.Builder getNotesBuilder(int index)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • getNotesOrBuilder

      public NoteOrBuilder getNotesOrBuilder(int index)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
      Specified by:
      getNotesOrBuilder in interface ListNotesResponseOrBuilder
    • getNotesOrBuilderList

      public List<? extends NoteOrBuilder> getNotesOrBuilderList()
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
      Specified by:
      getNotesOrBuilderList in interface ListNotesResponseOrBuilder
    • addNotesBuilder

      public Note.Builder addNotesBuilder()
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • addNotesBuilder

      public Note.Builder addNotesBuilder(int index)
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • getNotesBuilderList

      public List<Note.Builder> getNotesBuilderList()
       The notes requested.
       
      repeated .grafeas.v1beta1.Note notes = 1;
    • 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;
      Specified by:
      getNextPageToken in interface ListNotesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.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;
      Specified by:
      getNextPageTokenBytes in interface ListNotesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      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;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • 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;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListNotesResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.