Class ListPacketsRequest.Builder

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

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

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

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

      public ListPacketsRequest 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<ListPacketsRequest.Builder>
    • setField

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

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

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

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

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

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

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

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

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

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

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

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

      public ListPacketsRequest.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.
    • hasPos

      public boolean hasPos()
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int64 pos = 2;
      Specified by:
      hasPos in interface ListPacketsRequestOrBuilder
      Returns:
      Whether the pos field is set.
    • getPos

      public long getPos()
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int64 pos = 2;
      Specified by:
      getPos in interface ListPacketsRequestOrBuilder
      Returns:
      The pos.
    • setPos

      public ListPacketsRequest.Builder setPos(long value)
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int64 pos = 2;
      Parameters:
      value - The pos to set.
      Returns:
      This builder for chaining.
    • clearPos

      public ListPacketsRequest.Builder clearPos()
       The zero-based row number at which to start outputting results. Default: ``0``
       
      optional int64 pos = 2;
      Returns:
      This builder for chaining.
    • hasLimit

      public boolean hasLimit()
       The maximum number of returned records per page. Choose this value too high
       and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 3;
      Specified by:
      hasLimit in interface ListPacketsRequestOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

      public int getLimit()
       The maximum number of returned records per page. Choose this value too high
       and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 3;
      Specified by:
      getLimit in interface ListPacketsRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public ListPacketsRequest.Builder setLimit(int value)
       The maximum number of returned records per page. Choose this value too high
       and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 3;
      Parameters:
      value - The limit to set.
      Returns:
      This builder for chaining.
    • clearLimit

      public ListPacketsRequest.Builder clearLimit()
       The maximum number of returned records per page. Choose this value too high
       and you risk hitting the maximum response size limit enforced by the server.
       Default: ``100``
       
      optional int32 limit = 3;
      Returns:
      This builder for chaining.
    • hasOrder

      public boolean hasOrder()
       The order of the returned results. Can be either ``asc`` or ``desc``. Default: ``desc``
       
      optional string order = 4;
      Specified by:
      hasOrder in interface ListPacketsRequestOrBuilder
      Returns:
      Whether the order field is set.
    • getOrder

      public String getOrder()
       The order of the returned results. Can be either ``asc`` or ``desc``. Default: ``desc``
       
      optional string order = 4;
      Specified by:
      getOrder in interface ListPacketsRequestOrBuilder
      Returns:
      The order.
    • getOrderBytes

      public com.google.protobuf.ByteString getOrderBytes()
       The order of the returned results. Can be either ``asc`` or ``desc``. Default: ``desc``
       
      optional string order = 4;
      Specified by:
      getOrderBytes in interface ListPacketsRequestOrBuilder
      Returns:
      The bytes for order.
    • setOrder

      public ListPacketsRequest.Builder setOrder(String value)
       The order of the returned results. Can be either ``asc`` or ``desc``. Default: ``desc``
       
      optional string order = 4;
      Parameters:
      value - The order to set.
      Returns:
      This builder for chaining.
    • clearOrder

      public ListPacketsRequest.Builder clearOrder()
       The order of the returned results. Can be either ``asc`` or ``desc``. Default: ``desc``
       
      optional string order = 4;
      Returns:
      This builder for chaining.
    • setOrderBytes

      public ListPacketsRequest.Builder setOrderBytes(com.google.protobuf.ByteString value)
       The order of the returned results. Can be either ``asc`` or ``desc``. Default: ``desc``
       
      optional string order = 4;
      Parameters:
      value - The bytes for order to set.
      Returns:
      This builder for chaining.
    • getNameList

      public com.google.protobuf.ProtocolStringList getNameList()
       The archived name of the packets. Names must match exactly.
       
      repeated string name = 5;
      Specified by:
      getNameList in interface ListPacketsRequestOrBuilder
      Returns:
      A list containing the name.
    • getNameCount

      public int getNameCount()
       The archived name of the packets. Names must match exactly.
       
      repeated string name = 5;
      Specified by:
      getNameCount in interface ListPacketsRequestOrBuilder
      Returns:
      The count of name.
    • getName

      public String getName(int index)
       The archived name of the packets. Names must match exactly.
       
      repeated string name = 5;
      Specified by:
      getName in interface ListPacketsRequestOrBuilder
      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)
       The archived name of the packets. Names must match exactly.
       
      repeated string name = 5;
      Specified by:
      getNameBytes in interface ListPacketsRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the name at the given index.
    • setName

      public ListPacketsRequest.Builder setName(int index, String value)
       The archived name of the packets. Names must match exactly.
       
      repeated string name = 5;
      Parameters:
      index - The index to set the value at.
      value - The name to set.
      Returns:
      This builder for chaining.
    • addName

      public ListPacketsRequest.Builder addName(String value)
       The archived name of the packets. Names must match exactly.
       
      repeated string name = 5;
      Parameters:
      value - The name to add.
      Returns:
      This builder for chaining.
    • addAllName

      public ListPacketsRequest.Builder addAllName(Iterable<String> values)
       The archived name of the packets. Names must match exactly.
       
      repeated string name = 5;
      Parameters:
      values - The name to add.
      Returns:
      This builder for chaining.
    • clearName

      public ListPacketsRequest.Builder clearName()
       The archived name of the packets. Names must match exactly.
       
      repeated string name = 5;
      Returns:
      This builder for chaining.
    • addNameBytes

      public ListPacketsRequest.Builder addNameBytes(com.google.protobuf.ByteString value)
       The archived name of the packets. Names must match exactly.
       
      repeated string name = 5;
      Parameters:
      value - The bytes of the name to add.
      Returns:
      This builder for chaining.
    • hasLink

      public boolean hasLink()
       Filter by the link where the packet was received from.
       
      optional string link = 9;
      Specified by:
      hasLink in interface ListPacketsRequestOrBuilder
      Returns:
      Whether the link field is set.
    • getLink

      public String getLink()
       Filter by the link where the packet was received from.
       
      optional string link = 9;
      Specified by:
      getLink in interface ListPacketsRequestOrBuilder
      Returns:
      The link.
    • getLinkBytes

      public com.google.protobuf.ByteString getLinkBytes()
       Filter by the link where the packet was received from.
       
      optional string link = 9;
      Specified by:
      getLinkBytes in interface ListPacketsRequestOrBuilder
      Returns:
      The bytes for link.
    • setLink

      public ListPacketsRequest.Builder setLink(String value)
       Filter by the link where the packet was received from.
       
      optional string link = 9;
      Parameters:
      value - The link to set.
      Returns:
      This builder for chaining.
    • clearLink

      public ListPacketsRequest.Builder clearLink()
       Filter by the link where the packet was received from.
       
      optional string link = 9;
      Returns:
      This builder for chaining.
    • setLinkBytes

      public ListPacketsRequest.Builder setLinkBytes(com.google.protobuf.ByteString value)
       Filter by the link where the packet was received from.
       
      optional string link = 9;
      Parameters:
      value - The bytes for link to set.
      Returns:
      This builder for chaining.
    • hasNext

      public boolean hasNext()
       Continuation token returned by a previous page response.
       
      optional string next = 6;
      Specified by:
      hasNext in interface ListPacketsRequestOrBuilder
      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 ListPacketsRequestOrBuilder
      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 ListPacketsRequestOrBuilder
      Returns:
      The bytes for next.
    • setNext

      public ListPacketsRequest.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 ListPacketsRequest.Builder clearNext()
       Continuation token returned by a previous page response.
       
      optional string next = 6;
      Returns:
      This builder for chaining.
    • setNextBytes

      public ListPacketsRequest.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.
    • hasStart

      public boolean hasStart()
       Filter the lower bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 7;
      Specified by:
      hasStart in interface ListPacketsRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
       Filter the lower bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 7;
      Specified by:
      getStart in interface ListPacketsRequestOrBuilder
      Returns:
      The start.
    • setStart

      public ListPacketsRequest.Builder setStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 7;
    • setStart

      public ListPacketsRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the lower bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 7;
    • mergeStart

      public ListPacketsRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       Filter the lower bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 7;
    • clearStart

      public ListPacketsRequest.Builder clearStart()
       Filter the lower bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 7;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
       Filter the lower bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 7;
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
       Filter the lower bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is inclusive.
       
      optional .google.protobuf.Timestamp start = 7;
      Specified by:
      getStartOrBuilder in interface ListPacketsRequestOrBuilder
    • hasStop

      public boolean hasStop()
       Filter the upper bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
      Specified by:
      hasStop in interface ListPacketsRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       Filter the upper bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
      Specified by:
      getStop in interface ListPacketsRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public ListPacketsRequest.Builder setStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
    • setStop

      public ListPacketsRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       Filter the upper bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
    • mergeStop

      public ListPacketsRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       Filter the upper bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
    • clearStop

      public ListPacketsRequest.Builder clearStop()
       Filter the upper bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
    • getStopBuilder

      public com.google.protobuf.Timestamp.Builder getStopBuilder()
       Filter the upper bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       Filter the upper bound of the packet's generation time. Specify a date
       string in ISO 8601 format. This bound is exclusive.
       
      optional .google.protobuf.Timestamp stop = 8;
      Specified by:
      getStopOrBuilder in interface ListPacketsRequestOrBuilder
    • setUnknownFields

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

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