Class ListTransfersRequest.Builder

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

public static final class ListTransfersRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder> implements ListTransfersRequestOrBuilder
Protobuf type yamcs.protobuf.filetransfer.ListTransfersRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>
    • setField

      public ListTransfersRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>
    • clearField

      public ListTransfersRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>
    • clearOneof

      public ListTransfersRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>
    • setRepeatedField

      public ListTransfersRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>
    • addRepeatedField

      public ListTransfersRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>
    • mergeFrom

      public ListTransfersRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListTransfersRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public ListTransfersRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListTransfersRequest.Builder>
      Throws:
      IOException
    • hasInstance

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

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

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

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

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

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

      public boolean hasServiceName()
       File transfer service name
       
      optional string serviceName = 2;
      Specified by:
      hasServiceName in interface ListTransfersRequestOrBuilder
      Returns:
      Whether the serviceName field is set.
    • getServiceName

      public String getServiceName()
       File transfer service name
       
      optional string serviceName = 2;
      Specified by:
      getServiceName in interface ListTransfersRequestOrBuilder
      Returns:
      The serviceName.
    • getServiceNameBytes

      public com.google.protobuf.ByteString getServiceNameBytes()
       File transfer service name
       
      optional string serviceName = 2;
      Specified by:
      getServiceNameBytes in interface ListTransfersRequestOrBuilder
      Returns:
      The bytes for serviceName.
    • setServiceName

      public ListTransfersRequest.Builder setServiceName(String value)
       File transfer service name
       
      optional string serviceName = 2;
      Parameters:
      value - The serviceName to set.
      Returns:
      This builder for chaining.
    • clearServiceName

      public ListTransfersRequest.Builder clearServiceName()
       File transfer service name
       
      optional string serviceName = 2;
      Returns:
      This builder for chaining.
    • setServiceNameBytes

      public ListTransfersRequest.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
       File transfer service name
       
      optional string serviceName = 2;
      Parameters:
      value - The bytes for serviceName to set.
      Returns:
      This builder for chaining.
    • hasStart

      public boolean hasStart()
       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;
      Specified by:
      hasStart in interface ListTransfersRequestOrBuilder
      Returns:
      Whether the start field is set.
    • getStart

      public com.google.protobuf.Timestamp getStart()
       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;
      Specified by:
      getStart in interface ListTransfersRequestOrBuilder
      Returns:
      The start.
    • setStart

      public ListTransfersRequest.Builder setStart(com.google.protobuf.Timestamp value)
       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;
    • setStart

      public ListTransfersRequest.Builder setStart(com.google.protobuf.Timestamp.Builder builderForValue)
       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;
    • mergeStart

      public ListTransfersRequest.Builder mergeStart(com.google.protobuf.Timestamp value)
       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;
    • clearStart

      public ListTransfersRequest.Builder clearStart()
       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;
    • getStartBuilder

      public com.google.protobuf.Timestamp.Builder getStartBuilder()
       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;
    • getStartOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartOrBuilder()
       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;
      Specified by:
      getStartOrBuilder in interface ListTransfersRequestOrBuilder
    • hasStop

      public boolean hasStop()
       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;
      Specified by:
      hasStop in interface ListTransfersRequestOrBuilder
      Returns:
      Whether the stop field is set.
    • getStop

      public com.google.protobuf.Timestamp getStop()
       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;
      Specified by:
      getStop in interface ListTransfersRequestOrBuilder
      Returns:
      The stop.
    • setStop

      public ListTransfersRequest.Builder setStop(com.google.protobuf.Timestamp value)
       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;
    • setStop

      public ListTransfersRequest.Builder setStop(com.google.protobuf.Timestamp.Builder builderForValue)
       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;
    • mergeStop

      public ListTransfersRequest.Builder mergeStop(com.google.protobuf.Timestamp value)
       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;
    • clearStop

      public ListTransfersRequest.Builder clearStop()
       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;
    • getStopBuilder

      public com.google.protobuf.Timestamp.Builder getStopBuilder()
       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;
    • getStopOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStopOrBuilder()
       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;
      Specified by:
      getStopOrBuilder in interface ListTransfersRequestOrBuilder
    • hasLocalEntityId

      public boolean hasLocalEntityId()
       Filter by local entity identifier
       
      optional int64 localEntityId = 5;
      Specified by:
      hasLocalEntityId in interface ListTransfersRequestOrBuilder
      Returns:
      Whether the localEntityId field is set.
    • getLocalEntityId

      public long getLocalEntityId()
       Filter by local entity identifier
       
      optional int64 localEntityId = 5;
      Specified by:
      getLocalEntityId in interface ListTransfersRequestOrBuilder
      Returns:
      The localEntityId.
    • setLocalEntityId

      public ListTransfersRequest.Builder setLocalEntityId(long value)
       Filter by local entity identifier
       
      optional int64 localEntityId = 5;
      Parameters:
      value - The localEntityId to set.
      Returns:
      This builder for chaining.
    • clearLocalEntityId

      public ListTransfersRequest.Builder clearLocalEntityId()
       Filter by local entity identifier
       
      optional int64 localEntityId = 5;
      Returns:
      This builder for chaining.
    • hasRemoteEntityId

      public boolean hasRemoteEntityId()
       Filter by remote entity identifier
       
      optional int64 remoteEntityId = 6;
      Specified by:
      hasRemoteEntityId in interface ListTransfersRequestOrBuilder
      Returns:
      Whether the remoteEntityId field is set.
    • getRemoteEntityId

      public long getRemoteEntityId()
       Filter by remote entity identifier
       
      optional int64 remoteEntityId = 6;
      Specified by:
      getRemoteEntityId in interface ListTransfersRequestOrBuilder
      Returns:
      The remoteEntityId.
    • setRemoteEntityId

      public ListTransfersRequest.Builder setRemoteEntityId(long value)
       Filter by remote entity identifier
       
      optional int64 remoteEntityId = 6;
      Parameters:
      value - The remoteEntityId to set.
      Returns:
      This builder for chaining.
    • clearRemoteEntityId

      public ListTransfersRequest.Builder clearRemoteEntityId()
       Filter by remote entity identifier
       
      optional int64 remoteEntityId = 6;
      Returns:
      This builder for chaining.
    • getStateList

      public List<TransferState> getStateList()
       Filter by transfer state. Leave empty to return any.
       
      repeated .yamcs.protobuf.filetransfer.TransferState state = 7;
      Specified by:
      getStateList in interface ListTransfersRequestOrBuilder
      Returns:
      A list containing the state.
    • getStateCount

      public int getStateCount()
       Filter by transfer state. Leave empty to return any.
       
      repeated .yamcs.protobuf.filetransfer.TransferState state = 7;
      Specified by:
      getStateCount in interface ListTransfersRequestOrBuilder
      Returns:
      The count of state.
    • getState

      public TransferState getState(int index)
       Filter by transfer state. Leave empty to return any.
       
      repeated .yamcs.protobuf.filetransfer.TransferState state = 7;
      Specified by:
      getState in interface ListTransfersRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The state at the given index.
    • setState

      public ListTransfersRequest.Builder setState(int index, TransferState value)
       Filter by transfer state. Leave empty to return any.
       
      repeated .yamcs.protobuf.filetransfer.TransferState state = 7;
      Parameters:
      index - The index to set the value at.
      value - The state to set.
      Returns:
      This builder for chaining.
    • addState

       Filter by transfer state. Leave empty to return any.
       
      repeated .yamcs.protobuf.filetransfer.TransferState state = 7;
      Parameters:
      value - The state to add.
      Returns:
      This builder for chaining.
    • addAllState

      public ListTransfersRequest.Builder addAllState(Iterable<? extends TransferState> values)
       Filter by transfer state. Leave empty to return any.
       
      repeated .yamcs.protobuf.filetransfer.TransferState state = 7;
      Parameters:
      values - The state to add.
      Returns:
      This builder for chaining.
    • clearState

      public ListTransfersRequest.Builder clearState()
       Filter by transfer state. Leave empty to return any.
       
      repeated .yamcs.protobuf.filetransfer.TransferState state = 7;
      Returns:
      This builder for chaining.
    • hasDirection

      public boolean hasDirection()
       Filter by transfer direction (UPLOAD or DOWNLOAD)
       
      optional .yamcs.protobuf.filetransfer.TransferDirection direction = 8;
      Specified by:
      hasDirection in interface ListTransfersRequestOrBuilder
      Returns:
      Whether the direction field is set.
    • getDirection

      public TransferDirection getDirection()
       Filter by transfer direction (UPLOAD or DOWNLOAD)
       
      optional .yamcs.protobuf.filetransfer.TransferDirection direction = 8;
      Specified by:
      getDirection in interface ListTransfersRequestOrBuilder
      Returns:
      The direction.
    • setDirection

      public ListTransfersRequest.Builder setDirection(TransferDirection value)
       Filter by transfer direction (UPLOAD or DOWNLOAD)
       
      optional .yamcs.protobuf.filetransfer.TransferDirection direction = 8;
      Parameters:
      value - The direction to set.
      Returns:
      This builder for chaining.
    • clearDirection

      public ListTransfersRequest.Builder clearDirection()
       Filter by transfer direction (UPLOAD or DOWNLOAD)
       
      optional .yamcs.protobuf.filetransfer.TransferDirection direction = 8;
      Returns:
      This builder for chaining.
    • hasLimit

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

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

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

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

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

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

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

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

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

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

      public final ListTransfersRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>
    • mergeUnknownFields

      public final ListTransfersRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTransfersRequest.Builder>