Class ListItemsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
org.yamcs.protobuf.ListItemsResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ListItemsResponseOrBuilder
Enclosing class:
ListItemsResponse

public static final class ListItemsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder> implements ListItemsResponseOrBuilder
Protobuf type yamcs.protobuf.timeline.ListItemsResponse
  • Method Details

    • getDescriptor

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

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

      public ListItemsResponse.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.GeneratedMessageV3.Builder<ListItemsResponse.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.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListItemsResponse.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
    • setField

      public ListItemsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
    • clearField

      public ListItemsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
    • clearOneof

      public ListItemsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
    • setRepeatedField

      public ListItemsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
    • addRepeatedField

      public ListItemsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
    • mergeFrom

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

      public ListItemsResponse.Builder mergeFrom(ListItemsResponse other)
    • isInitialized

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

      public ListItemsResponse.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<ListItemsResponse.Builder>
      Throws:
      IOException
    • hasSource

      public boolean hasSource()
      item source
       
      optional string source = 1;
      Specified by:
      hasSource in interface ListItemsResponseOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
      item source
       
      optional string source = 1;
      Specified by:
      getSource in interface ListItemsResponseOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
      item source
       
      optional string source = 1;
      Specified by:
      getSourceBytes in interface ListItemsResponseOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public ListItemsResponse.Builder setSource(String value)
      item source
       
      optional string source = 1;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public ListItemsResponse.Builder clearSource()
      item source
       
      optional string source = 1;
      Returns:
      This builder for chaining.
    • setSourceBytes

      public ListItemsResponse.Builder setSourceBytes(com.google.protobuf.ByteString value)
      item source
       
      optional string source = 1;
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • getItemsList

      public List<TimelineItem> getItemsList()
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
      Specified by:
      getItemsList in interface ListItemsResponseOrBuilder
    • getItemsCount

      public int getItemsCount()
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
      Specified by:
      getItemsCount in interface ListItemsResponseOrBuilder
    • getItems

      public TimelineItem getItems(int index)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
      Specified by:
      getItems in interface ListItemsResponseOrBuilder
    • setItems

      public ListItemsResponse.Builder setItems(int index, TimelineItem value)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • setItems

      public ListItemsResponse.Builder setItems(int index, TimelineItem.Builder builderForValue)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • addItems

      public ListItemsResponse.Builder addItems(TimelineItem value)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • addItems

      public ListItemsResponse.Builder addItems(int index, TimelineItem value)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • addItems

      public ListItemsResponse.Builder addItems(TimelineItem.Builder builderForValue)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • addItems

      public ListItemsResponse.Builder addItems(int index, TimelineItem.Builder builderForValue)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • addAllItems

      public ListItemsResponse.Builder addAllItems(Iterable<? extends TimelineItem> values)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • clearItems

      public ListItemsResponse.Builder clearItems()
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • removeItems

      public ListItemsResponse.Builder removeItems(int index)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • getItemsBuilder

      public TimelineItem.Builder getItemsBuilder(int index)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • getItemsOrBuilder

      public TimelineItemOrBuilder getItemsOrBuilder(int index)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
      Specified by:
      getItemsOrBuilder in interface ListItemsResponseOrBuilder
    • getItemsOrBuilderList

      public List<? extends TimelineItemOrBuilder> getItemsOrBuilderList()
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
      Specified by:
      getItemsOrBuilderList in interface ListItemsResponseOrBuilder
    • addItemsBuilder

      public TimelineItem.Builder addItemsBuilder()
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • addItemsBuilder

      public TimelineItem.Builder addItemsBuilder(int index)
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • getItemsBuilderList

      public List<TimelineItem.Builder> getItemsBuilderList()
      items
       
      repeated .yamcs.protobuf.timeline.TimelineItem items = 2;
    • hasContinuationToken

      public boolean hasContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 3;
      Specified by:
      hasContinuationToken in interface ListItemsResponseOrBuilder
      Returns:
      Whether the continuationToken field is set.
    • getContinuationToken

      public String getContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 3;
      Specified by:
      getContinuationToken in interface ListItemsResponseOrBuilder
      Returns:
      The continuationToken.
    • getContinuationTokenBytes

      public com.google.protobuf.ByteString getContinuationTokenBytes()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 3;
      Specified by:
      getContinuationTokenBytes in interface ListItemsResponseOrBuilder
      Returns:
      The bytes for continuationToken.
    • setContinuationToken

      public ListItemsResponse.Builder setContinuationToken(String value)
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 3;
      Parameters:
      value - The continuationToken to set.
      Returns:
      This builder for chaining.
    • clearContinuationToken

      public ListItemsResponse.Builder clearContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 3;
      Returns:
      This builder for chaining.
    • setContinuationTokenBytes

      public ListItemsResponse.Builder setContinuationTokenBytes(com.google.protobuf.ByteString value)
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 3;
      Parameters:
      value - The bytes for continuationToken to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListItemsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>
    • mergeUnknownFields

      public final ListItemsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListItemsResponse.Builder>