Class ListCommandsRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public ListCommandsRequest.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

      @Deprecated public boolean hasPos()
      Deprecated.
       The zero-based row number at which to start outputting results.
       Default: ``0``
       
       This option is deprecated and will be removed in a later version.
       Use the returned continuationToken instead.
       
      optional int64 pos = 2 [deprecated = true];
      Specified by:
      hasPos in interface ListCommandsRequestOrBuilder
      Returns:
      Whether the pos field is set.
    • getPos

      @Deprecated public long getPos()
      Deprecated.
       The zero-based row number at which to start outputting results.
       Default: ``0``
       
       This option is deprecated and will be removed in a later version.
       Use the returned continuationToken instead.
       
      optional int64 pos = 2 [deprecated = true];
      Specified by:
      getPos in interface ListCommandsRequestOrBuilder
      Returns:
      The pos.
    • setPos

      @Deprecated public ListCommandsRequest.Builder setPos(long value)
      Deprecated.
       The zero-based row number at which to start outputting results.
       Default: ``0``
       
       This option is deprecated and will be removed in a later version.
       Use the returned continuationToken instead.
       
      optional int64 pos = 2 [deprecated = true];
      Parameters:
      value - The pos to set.
      Returns:
      This builder for chaining.
    • clearPos

      Deprecated.
       The zero-based row number at which to start outputting results.
       Default: ``0``
       
       This option is deprecated and will be removed in a later version.
       Use the returned continuationToken instead.
       
      optional int64 pos = 2 [deprecated = true];
      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 ListCommandsRequestOrBuilder
      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 ListCommandsRequestOrBuilder
      Returns:
      The limit.
    • setLimit

      public ListCommandsRequest.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 ListCommandsRequest.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 ListCommandsRequestOrBuilder
      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 ListCommandsRequestOrBuilder
      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 ListCommandsRequestOrBuilder
      Returns:
      The bytes for order.
    • setOrder

      public ListCommandsRequest.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 ListCommandsRequest.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 ListCommandsRequest.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.
    • hasQ

      public boolean hasQ()
       Text to search in the name of the command. This searches both the
       qualified name, and any aliases.
       
      optional string q = 5;
      Specified by:
      hasQ in interface ListCommandsRequestOrBuilder
      Returns:
      Whether the q field is set.
    • getQ

      public String getQ()
       Text to search in the name of the command. This searches both the
       qualified name, and any aliases.
       
      optional string q = 5;
      Specified by:
      getQ in interface ListCommandsRequestOrBuilder
      Returns:
      The q.
    • getQBytes

      public com.google.protobuf.ByteString getQBytes()
       Text to search in the name of the command. This searches both the
       qualified name, and any aliases.
       
      optional string q = 5;
      Specified by:
      getQBytes in interface ListCommandsRequestOrBuilder
      Returns:
      The bytes for q.
    • setQ

      public ListCommandsRequest.Builder setQ(String value)
       Text to search in the name of the command. This searches both the
       qualified name, and any aliases.
       
      optional string q = 5;
      Parameters:
      value - The q to set.
      Returns:
      This builder for chaining.
    • clearQ

      public ListCommandsRequest.Builder clearQ()
       Text to search in the name of the command. This searches both the
       qualified name, and any aliases.
       
      optional string q = 5;
      Returns:
      This builder for chaining.
    • setQBytes

      public ListCommandsRequest.Builder setQBytes(com.google.protobuf.ByteString value)
       Text to search in the name of the command. This searches both the
       qualified name, and any aliases.
       
      optional string q = 5;
      Parameters:
      value - The bytes for q 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 ListCommandsRequestOrBuilder
      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 ListCommandsRequestOrBuilder
      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 ListCommandsRequestOrBuilder
      Returns:
      The bytes for next.
    • setNext

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

      public ListCommandsRequest.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 command'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 ListCommandsRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
       Filter the lower bound of the command'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 ListCommandsRequestOrBuilder
      Returns:
      The start.
    • setStart

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

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

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

      public ListCommandsRequest.Builder clearStart()
       Filter the lower bound of the command'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 command'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 command'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 ListCommandsRequestOrBuilder
    • hasStop

      public boolean hasStop()
       Filter the upper bound of the command'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 ListCommandsRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       Filter the upper bound of the command'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 ListCommandsRequestOrBuilder
      Returns:
      The stop.
    • setStop

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

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

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

      public ListCommandsRequest.Builder clearStop()
       Filter the upper bound of the command'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 command'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 command'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 ListCommandsRequestOrBuilder
    • hasQueue

      public boolean hasQueue()
       Filter the results by the used queue.
       
      optional string queue = 9;
      Specified by:
      hasQueue in interface ListCommandsRequestOrBuilder
      Returns:
      Whether the queue field is set.
    • getQueue

      public String getQueue()
       Filter the results by the used queue.
       
      optional string queue = 9;
      Specified by:
      getQueue in interface ListCommandsRequestOrBuilder
      Returns:
      The queue.
    • getQueueBytes

      public com.google.protobuf.ByteString getQueueBytes()
       Filter the results by the used queue.
       
      optional string queue = 9;
      Specified by:
      getQueueBytes in interface ListCommandsRequestOrBuilder
      Returns:
      The bytes for queue.
    • setQueue

      public ListCommandsRequest.Builder setQueue(String value)
       Filter the results by the used queue.
       
      optional string queue = 9;
      Parameters:
      value - The queue to set.
      Returns:
      This builder for chaining.
    • clearQueue

      public ListCommandsRequest.Builder clearQueue()
       Filter the results by the used queue.
       
      optional string queue = 9;
      Returns:
      This builder for chaining.
    • setQueueBytes

      public ListCommandsRequest.Builder setQueueBytes(com.google.protobuf.ByteString value)
       Filter the results by the used queue.
       
      optional string queue = 9;
      Parameters:
      value - The bytes for queue to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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