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

org.yamcs.protobuf.ListTransfersRequest 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/filetransfer/filetransfer.proto

package org.yamcs.protobuf;

/**
 * Protobuf type {@code yamcs.protobuf.filetransfer.ListTransfersRequest}
 */
public final class ListTransfersRequest extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:yamcs.protobuf.filetransfer.ListTransfersRequest)
    ListTransfersRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use ListTransfersRequest.newBuilder() to construct.
  private ListTransfersRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private ListTransfersRequest() {
    instance_ = "";
    serviceName_ = "";
    state_ = java.util.Collections.emptyList();
    direction_ = 1;
    order_ = "";
  }

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

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private ListTransfersRequest(
      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 18: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000002;
            serviceName_ = bs;
            break;
          }
          case 26: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (((bitField0_ & 0x00000004) != 0)) {
              subBuilder = start_.toBuilder();
            }
            start_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(start_);
              start_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000004;
            break;
          }
          case 34: {
            com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (((bitField0_ & 0x00000008) != 0)) {
              subBuilder = stop_.toBuilder();
            }
            stop_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(stop_);
              stop_ = subBuilder.buildPartial();
            }
            bitField0_ |= 0x00000008;
            break;
          }
          case 40: {
            bitField0_ |= 0x00000010;
            localEntityId_ = input.readInt64();
            break;
          }
          case 48: {
            bitField0_ |= 0x00000020;
            remoteEntityId_ = input.readInt64();
            break;
          }
          case 56: {
            int rawValue = input.readEnum();
            @SuppressWarnings("deprecation")
            org.yamcs.protobuf.TransferState value = org.yamcs.protobuf.TransferState.valueOf(rawValue);
            if (value == null) {
              unknownFields.mergeVarintField(7, rawValue);
            } else {
              if (!((mutable_bitField0_ & 0x00000040) != 0)) {
                state_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000040;
              }
              state_.add(rawValue);
            }
            break;
          }
          case 58: {
            int length = input.readRawVarint32();
            int oldLimit = input.pushLimit(length);
            while(input.getBytesUntilLimit() > 0) {
              int rawValue = input.readEnum();
              @SuppressWarnings("deprecation")
              org.yamcs.protobuf.TransferState value = org.yamcs.protobuf.TransferState.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(7, rawValue);
              } else {
                if (!((mutable_bitField0_ & 0x00000040) != 0)) {
                  state_ = new java.util.ArrayList();
                  mutable_bitField0_ |= 0x00000040;
                }
                state_.add(rawValue);
              }
            }
            input.popLimit(oldLimit);
            break;
          }
          case 64: {
            int rawValue = input.readEnum();
              @SuppressWarnings("deprecation")
            org.yamcs.protobuf.TransferDirection value = org.yamcs.protobuf.TransferDirection.valueOf(rawValue);
            if (value == null) {
              unknownFields.mergeVarintField(8, rawValue);
            } else {
              bitField0_ |= 0x00000040;
              direction_ = rawValue;
            }
            break;
          }
          case 72: {
            bitField0_ |= 0x00000080;
            limit_ = input.readInt32();
            break;
          }
          case 82: {
            com.google.protobuf.ByteString bs = input.readBytes();
            bitField0_ |= 0x00000100;
            order_ = 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 {
      if (((mutable_bitField0_ & 0x00000040) != 0)) {
        state_ = java.util.Collections.unmodifiableList(state_);
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return org.yamcs.protobuf.FileTransferProto.internal_static_yamcs_protobuf_filetransfer_ListTransfersRequest_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return org.yamcs.protobuf.FileTransferProto.internal_static_yamcs_protobuf_filetransfer_ListTransfersRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            org.yamcs.protobuf.ListTransfersRequest.class, org.yamcs.protobuf.ListTransfersRequest.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 SERVICENAME_FIELD_NUMBER = 2; private volatile java.lang.Object serviceName_; /** *
   * File transfer service name
   * 
* * optional string serviceName = 2; * @return Whether the serviceName field is set. */ @java.lang.Override public boolean hasServiceName() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * File transfer service name
   * 
* * optional string serviceName = 2; * @return The serviceName. */ @java.lang.Override public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; 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()) { serviceName_ = s; } return s; } } /** *
   * File transfer service name
   * 
* * optional string serviceName = 2; * @return The bytes for serviceName. */ @java.lang.Override public com.google.protobuf.ByteString getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int START_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp start_; /** *
   * Filter the lower bound of the transfer's creation time.
   * Specify a date string in ISO 8601 format. This bound is
   * inclusive.
   * 
* * optional .google.protobuf.Timestamp start = 3; * @return Whether the start field is set. */ @java.lang.Override public boolean hasStart() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * Filter the lower bound of the transfer's creation time.
   * Specify a date string in ISO 8601 format. This bound is
   * inclusive.
   * 
* * optional .google.protobuf.Timestamp start = 3; * @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 transfer's creation time.
   * Specify a date string in ISO 8601 format. This bound is
   * inclusive.
   * 
* * optional .google.protobuf.Timestamp start = 3; */ @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 = 4; private com.google.protobuf.Timestamp stop_; /** *
   * Filter the upper bound of the transfer's creation time.
   * Specify a date string in ISO 8601 format. This bound is
   * exclusive.
   * 
* * optional .google.protobuf.Timestamp stop = 4; * @return Whether the stop field is set. */ @java.lang.Override public boolean hasStop() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * Filter the upper bound of the transfer's creation time.
   * Specify a date string in ISO 8601 format. This bound is
   * exclusive.
   * 
* * optional .google.protobuf.Timestamp stop = 4; * @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 transfer's creation time.
   * Specify a date string in ISO 8601 format. This bound is
   * exclusive.
   * 
* * optional .google.protobuf.Timestamp stop = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStopOrBuilder() { return stop_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stop_; } public static final int LOCALENTITYID_FIELD_NUMBER = 5; private long localEntityId_; /** *
   * Filter by local entity identifier
   * 
* * optional int64 localEntityId = 5; * @return Whether the localEntityId field is set. */ @java.lang.Override public boolean hasLocalEntityId() { return ((bitField0_ & 0x00000010) != 0); } /** *
   * Filter by local entity identifier
   * 
* * optional int64 localEntityId = 5; * @return The localEntityId. */ @java.lang.Override public long getLocalEntityId() { return localEntityId_; } public static final int REMOTEENTITYID_FIELD_NUMBER = 6; private long remoteEntityId_; /** *
   * Filter by remote entity identifier
   * 
* * optional int64 remoteEntityId = 6; * @return Whether the remoteEntityId field is set. */ @java.lang.Override public boolean hasRemoteEntityId() { return ((bitField0_ & 0x00000020) != 0); } /** *
   * Filter by remote entity identifier
   * 
* * optional int64 remoteEntityId = 6; * @return The remoteEntityId. */ @java.lang.Override public long getRemoteEntityId() { return remoteEntityId_; } public static final int STATE_FIELD_NUMBER = 7; private java.util.List state_; private static final com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, org.yamcs.protobuf.TransferState> state_converter_ = new com.google.protobuf.Internal.ListAdapter.Converter< java.lang.Integer, org.yamcs.protobuf.TransferState>() { public org.yamcs.protobuf.TransferState convert(java.lang.Integer from) { @SuppressWarnings("deprecation") org.yamcs.protobuf.TransferState result = org.yamcs.protobuf.TransferState.valueOf(from); return result == null ? org.yamcs.protobuf.TransferState.RUNNING : result; } }; /** *
   * Filter by transfer state. Leave empty to return any.
   * 
* * repeated .yamcs.protobuf.filetransfer.TransferState state = 7; * @return A list containing the state. */ @java.lang.Override public java.util.List getStateList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, org.yamcs.protobuf.TransferState>(state_, state_converter_); } /** *
   * Filter by transfer state. Leave empty to return any.
   * 
* * repeated .yamcs.protobuf.filetransfer.TransferState state = 7; * @return The count of state. */ @java.lang.Override public int getStateCount() { return state_.size(); } /** *
   * Filter by transfer state. Leave empty to return any.
   * 
* * repeated .yamcs.protobuf.filetransfer.TransferState state = 7; * @param index The index of the element to return. * @return The state at the given index. */ @java.lang.Override public org.yamcs.protobuf.TransferState getState(int index) { return state_converter_.convert(state_.get(index)); } public static final int DIRECTION_FIELD_NUMBER = 8; private int direction_; /** *
   * Filter by transfer direction (UPLOAD or DOWNLOAD)
   * 
* * optional .yamcs.protobuf.filetransfer.TransferDirection direction = 8; * @return Whether the direction field is set. */ @java.lang.Override public boolean hasDirection() { return ((bitField0_ & 0x00000040) != 0); } /** *
   * Filter by transfer direction (UPLOAD or DOWNLOAD)
   * 
* * optional .yamcs.protobuf.filetransfer.TransferDirection direction = 8; * @return The direction. */ @java.lang.Override public org.yamcs.protobuf.TransferDirection getDirection() { @SuppressWarnings("deprecation") org.yamcs.protobuf.TransferDirection result = org.yamcs.protobuf.TransferDirection.valueOf(direction_); return result == null ? org.yamcs.protobuf.TransferDirection.UPLOAD : result; } public static final int LIMIT_FIELD_NUMBER = 9; 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 = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000080) != 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 = 9; * @return The limit. */ @java.lang.Override public int getLimit() { return limit_; } public static final int ORDER_FIELD_NUMBER = 10; private volatile java.lang.Object order_; /** *
   * The order of the returned results. Can be either ``asc`` or ``desc``.
   * Default: ``desc``
   * 
* * optional string order = 10; * @return Whether the order field is set. */ @java.lang.Override public boolean hasOrder() { return ((bitField0_ & 0x00000100) != 0); } /** *
   * The order of the returned results. Can be either ``asc`` or ``desc``.
   * Default: ``desc``
   * 
* * optional string order = 10; * @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 = 10; * @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; } } 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)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serviceName_); } if (((bitField0_ & 0x00000004) != 0)) { output.writeMessage(3, getStart()); } if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(4, getStop()); } if (((bitField0_ & 0x00000010) != 0)) { output.writeInt64(5, localEntityId_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeInt64(6, remoteEntityId_); } for (int i = 0; i < state_.size(); i++) { output.writeEnum(7, state_.get(i)); } if (((bitField0_ & 0x00000040) != 0)) { output.writeEnum(8, direction_); } if (((bitField0_ & 0x00000080) != 0)) { output.writeInt32(9, limit_); } if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, order_); } 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.GeneratedMessageV3.computeStringSize(2, serviceName_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getStart()); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getStop()); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(5, localEntityId_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(6, remoteEntityId_); } { int dataSize = 0; for (int i = 0; i < state_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeEnumSizeNoTag(state_.get(i)); } size += dataSize; size += 1 * state_.size(); } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, direction_); } if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.CodedOutputStream .computeInt32Size(9, limit_); } if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, order_); } 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.ListTransfersRequest)) { return super.equals(obj); } org.yamcs.protobuf.ListTransfersRequest other = (org.yamcs.protobuf.ListTransfersRequest) obj; if (hasInstance() != other.hasInstance()) return false; if (hasInstance()) { if (!getInstance() .equals(other.getInstance())) return false; } if (hasServiceName() != other.hasServiceName()) return false; if (hasServiceName()) { if (!getServiceName() .equals(other.getServiceName())) 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 (hasLocalEntityId() != other.hasLocalEntityId()) return false; if (hasLocalEntityId()) { if (getLocalEntityId() != other.getLocalEntityId()) return false; } if (hasRemoteEntityId() != other.hasRemoteEntityId()) return false; if (hasRemoteEntityId()) { if (getRemoteEntityId() != other.getRemoteEntityId()) return false; } if (!state_.equals(other.state_)) return false; if (hasDirection() != other.hasDirection()) return false; if (hasDirection()) { if (direction_ != other.direction_) 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 (!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 (hasServiceName()) { hash = (37 * hash) + SERVICENAME_FIELD_NUMBER; hash = (53 * hash) + getServiceName().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 (hasLocalEntityId()) { hash = (37 * hash) + LOCALENTITYID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getLocalEntityId()); } if (hasRemoteEntityId()) { hash = (37 * hash) + REMOTEENTITYID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getRemoteEntityId()); } if (getStateCount() > 0) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + state_.hashCode(); } if (hasDirection()) { hash = (37 * hash) + DIRECTION_FIELD_NUMBER; hash = (53 * hash) + direction_; } 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(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.yamcs.protobuf.ListTransfersRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ListTransfersRequest 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.ListTransfersRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ListTransfersRequest 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.ListTransfersRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.yamcs.protobuf.ListTransfersRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.yamcs.protobuf.ListTransfersRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.ListTransfersRequest 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.ListTransfersRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.yamcs.protobuf.ListTransfersRequest 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.ListTransfersRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.yamcs.protobuf.ListTransfersRequest 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.ListTransfersRequest 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.filetransfer.ListTransfersRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yamcs.protobuf.filetransfer.ListTransfersRequest) org.yamcs.protobuf.ListTransfersRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.yamcs.protobuf.FileTransferProto.internal_static_yamcs_protobuf_filetransfer_ListTransfersRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.yamcs.protobuf.FileTransferProto.internal_static_yamcs_protobuf_filetransfer_ListTransfersRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.yamcs.protobuf.ListTransfersRequest.class, org.yamcs.protobuf.ListTransfersRequest.Builder.class); } // Construct using org.yamcs.protobuf.ListTransfersRequest.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); serviceName_ = ""; bitField0_ = (bitField0_ & ~0x00000002); if (startBuilder_ == null) { start_ = null; } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (stopBuilder_ == null) { stop_ = null; } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); localEntityId_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); remoteEntityId_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); state_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); direction_ = 1; bitField0_ = (bitField0_ & ~0x00000080); limit_ = 0; bitField0_ = (bitField0_ & ~0x00000100); order_ = ""; bitField0_ = (bitField0_ & ~0x00000200); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.yamcs.protobuf.FileTransferProto.internal_static_yamcs_protobuf_filetransfer_ListTransfersRequest_descriptor; } @java.lang.Override public org.yamcs.protobuf.ListTransfersRequest getDefaultInstanceForType() { return org.yamcs.protobuf.ListTransfersRequest.getDefaultInstance(); } @java.lang.Override public org.yamcs.protobuf.ListTransfersRequest build() { org.yamcs.protobuf.ListTransfersRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.yamcs.protobuf.ListTransfersRequest buildPartial() { org.yamcs.protobuf.ListTransfersRequest result = new org.yamcs.protobuf.ListTransfersRequest(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)) { to_bitField0_ |= 0x00000002; } result.serviceName_ = serviceName_; if (((from_bitField0_ & 0x00000004) != 0)) { if (startBuilder_ == null) { result.start_ = start_; } else { result.start_ = startBuilder_.build(); } to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { if (stopBuilder_ == null) { result.stop_ = stop_; } else { result.stop_ = stopBuilder_.build(); } to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { result.localEntityId_ = localEntityId_; to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000020) != 0)) { result.remoteEntityId_ = remoteEntityId_; to_bitField0_ |= 0x00000020; } if (((bitField0_ & 0x00000040) != 0)) { state_ = java.util.Collections.unmodifiableList(state_); bitField0_ = (bitField0_ & ~0x00000040); } result.state_ = state_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000040; } result.direction_ = direction_; if (((from_bitField0_ & 0x00000100) != 0)) { result.limit_ = limit_; to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000100; } result.order_ = order_; 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.ListTransfersRequest) { return mergeFrom((org.yamcs.protobuf.ListTransfersRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.yamcs.protobuf.ListTransfersRequest other) { if (other == org.yamcs.protobuf.ListTransfersRequest.getDefaultInstance()) return this; if (other.hasInstance()) { bitField0_ |= 0x00000001; instance_ = other.instance_; onChanged(); } if (other.hasServiceName()) { bitField0_ |= 0x00000002; serviceName_ = other.serviceName_; onChanged(); } if (other.hasStart()) { mergeStart(other.getStart()); } if (other.hasStop()) { mergeStop(other.getStop()); } if (other.hasLocalEntityId()) { setLocalEntityId(other.getLocalEntityId()); } if (other.hasRemoteEntityId()) { setRemoteEntityId(other.getRemoteEntityId()); } if (!other.state_.isEmpty()) { if (state_.isEmpty()) { state_ = other.state_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureStateIsMutable(); state_.addAll(other.state_); } onChanged(); } if (other.hasDirection()) { setDirection(other.getDirection()); } if (other.hasLimit()) { setLimit(other.getLimit()); } if (other.hasOrder()) { bitField0_ |= 0x00000200; order_ = other.order_; 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.ListTransfersRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.yamcs.protobuf.ListTransfersRequest) 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 java.lang.Object serviceName_ = ""; /** *
     * File transfer service name
     * 
* * optional string serviceName = 2; * @return Whether the serviceName field is set. */ public boolean hasServiceName() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * File transfer service name
     * 
* * optional string serviceName = 2; * @return The serviceName. */ public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; 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()) { serviceName_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
     * File transfer service name
     * 
* * optional string serviceName = 2; * @return The bytes for serviceName. */ public com.google.protobuf.ByteString getServiceNameBytes() { java.lang.Object ref = serviceName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serviceName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * File transfer service name
     * 
* * optional string serviceName = 2; * @param value The serviceName to set. * @return This builder for chaining. */ public Builder setServiceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; serviceName_ = value; onChanged(); return this; } /** *
     * File transfer service name
     * 
* * optional string serviceName = 2; * @return This builder for chaining. */ public Builder clearServiceName() { bitField0_ = (bitField0_ & ~0x00000002); serviceName_ = getDefaultInstance().getServiceName(); onChanged(); return this; } /** *
     * File transfer service name
     * 
* * optional string serviceName = 2; * @param value The bytes for serviceName to set. * @return This builder for chaining. */ public Builder setServiceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; serviceName_ = 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 transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 3; * @return Whether the start field is set. */ public boolean hasStart() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Filter the lower bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 3; * @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 transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ 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_ |= 0x00000004; return this; } /** *
     * Filter the lower bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ public Builder setStart( com.google.protobuf.Timestamp.Builder builderForValue) { if (startBuilder_ == null) { start_ = builderForValue.build(); onChanged(); } else { startBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** *
     * Filter the lower bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ public Builder mergeStart(com.google.protobuf.Timestamp value) { if (startBuilder_ == null) { if (((bitField0_ & 0x00000004) != 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_ |= 0x00000004; return this; } /** *
     * Filter the lower bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ public Builder clearStart() { if (startBuilder_ == null) { start_ = null; onChanged(); } else { startBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** *
     * Filter the lower bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ public com.google.protobuf.Timestamp.Builder getStartBuilder() { bitField0_ |= 0x00000004; onChanged(); return getStartFieldBuilder().getBuilder(); } /** *
     * Filter the lower bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ 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 transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * inclusive.
     * 
* * optional .google.protobuf.Timestamp start = 3; */ 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 transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 4; * @return Whether the stop field is set. */ public boolean hasStop() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * Filter the upper bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 4; * @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 transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ 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_ |= 0x00000008; return this; } /** *
     * Filter the upper bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ public Builder setStop( com.google.protobuf.Timestamp.Builder builderForValue) { if (stopBuilder_ == null) { stop_ = builderForValue.build(); onChanged(); } else { stopBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** *
     * Filter the upper bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ public Builder mergeStop(com.google.protobuf.Timestamp value) { if (stopBuilder_ == null) { if (((bitField0_ & 0x00000008) != 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_ |= 0x00000008; return this; } /** *
     * Filter the upper bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ public Builder clearStop() { if (stopBuilder_ == null) { stop_ = null; onChanged(); } else { stopBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** *
     * Filter the upper bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ public com.google.protobuf.Timestamp.Builder getStopBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStopFieldBuilder().getBuilder(); } /** *
     * Filter the upper bound of the transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ 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 transfer's creation time.
     * Specify a date string in ISO 8601 format. This bound is
     * exclusive.
     * 
* * optional .google.protobuf.Timestamp stop = 4; */ 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 long localEntityId_ ; /** *
     * Filter by local entity identifier
     * 
* * optional int64 localEntityId = 5; * @return Whether the localEntityId field is set. */ @java.lang.Override public boolean hasLocalEntityId() { return ((bitField0_ & 0x00000010) != 0); } /** *
     * Filter by local entity identifier
     * 
* * optional int64 localEntityId = 5; * @return The localEntityId. */ @java.lang.Override public long getLocalEntityId() { return localEntityId_; } /** *
     * Filter by local entity identifier
     * 
* * optional int64 localEntityId = 5; * @param value The localEntityId to set. * @return This builder for chaining. */ public Builder setLocalEntityId(long value) { bitField0_ |= 0x00000010; localEntityId_ = value; onChanged(); return this; } /** *
     * Filter by local entity identifier
     * 
* * optional int64 localEntityId = 5; * @return This builder for chaining. */ public Builder clearLocalEntityId() { bitField0_ = (bitField0_ & ~0x00000010); localEntityId_ = 0L; onChanged(); return this; } private long remoteEntityId_ ; /** *
     * Filter by remote entity identifier
     * 
* * optional int64 remoteEntityId = 6; * @return Whether the remoteEntityId field is set. */ @java.lang.Override public boolean hasRemoteEntityId() { return ((bitField0_ & 0x00000020) != 0); } /** *
     * Filter by remote entity identifier
     * 
* * optional int64 remoteEntityId = 6; * @return The remoteEntityId. */ @java.lang.Override public long getRemoteEntityId() { return remoteEntityId_; } /** *
     * Filter by remote entity identifier
     * 
* * optional int64 remoteEntityId = 6; * @param value The remoteEntityId to set. * @return This builder for chaining. */ public Builder setRemoteEntityId(long value) { bitField0_ |= 0x00000020; remoteEntityId_ = value; onChanged(); return this; } /** *
     * Filter by remote entity identifier
     * 
* * optional int64 remoteEntityId = 6; * @return This builder for chaining. */ public Builder clearRemoteEntityId() { bitField0_ = (bitField0_ & ~0x00000020); remoteEntityId_ = 0L; onChanged(); return this; } private java.util.List state_ = java.util.Collections.emptyList(); private void ensureStateIsMutable() { if (!((bitField0_ & 0x00000040) != 0)) { state_ = new java.util.ArrayList(state_); bitField0_ |= 0x00000040; } } /** *
     * Filter by transfer state. Leave empty to return any.
     * 
* * repeated .yamcs.protobuf.filetransfer.TransferState state = 7; * @return A list containing the state. */ public java.util.List getStateList() { return new com.google.protobuf.Internal.ListAdapter< java.lang.Integer, org.yamcs.protobuf.TransferState>(state_, state_converter_); } /** *
     * Filter by transfer state. Leave empty to return any.
     * 
* * repeated .yamcs.protobuf.filetransfer.TransferState state = 7; * @return The count of state. */ public int getStateCount() { return state_.size(); } /** *
     * Filter by transfer state. Leave empty to return any.
     * 
* * repeated .yamcs.protobuf.filetransfer.TransferState state = 7; * @param index The index of the element to return. * @return The state at the given index. */ public org.yamcs.protobuf.TransferState getState(int index) { return state_converter_.convert(state_.get(index)); } /** *
     * Filter by transfer state. Leave empty to return any.
     * 
* * repeated .yamcs.protobuf.filetransfer.TransferState state = 7; * @param index The index to set the value at. * @param value The state to set. * @return This builder for chaining. */ public Builder setState( int index, org.yamcs.protobuf.TransferState value) { if (value == null) { throw new NullPointerException(); } ensureStateIsMutable(); state_.set(index, value.getNumber()); onChanged(); return this; } /** *
     * Filter by transfer state. Leave empty to return any.
     * 
* * repeated .yamcs.protobuf.filetransfer.TransferState state = 7; * @param value The state to add. * @return This builder for chaining. */ public Builder addState(org.yamcs.protobuf.TransferState value) { if (value == null) { throw new NullPointerException(); } ensureStateIsMutable(); state_.add(value.getNumber()); onChanged(); return this; } /** *
     * Filter by transfer state. Leave empty to return any.
     * 
* * repeated .yamcs.protobuf.filetransfer.TransferState state = 7; * @param values The state to add. * @return This builder for chaining. */ public Builder addAllState( java.lang.Iterable values) { ensureStateIsMutable(); for (org.yamcs.protobuf.TransferState value : values) { state_.add(value.getNumber()); } onChanged(); return this; } /** *
     * Filter by transfer state. Leave empty to return any.
     * 
* * repeated .yamcs.protobuf.filetransfer.TransferState state = 7; * @return This builder for chaining. */ public Builder clearState() { state_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } private int direction_ = 1; /** *
     * Filter by transfer direction (UPLOAD or DOWNLOAD)
     * 
* * optional .yamcs.protobuf.filetransfer.TransferDirection direction = 8; * @return Whether the direction field is set. */ @java.lang.Override public boolean hasDirection() { return ((bitField0_ & 0x00000080) != 0); } /** *
     * Filter by transfer direction (UPLOAD or DOWNLOAD)
     * 
* * optional .yamcs.protobuf.filetransfer.TransferDirection direction = 8; * @return The direction. */ @java.lang.Override public org.yamcs.protobuf.TransferDirection getDirection() { @SuppressWarnings("deprecation") org.yamcs.protobuf.TransferDirection result = org.yamcs.protobuf.TransferDirection.valueOf(direction_); return result == null ? org.yamcs.protobuf.TransferDirection.UPLOAD : result; } /** *
     * Filter by transfer direction (UPLOAD or DOWNLOAD)
     * 
* * optional .yamcs.protobuf.filetransfer.TransferDirection direction = 8; * @param value The direction to set. * @return This builder for chaining. */ public Builder setDirection(org.yamcs.protobuf.TransferDirection value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000080; direction_ = value.getNumber(); onChanged(); return this; } /** *
     * Filter by transfer direction (UPLOAD or DOWNLOAD)
     * 
* * optional .yamcs.protobuf.filetransfer.TransferDirection direction = 8; * @return This builder for chaining. */ public Builder clearDirection() { bitField0_ = (bitField0_ & ~0x00000080); direction_ = 1; 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 = 9; * @return Whether the limit field is set. */ @java.lang.Override public boolean hasLimit() { return ((bitField0_ & 0x00000100) != 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 = 9; * @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 = 9; * @param value The limit to set. * @return This builder for chaining. */ public Builder setLimit(int value) { bitField0_ |= 0x00000100; 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 = 9; * @return This builder for chaining. */ public Builder clearLimit() { bitField0_ = (bitField0_ & ~0x00000100); 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 = 10; * @return Whether the order field is set. */ public boolean hasOrder() { return ((bitField0_ & 0x00000200) != 0); } /** *
     * The order of the returned results. Can be either ``asc`` or ``desc``.
     * Default: ``desc``
     * 
* * optional string order = 10; * @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 = 10; * @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 = 10; * @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_ |= 0x00000200; order_ = value; onChanged(); return this; } /** *
     * The order of the returned results. Can be either ``asc`` or ``desc``.
     * Default: ``desc``
     * 
* * optional string order = 10; * @return This builder for chaining. */ public Builder clearOrder() { bitField0_ = (bitField0_ & ~0x00000200); order_ = getDefaultInstance().getOrder(); onChanged(); return this; } /** *
     * The order of the returned results. Can be either ``asc`` or ``desc``.
     * Default: ``desc``
     * 
* * optional string order = 10; * @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_ |= 0x00000200; order_ = 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.filetransfer.ListTransfersRequest) } // @@protoc_insertion_point(class_scope:yamcs.protobuf.filetransfer.ListTransfersRequest) private static final org.yamcs.protobuf.ListTransfersRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.yamcs.protobuf.ListTransfersRequest(); } public static org.yamcs.protobuf.ListTransfersRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ListTransfersRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ListTransfersRequest(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.ListTransfersRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy