Class ListPacketIndexRequest.Builder

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

public static final class ListPacketIndexRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPacketIndexRequest.Builder> implements ListPacketIndexRequestOrBuilder
Protobuf type yamcs.protobuf.archive.ListPacketIndexRequest
  • 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<ListPacketIndexRequest.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<ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
    • getDefaultInstanceForType

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

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

      public ListPacketIndexRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<ListPacketIndexRequest.Builder>
    • setField

      public ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
    • clearField

      public ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
    • clearOneof

      public ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
    • setRepeatedField

      public ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
    • addRepeatedField

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

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

    • isInitialized

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

      public ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface ListPacketIndexRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface ListPacketIndexRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface ListPacketIndexRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public ListPacketIndexRequest.Builder setInstance(String value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public ListPacketIndexRequest.Builder clearInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public ListPacketIndexRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Yamcs instance name
       
      optional string instance = 1;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • hasMergeTime

      public boolean hasMergeTime()
       Value in milliseconds that indicates the maximum gap before two consecutive index
       ranges are merged together. Default: ``2000``
       
      optional int32 mergeTime = 2;
      Specified by:
      hasMergeTime in interface ListPacketIndexRequestOrBuilder
      Returns:
      Whether the mergeTime field is set.
    • getMergeTime

      public int getMergeTime()
       Value in milliseconds that indicates the maximum gap before two consecutive index
       ranges are merged together. Default: ``2000``
       
      optional int32 mergeTime = 2;
      Specified by:
      getMergeTime in interface ListPacketIndexRequestOrBuilder
      Returns:
      The mergeTime.
    • setMergeTime

      public ListPacketIndexRequest.Builder setMergeTime(int value)
       Value in milliseconds that indicates the maximum gap before two consecutive index
       ranges are merged together. Default: ``2000``
       
      optional int32 mergeTime = 2;
      Parameters:
      value - The mergeTime to set.
      Returns:
      This builder for chaining.
    • clearMergeTime

      public ListPacketIndexRequest.Builder clearMergeTime()
       Value in milliseconds that indicates the maximum gap before two consecutive index
       ranges are merged together. Default: ``2000``
       
      optional int32 mergeTime = 2;
      Returns:
      This builder for chaining.
    • hasLimit

      public boolean hasLimit()
       The maximum number of returned entries. Choose this value too high and you risk
       hitting the maximum response size limit enforced by the server. Default: ``1000``.
       Note that in general it is advised to control the size of the response via
       ``mergeTime``, rather than via ``limit``.
       
      optional int32 limit = 3;
      Specified by:
      hasLimit in interface ListPacketIndexRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

      public int getLimit()
       The maximum number of returned entries. Choose this value too high and you risk
       hitting the maximum response size limit enforced by the server. Default: ``1000``.
       Note that in general it is advised to control the size of the response via
       ``mergeTime``, rather than via ``limit``.
       
      optional int32 limit = 3;
      Specified by:
      getLimit in interface ListPacketIndexRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public ListPacketIndexRequest.Builder setLimit(int value)
       The maximum number of returned entries. Choose this value too high and you risk
       hitting the maximum response size limit enforced by the server. Default: ``1000``.
       Note that in general it is advised to control the size of the response via
       ``mergeTime``, rather than via ``limit``.
       
      optional int32 limit = 3;
      Parameters:
      value - The limit to set.
      Returns:
      This builder for chaining.
    • clearLimit

      public ListPacketIndexRequest.Builder clearLimit()
       The maximum number of returned entries. Choose this value too high and you risk
       hitting the maximum response size limit enforced by the server. Default: ``1000``.
       Note that in general it is advised to control the size of the response via
       ``mergeTime``, rather than via ``limit``.
       
      optional int32 limit = 3;
      Returns:
      This builder for chaining.
    • hasStart

      public boolean hasStart()
       Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      hasStart in interface ListPacketIndexRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
       Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      getStart in interface ListPacketIndexRequestOrBuilder
      Returns:
      The start.
    • setStart

      public ListPacketIndexRequest.Builder setStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 4;
    • setStart

      public ListPacketIndexRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 4;
    • mergeStart

      public ListPacketIndexRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 4;
    • clearStart

      public ListPacketIndexRequest.Builder clearStart()
       Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 4;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
       Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 4;
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
       Filter the lower bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp start = 4;
      Specified by:
      getStartOrBuilder in interface ListPacketIndexRequestOrBuilder
    • hasStop

      public boolean hasStop()
       Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      hasStop in interface ListPacketIndexRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      getStop in interface ListPacketIndexRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public ListPacketIndexRequest.Builder setStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 5;
    • setStop

      public ListPacketIndexRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 5;
    • mergeStop

      public ListPacketIndexRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 5;
    • clearStop

      public ListPacketIndexRequest.Builder clearStop()
       Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 5;
    • getStopBuilder

      public com.google.protobuf.Timestamp.Builder getStopBuilder()
       Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 5;
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       Filter the upper bound of the index entries. Specify a date string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp stop = 5;
      Specified by:
      getStopOrBuilder in interface ListPacketIndexRequestOrBuilder
    • hasNext

      public boolean hasNext()
       Continuation token returned by a previous page response.
       
      optional string next = 6;
      Specified by:
      hasNext in interface ListPacketIndexRequestOrBuilder
      Returns:
      Whether the next field is set.
    • getNext

      public String getNext()
       Continuation token returned by a previous page response.
       
      optional string next = 6;
      Specified by:
      getNext in interface ListPacketIndexRequestOrBuilder
      Returns:
      The next.
    • getNextBytes

      public com.google.protobuf.ByteString getNextBytes()
       Continuation token returned by a previous page response.
       
      optional string next = 6;
      Specified by:
      getNextBytes in interface ListPacketIndexRequestOrBuilder
      Returns:
      The bytes for next.
    • setNext

      public ListPacketIndexRequest.Builder setNext(String value)
       Continuation token returned by a previous page response.
       
      optional string next = 6;
      Parameters:
      value - The next to set.
      Returns:
      This builder for chaining.
    • clearNext

      public ListPacketIndexRequest.Builder clearNext()
       Continuation token returned by a previous page response.
       
      optional string next = 6;
      Returns:
      This builder for chaining.
    • setNextBytes

      public ListPacketIndexRequest.Builder setNextBytes(com.google.protobuf.ByteString value)
       Continuation token returned by a previous page response.
       
      optional string next = 6;
      Parameters:
      value - The bytes for next to set.
      Returns:
      This builder for chaining.
    • getNameList

      public com.google.protobuf.ProtocolStringList getNameList()
       Filter on specific packet names.
       
      repeated string name = 7;
      Specified by:
      getNameList in interface ListPacketIndexRequestOrBuilder
      Returns:
      A list containing the name.
    • getNameCount

      public int getNameCount()
       Filter on specific packet names.
       
      repeated string name = 7;
      Specified by:
      getNameCount in interface ListPacketIndexRequestOrBuilder
      Returns:
      The count of name.
    • getName

      public String getName(int index)
       Filter on specific packet names.
       
      repeated string name = 7;
      Specified by:
      getName in interface ListPacketIndexRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The name at the given index.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes(int index)
       Filter on specific packet names.
       
      repeated string name = 7;
      Specified by:
      getNameBytes in interface ListPacketIndexRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the name at the given index.
    • setName

      public ListPacketIndexRequest.Builder setName(int index, String value)
       Filter on specific packet names.
       
      repeated string name = 7;
      Parameters:
      index - The index to set the value at.
      value - The name to set.
      Returns:
      This builder for chaining.
    • addName

      public ListPacketIndexRequest.Builder addName(String value)
       Filter on specific packet names.
       
      repeated string name = 7;
      Parameters:
      value - The name to add.
      Returns:
      This builder for chaining.
    • addAllName

      public ListPacketIndexRequest.Builder addAllName(Iterable<String> values)
       Filter on specific packet names.
       
      repeated string name = 7;
      Parameters:
      values - The name to add.
      Returns:
      This builder for chaining.
    • clearName

      public ListPacketIndexRequest.Builder clearName()
       Filter on specific packet names.
       
      repeated string name = 7;
      Returns:
      This builder for chaining.
    • addNameBytes

      public ListPacketIndexRequest.Builder addNameBytes(com.google.protobuf.ByteString value)
       Filter on specific packet names.
       
      repeated string name = 7;
      Parameters:
      value - The bytes of the name to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>
    • mergeUnknownFields

      public final ListPacketIndexRequest.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<ListPacketIndexRequest.Builder>