Class ListNoteOccurrencesResponse.Builder

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

public static final class ListNoteOccurrencesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListNoteOccurrencesResponse.Builder> implements ListNoteOccurrencesResponseOrBuilder
 Response for listing occurrences for a note.
 
Protobuf type grafeas.v1beta1.ListNoteOccurrencesResponse
  • 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<ListNoteOccurrencesResponse.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<ListNoteOccurrencesResponse.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<ListNoteOccurrencesResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public ListNoteOccurrencesResponse.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<ListNoteOccurrencesResponse.Builder>
    • mergeFrom

    • isInitialized

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

      public ListNoteOccurrencesResponse.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<ListNoteOccurrencesResponse.Builder>
      Throws:
      IOException
    • getOccurrencesList

      public List<Occurrence> getOccurrencesList()
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
      Specified by:
      getOccurrencesList in interface ListNoteOccurrencesResponseOrBuilder
    • getOccurrencesCount

      public int getOccurrencesCount()
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
      Specified by:
      getOccurrencesCount in interface ListNoteOccurrencesResponseOrBuilder
    • getOccurrences

      public Occurrence getOccurrences(int index)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
      Specified by:
      getOccurrences in interface ListNoteOccurrencesResponseOrBuilder
    • setOccurrences

      public ListNoteOccurrencesResponse.Builder setOccurrences(int index, Occurrence value)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • setOccurrences

      public ListNoteOccurrencesResponse.Builder setOccurrences(int index, Occurrence.Builder builderForValue)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • addOccurrences

      public ListNoteOccurrencesResponse.Builder addOccurrences(Occurrence value)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • addOccurrences

      public ListNoteOccurrencesResponse.Builder addOccurrences(int index, Occurrence value)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • addOccurrences

      public ListNoteOccurrencesResponse.Builder addOccurrences(Occurrence.Builder builderForValue)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • addOccurrences

      public ListNoteOccurrencesResponse.Builder addOccurrences(int index, Occurrence.Builder builderForValue)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • addAllOccurrences

      public ListNoteOccurrencesResponse.Builder addAllOccurrences(Iterable<? extends Occurrence> values)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • clearOccurrences

      public ListNoteOccurrencesResponse.Builder clearOccurrences()
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • removeOccurrences

      public ListNoteOccurrencesResponse.Builder removeOccurrences(int index)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • getOccurrencesBuilder

      public Occurrence.Builder getOccurrencesBuilder(int index)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • getOccurrencesOrBuilder

      public OccurrenceOrBuilder getOccurrencesOrBuilder(int index)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
      Specified by:
      getOccurrencesOrBuilder in interface ListNoteOccurrencesResponseOrBuilder
    • getOccurrencesOrBuilderList

      public List<? extends OccurrenceOrBuilder> getOccurrencesOrBuilderList()
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
      Specified by:
      getOccurrencesOrBuilderList in interface ListNoteOccurrencesResponseOrBuilder
    • addOccurrencesBuilder

      public Occurrence.Builder addOccurrencesBuilder()
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • addOccurrencesBuilder

      public Occurrence.Builder addOccurrencesBuilder(int index)
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • getOccurrencesBuilderList

      public List<Occurrence.Builder> getOccurrencesBuilderList()
       The occurrences attached to the specified note.
       
      repeated .grafeas.v1beta1.Occurrence occurrences = 1;
    • getNextPageToken

      public String getNextPageToken()
       Token to provide to skip to a particular spot in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListNoteOccurrencesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       Token to provide to skip to a particular spot in the list.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListNoteOccurrencesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListNoteOccurrencesResponse.Builder setNextPageToken(String value)
       Token to provide to skip to a particular spot in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListNoteOccurrencesResponse.Builder clearNextPageToken()
       Token to provide to skip to a particular spot in the list.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListNoteOccurrencesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       Token to provide to skip to a particular spot in the list.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.