All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yamcs.protobuf.ListCommandsRequest Maven / Gradle / Ivy

There is a newer version: 5.10.9
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yamcs/protobuf/commanding/commands_service.proto

package org.yamcs.protobuf;

/**
 * Protobuf type {@code yamcs.protobuf.commanding.ListCommandsRequest}
 */
public final class ListCommandsRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:yamcs.protobuf.commanding.ListCommandsRequest)
    ListCommandsRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ListCommandsRequest.newBuilder() to construct.
  private ListCommandsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ListCommandsRequest() {
    instance_ = "";
    order_ = "";
    q_ = "";
    next_ = "";
    queue_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new ListCommandsRequest();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ListCommandsRequest(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    int mutable_bitField0_ = 0;
    com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000001;
            instance_ = bs;
            break;
          }
          case 16: {
            bitField0_ |= 0x00000002;
            pos_ = input.readInt64();
            break;
          }
          case 24: {
            bitField0_ |= 0x00000004;
            limit_ = input.readInt32();
            break;
          }
          case 34: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000008;
            order_ = bs;
            break;
          }
          case 42: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000010;
            q_ = bs;
            break;
          }
          case 50: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000020;
            next_ = bs;
            break;
          }
          case 58: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (((bitField0_ & 0x00000040) != 0)) {
              subBuilder = start_.toBuilder();
            }
            start_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(start_);
              start_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000040;
            break;
          }
          case 66: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (((bitField0_ & 0x00000080) != 0)) {
              subBuilder = stop_.toBuilder();
            }
            stop_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(stop_);
              stop_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000080;
            break;
          }
          case 74: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000100;
            queue_ = bs;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.yamcs.protobuf.CommandsServiceProto.internal_static_yamcs_protobuf_commanding_ListCommandsRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.yamcs.protobuf.CommandsServiceProto.internal_static_yamcs_protobuf_commanding_ListCommandsRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.yamcs.protobuf.ListCommandsRequest.class, org.yamcs.protobuf.ListCommandsRequest.Builder.class);
  }

  private int bitField0_;
  public static final int INSTANCE_FIELD_NUMBER = 1;
  private volatile java.lang.Object instance_;
  /**
   * 
   * Yamcs instance name
   * 
* * optional string instance = 1; * @return Whether the instance field is set. */ @java.lang.Override public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * Yamcs instance name
   * 
* * optional string instance = 1; * @return The instance. */ @java.lang.Override public java.lang.String getInstance() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } } /** *
   * Yamcs instance name
   * 
* * optional string instance = 1; * @return The bytes for instance. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int POS_FIELD_NUMBER = 2; private long pos_; /** *
   * 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]; * @deprecated * @return Whether the pos field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasPos() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * 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]; * @deprecated * @return The pos. */ @java.lang.Override @java.lang.Deprecated public long getPos() { return pos_; } public static final int LIMIT_FIELD_NUMBER = 3; private int limit_; /** *
   * 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; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * 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; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } public static final int ORDER_FIELD_NUMBER = 4; private volatile java.lang.Object order_; /** *
   * The order of the returned results. Can be either ``asc`` or ``desc``.
   * Default: ``desc``
   * 
* * optional string order = 4; * @return Whether the order field is set. */ @java.lang.Override public boolean hasOrder() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * The order of the returned results. Can be either ``asc`` or ``desc``.
   * Default: ``desc``
   * 
* * optional string order = 4; * @return The order. */ @java.lang.Override public java.lang.String getOrder() { java.lang.Object ref = order_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { order_ = s; } return s; } } /** *
   * The order of the returned results. Can be either ``asc`` or ``desc``.
   * Default: ``desc``
   * 
* * optional string order = 4; * @return The bytes for order. */ @java.lang.Override public com.google.protobuf.ByteString getOrderBytes() { java.lang.Object ref = order_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); order_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int Q_FIELD_NUMBER = 5; private volatile java.lang.Object q_; /** *
   * Text to search in the name of the command. This searches both the
   * qualified name, and any aliases.
   * 
* * optional string q = 5; * @return Whether the q field is set. */ @java.lang.Override public boolean hasQ() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * Text to search in the name of the command. This searches both the
   * qualified name, and any aliases.
   * 
* * optional string q = 5; * @return The q. */ @java.lang.Override public java.lang.String getQ() { java.lang.Object ref = q_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { q_ = s; } return s; } } /** *
   * Text to search in the name of the command. This searches both the
   * qualified name, and any aliases.
   * 
* * optional string q = 5; * @return The bytes for q. */ @java.lang.Override public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NEXT_FIELD_NUMBER = 6; private volatile java.lang.Object next_; /** *
   * Continuation token returned by a previous page response.
   * 
* * optional string next = 6; * @return Whether the next field is set. */ @java.lang.Override public boolean hasNext() { return ((bitField0_ & 0x00000020) != 0); } /** *
   * Continuation token returned by a previous page response.
   * 
* * optional string next = 6; * @return The next. */ @java.lang.Override public java.lang.String getNext() { java.lang.Object ref = next_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { next_ = s; } return s; } } /** *
   * Continuation token returned by a previous page response.
   * 
* * optional string next = 6; * @return The bytes for next. */ @java.lang.Override public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp start_; /** *
   * 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; * @return Whether the start field is set. */ @java.lang.Override public boolean hasStart() { return ((bitField0_ & 0x00000040) != 0); } /** *
   * 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; * @return The start. */ @java.lang.Override public com.google.protobuf.Timestamp getStart() { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } /** *
   * 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; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } public static final int STOP_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp stop_; /** *
   * 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; * @return Whether the stop field is set. */ @java.lang.Override public boolean hasStop() { return ((bitField0_ & 0x00000080) != 0); } /** *
   * 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; * @return The stop. */ @java.lang.Override public com.google.protobuf.Timestamp getStop() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } /** *
   * 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; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } public static final int QUEUE_FIELD_NUMBER = 9; private volatile java.lang.Object queue_; /** *
   * Filter the results by the used queue.
   * 
* * optional string queue = 9; * @return Whether the queue field is set. */ @java.lang.Override public boolean hasQueue() { return ((bitField0_ & 0x00000100) != 0); } /** *
   * Filter the results by the used queue.
   * 
* * optional string queue = 9; * @return The queue. */ @java.lang.Override public java.lang.String getQueue() { java.lang.Object ref = queue_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { queue_ = s; } return s; } } /** *
   * Filter the results by the used queue.
   * 
* * optional string queue = 9; * @return The bytes for queue. */ @java.lang.Override public com.google.protobuf.ByteString getQueueBytes() { java.lang.Object ref = queue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(2, pos_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeInt32(3, limit_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, order_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, q_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, next_); } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(7, getStart()); } if (((bitField0_ & 0x00000080) != 0)) { output.writeMessage(8, getStop()); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, queue_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, instance_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, pos_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(3, limit_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, order_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, q_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, next_); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getStart()); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getStop()); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, queue_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.yamcs.protobuf.ListCommandsRequest)) { return super.equals(obj); } org.yamcs.protobuf.ListCommandsRequest other = (org.yamcs.protobuf.ListCommandsRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasPos() != other.hasPos()) return false; if (hasPos()) { if (getPos() != other.getPos()) return false; } if (hasLimit() != other.hasLimit()) return false; if (hasLimit()) { if (getLimit() != other.getLimit()) return false; } if (hasOrder() != other.hasOrder()) return false; if (hasOrder()) { if (!getOrder() .equals(other.getOrder())) return false; } if (hasQ() != other.hasQ()) return false; if (hasQ()) { if (!getQ() .equals(other.getQ())) return false; } if (hasNext() != other.hasNext()) return false; if (hasNext()) { if (!getNext() .equals(other.getNext())) return false; } if (hasStart() != other.hasStart()) return false; if (hasStart()) { if (!getStart() .equals(other.getStart())) return false; } if (hasStop() != other.hasStop()) return false; if (hasStop()) { if (!getStop() .equals(other.getStop())) return false; } if (hasQueue() != other.hasQueue()) return false; if (hasQueue()) { if (!getQueue() .equals(other.getQueue())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasInstance()) { hash = (37 * hash) + INSTANCE_FIELD_NUMBER; hash = (53 * hash) + getInstance().hashCode(); } if (hasPos()) { hash = (37 * hash) + POS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPos()); } if (hasLimit()) { hash = (37 * hash) + LIMIT_FIELD_NUMBER; hash = (53 * hash) + getLimit(); } if (hasOrder()) { hash = (37 * hash) + ORDER_FIELD_NUMBER; hash = (53 * hash) + getOrder().hashCode(); } if (hasQ()) { hash = (37 * hash) + Q_FIELD_NUMBER; hash = (53 * hash) + getQ().hashCode(); } if (hasNext()) { hash = (37 * hash) + NEXT_FIELD_NUMBER; hash = (53 * hash) + getNext().hashCode(); } if (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + getStart().hashCode(); } if (hasStop()) { hash = (37 * hash) + STOP_FIELD_NUMBER; hash = (53 * hash) + getStop().hashCode(); } if (hasQueue()) { hash = (37 * hash) + QUEUE_FIELD_NUMBER; hash = (53 * hash) + getQueue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.ListCommandsRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ListCommandsRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.ListCommandsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ListCommandsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.ListCommandsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ListCommandsRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.ListCommandsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.ListCommandsRequest parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.yamcs.protobuf.ListCommandsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.ListCommandsRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.yamcs.protobuf.ListCommandsRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.ListCommandsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.yamcs.protobuf.ListCommandsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yamcs.protobuf.commanding.ListCommandsRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.commanding.ListCommandsRequest) org.yamcs.protobuf.ListCommandsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.CommandsServiceProto.internal_static_yamcs_protobuf_commanding_ListCommandsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.CommandsServiceProto.internal_static_yamcs_protobuf_commanding_ListCommandsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.ListCommandsRequest.class, org.yamcs.protobuf.ListCommandsRequest.Builder.class); } // Construct using org.yamcs.protobuf.ListCommandsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStartFieldBuilder(); getStopFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); instance_ = ""; bitField0_ = (bitField0_ & ~0x00000001); pos_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); limit_ = 0; bitField0_ = (bitField0_ & ~0x00000004); order_ = ""; bitField0_ = (bitField0_ & ~0x00000008); q_ = ""; bitField0_ = (bitField0_ & ~0x00000010); next_ = ""; bitField0_ = (bitField0_ & ~0x00000020); if (startBuilder_ == null) { start_ = null; } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (stopBuilder_ == null) { stop_ = null; } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); queue_ = ""; bitField0_ = (bitField0_ & ~0x00000100); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.CommandsServiceProto.internal_static_yamcs_protobuf_commanding_ListCommandsRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.ListCommandsRequest getDefaultInstanceForType() { return org.yamcs.protobuf.ListCommandsRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.ListCommandsRequest build() { org.yamcs.protobuf.ListCommandsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.ListCommandsRequest buildPartial() { org.yamcs.protobuf.ListCommandsRequest result = new org.yamcs.protobuf.ListCommandsRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.instance_ = instance_; if (((from_bitField0_ & 0x00000002) != 0)) { result.pos_ = pos_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.order_ = order_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.q_ = q_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.next_ = next_; if (((from_bitField0_ & 0x00000040) != 0)) { if (startBuilder_ == null) { result.start_ = start_; } else { result.start_ = startBuilder_.build(); } to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { if (stopBuilder_ == null) { result.stop_ = stop_; } else { result.stop_ = stopBuilder_.build(); } to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } result.queue_ = queue_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.yamcs.protobuf.ListCommandsRequest) { return mergeFrom((org.yamcs.protobuf.ListCommandsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.ListCommandsRequest other) { if (other == org.yamcs.protobuf.ListCommandsRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasPos()) { setPos(other.getPos()); } if (other.hasLimit()) { setLimit(other.getLimit()); } if (other.hasOrder()) { bitField0_ |= 0x00000008; order_ = other.order_; onChanged(); } if (other.hasQ()) { bitField0_ |= 0x00000010; q_ = other.q_; onChanged(); } if (other.hasNext()) { bitField0_ |= 0x00000020; next_ = other.next_; onChanged(); } if (other.hasStart()) { mergeStart(other.getStart()); } if (other.hasStop()) { mergeStop(other.getStop()); } if (other.hasQueue()) { bitField0_ |= 0x00000100; queue_ = other.queue_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.yamcs.protobuf.ListCommandsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.ListCommandsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object instance_ = ""; /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return Whether the instance field is set. */ public boolean hasInstance() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The instance. */ public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { instance_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return The bytes for instance. */ public com.google.protobuf.ByteString getInstanceBytes() { java.lang.Object ref = instance_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); instance_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @param value The instance to set. * @return This builder for chaining. */ public Builder setInstance( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @return This builder for chaining. */ public Builder clearInstance() { bitField0_ = (bitField0_ & ~0x00000001); instance_ = getDefaultInstance().getInstance(); onChanged(); return this; } /** *
     * Yamcs instance name
     * 
* * optional string instance = 1; * @param value The bytes for instance to set. * @return This builder for chaining. */ public Builder setInstanceBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; instance_ = value; onChanged(); return this; } private long pos_ ; /** *
     * 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]; * @deprecated * @return Whether the pos field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasPos() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * 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]; * @deprecated * @return The pos. */ @java.lang.Override @java.lang.Deprecated public long getPos() { return pos_; } /** *
     * 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]; * @deprecated * @param value The pos to set. * @return This builder for chaining. */ @java.lang.Deprecated public Builder setPos(long value) { bitField0_ |= 0x00000002; pos_ = value; onChanged(); return this; } /** *
     * 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]; * @deprecated * @return This builder for chaining. */ @java.lang.Deprecated public Builder clearPos() { bitField0_ = (bitField0_ & ~0x00000002); pos_ = 0L; onChanged(); return this; } private int limit_ ; /** *
     * 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; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * 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; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } /** *
     * 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; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { bitField0_ |= 0x00000004; limit_ = value; onChanged(); return this; } /** *
     * 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; * @return This builder for chaining. */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000004); limit_ = 0; onChanged(); return this; } private java.lang.Object order_ = ""; /** *
     * The order of the returned results. Can be either ``asc`` or ``desc``.
     * Default: ``desc``
     * 
* * optional string order = 4; * @return Whether the order field is set. */ public boolean hasOrder() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * The order of the returned results. Can be either ``asc`` or ``desc``.
     * Default: ``desc``
     * 
* * optional string order = 4; * @return The order. */ public java.lang.String getOrder() { java.lang.Object ref = order_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { order_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * The order of the returned results. Can be either ``asc`` or ``desc``.
     * Default: ``desc``
     * 
* * optional string order = 4; * @return The bytes for order. */ public com.google.protobuf.ByteString getOrderBytes() { java.lang.Object ref = order_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); order_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The order of the returned results. Can be either ``asc`` or ``desc``.
     * Default: ``desc``
     * 
* * optional string order = 4; * @param value The order to set. * @return This builder for chaining. */ public Builder setOrder( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; order_ = value; onChanged(); return this; } /** *
     * The order of the returned results. Can be either ``asc`` or ``desc``.
     * Default: ``desc``
     * 
* * optional string order = 4; * @return This builder for chaining. */ public Builder clearOrder() { bitField0_ = (bitField0_ & ~0x00000008); order_ = getDefaultInstance().getOrder(); onChanged(); return this; } /** *
     * The order of the returned results. Can be either ``asc`` or ``desc``.
     * Default: ``desc``
     * 
* * optional string order = 4; * @param value The bytes for order to set. * @return This builder for chaining. */ public Builder setOrderBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; order_ = value; onChanged(); return this; } private java.lang.Object q_ = ""; /** *
     * Text to search in the name of the command. This searches both the
     * qualified name, and any aliases.
     * 
* * optional string q = 5; * @return Whether the q field is set. */ public boolean hasQ() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Text to search in the name of the command. This searches both the
     * qualified name, and any aliases.
     * 
* * optional string q = 5; * @return The q. */ public java.lang.String getQ() { java.lang.Object ref = q_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { q_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Text to search in the name of the command. This searches both the
     * qualified name, and any aliases.
     * 
* * optional string q = 5; * @return The bytes for q. */ public com.google.protobuf.ByteString getQBytes() { java.lang.Object ref = q_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); q_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Text to search in the name of the command. This searches both the
     * qualified name, and any aliases.
     * 
* * optional string q = 5; * @param value The q to set. * @return This builder for chaining. */ public Builder setQ( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; q_ = value; onChanged(); return this; } /** *
     * Text to search in the name of the command. This searches both the
     * qualified name, and any aliases.
     * 
* * optional string q = 5; * @return This builder for chaining. */ public Builder clearQ() { bitField0_ = (bitField0_ & ~0x00000010); q_ = getDefaultInstance().getQ(); onChanged(); return this; } /** *
     * Text to search in the name of the command. This searches both the
     * qualified name, and any aliases.
     * 
* * optional string q = 5; * @param value The bytes for q to set. * @return This builder for chaining. */ public Builder setQBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; q_ = value; onChanged(); return this; } private java.lang.Object next_ = ""; /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 6; * @return Whether the next field is set. */ public boolean hasNext() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 6; * @return The next. */ public java.lang.String getNext() { java.lang.Object ref = next_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { next_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 6; * @return The bytes for next. */ public com.google.protobuf.ByteString getNextBytes() { java.lang.Object ref = next_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); next_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 6; * @param value The next to set. * @return This builder for chaining. */ public Builder setNext( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; next_ = value; onChanged(); return this; } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 6; * @return This builder for chaining. */ public Builder clearNext() { bitField0_ = (bitField0_ & ~0x00000020); next_ = getDefaultInstance().getNext(); onChanged(); return this; } /** *
     * Continuation token returned by a previous page response.
     * 
* * optional string next = 6; * @param value The bytes for next to set. * @return This builder for chaining. */ public Builder setNextBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; next_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp start_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startBuilder_; /** *
     * 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; * @return Whether the start field is set. */ public boolean hasStart() { return ((bitField0_ & 0x00000040) != 0); } /** *
     * 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; * @return The start. */ public com.google.protobuf.Timestamp getStart() { if (startBuilder_ == null) { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } else { return startBuilder_.getMessage(); } } /** *
     * 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; */ public Builder setStart(com.google.protobuf.Timestamp value) { if (startBuilder_ == null) { if (value == null) { throw new NullPointerException(); } start_ = value; onChanged(); } else { startBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** *
     * 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; */ public Builder setStart( com.google.protobuf.Timestamp.Builder builderForValue) { if (startBuilder_ == null) { start_ = builderForValue.build(); onChanged(); } else { startBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** *
     * 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; */ public Builder mergeStart(com.google.protobuf.Timestamp value) { if (startBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && start_ != null && start_ != com.google.protobuf.Timestamp.getDefaultInstance()) { start_ = com.google.protobuf.Timestamp.newBuilder(start_).mergeFrom(value).buildPartial(); } else { start_ = value; } onChanged(); } else { startBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** *
     * 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; */ public Builder clearStart() { if (startBuilder_ == null) { start_ = null; onChanged(); } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** *
     * 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; */ public com.google.protobuf.Timestamp.Builder getStartBuilder() { bitField0_ |= 0x00000040; onChanged(); return getStartFieldBuilder().getBuilder(); } /** *
     * 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; */ public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { if (startBuilder_ != null) { return startBuilder_.getMessageOrBuilder(); } else { return start_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : start_; } } /** *
     * 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; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartFieldBuilder() { if (startBuilder_ == null) { startBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStart(), getParentForChildren(), isClean()); start_ = null; } return startBuilder_; } private com.google.protobuf.Timestamp stop_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> stopBuilder_; /** *
     * 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; * @return Whether the stop field is set. */ public boolean hasStop() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * 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; * @return The stop. */ public com.google.protobuf.Timestamp getStop() { if (stopBuilder_ == null) { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } else { return stopBuilder_.getMessage(); } } /** *
     * 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; */ public Builder setStop(com.google.protobuf.Timestamp value) { if (stopBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stop_ = value; onChanged(); } else { stopBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** *
     * 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; */ public Builder setStop( com.google.protobuf.Timestamp.Builder builderForValue) { if (stopBuilder_ == null) { stop_ = builderForValue.build(); onChanged(); } else { stopBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** *
     * 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; */ public Builder mergeStop(com.google.protobuf.Timestamp value) { if (stopBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && stop_ != null && stop_ != com.google.protobuf.Timestamp.getDefaultInstance()) { stop_ = com.google.protobuf.Timestamp.newBuilder(stop_).mergeFrom(value).buildPartial(); } else { stop_ = value; } onChanged(); } else { stopBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** *
     * 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; */ public Builder clearStop() { if (stopBuilder_ == null) { stop_ = null; onChanged(); } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** *
     * 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; */ public com.google.protobuf.Timestamp.Builder getStopBuilder() { bitField0_ |= 0x00000080; onChanged(); return getStopFieldBuilder().getBuilder(); } /** *
     * 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; */ public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { if (stopBuilder_ != null) { return stopBuilder_.getMessageOrBuilder(); } else { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } } /** *
     * 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; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStopFieldBuilder() { if (stopBuilder_ == null) { stopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStop(), getParentForChildren(), isClean()); stop_ = null; } return stopBuilder_; } private java.lang.Object queue_ = ""; /** *
     * Filter the results by the used queue.
     * 
* * optional string queue = 9; * @return Whether the queue field is set. */ public boolean hasQueue() { return ((bitField0_ & 0x00000100) != 0); } /** *
     * Filter the results by the used queue.
     * 
* * optional string queue = 9; * @return The queue. */ public java.lang.String getQueue() { java.lang.Object ref = queue_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { queue_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * Filter the results by the used queue.
     * 
* * optional string queue = 9; * @return The bytes for queue. */ public com.google.protobuf.ByteString getQueueBytes() { java.lang.Object ref = queue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); queue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Filter the results by the used queue.
     * 
* * optional string queue = 9; * @param value The queue to set. * @return This builder for chaining. */ public Builder setQueue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; queue_ = value; onChanged(); return this; } /** *
     * Filter the results by the used queue.
     * 
* * optional string queue = 9; * @return This builder for chaining. */ public Builder clearQueue() { bitField0_ = (bitField0_ & ~0x00000100); queue_ = getDefaultInstance().getQueue(); onChanged(); return this; } /** *
     * Filter the results by the used queue.
     * 
* * optional string queue = 9; * @param value The bytes for queue to set. * @return This builder for chaining. */ public Builder setQueueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; queue_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yamcs.protobuf.commanding.ListCommandsRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.commanding.ListCommandsRequest) private static final org.yamcs.protobuf.ListCommandsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.ListCommandsRequest(); } public static org.yamcs.protobuf.ListCommandsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListCommandsRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListCommandsRequest(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.yamcs.protobuf.ListCommandsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy