Class FileTransferCapabilities.Builder

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

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

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

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

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

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

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

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

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

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

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

      public FileTransferCapabilities.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<FileTransferCapabilities.Builder>
      Throws:
      IOException
    • hasUpload

      public boolean hasUpload()
       Whether the transfer service supports uploads
       
      optional bool upload = 1;
      Specified by:
      hasUpload in interface FileTransferCapabilitiesOrBuilder
      Returns:
      Whether the upload field is set.
    • getUpload

      public boolean getUpload()
       Whether the transfer service supports uploads
       
      optional bool upload = 1;
      Specified by:
      getUpload in interface FileTransferCapabilitiesOrBuilder
      Returns:
      The upload.
    • setUpload

      public FileTransferCapabilities.Builder setUpload(boolean value)
       Whether the transfer service supports uploads
       
      optional bool upload = 1;
      Parameters:
      value - The upload to set.
      Returns:
      This builder for chaining.
    • clearUpload

      public FileTransferCapabilities.Builder clearUpload()
       Whether the transfer service supports uploads
       
      optional bool upload = 1;
      Returns:
      This builder for chaining.
    • hasDownload

      public boolean hasDownload()
       Whether the transfer service supports downloads
       
      optional bool download = 2;
      Specified by:
      hasDownload in interface FileTransferCapabilitiesOrBuilder
      Returns:
      Whether the download field is set.
    • getDownload

      public boolean getDownload()
       Whether the transfer service supports downloads
       
      optional bool download = 2;
      Specified by:
      getDownload in interface FileTransferCapabilitiesOrBuilder
      Returns:
      The download.
    • setDownload

      public FileTransferCapabilities.Builder setDownload(boolean value)
       Whether the transfer service supports downloads
       
      optional bool download = 2;
      Parameters:
      value - The download to set.
      Returns:
      This builder for chaining.
    • clearDownload

      public FileTransferCapabilities.Builder clearDownload()
       Whether the transfer service supports downloads
       
      optional bool download = 2;
      Returns:
      This builder for chaining.
    • hasRemotePath

      public boolean hasRemotePath()
       Whether the transfer service supports specifying an upload path
       
      optional bool remotePath = 4;
      Specified by:
      hasRemotePath in interface FileTransferCapabilitiesOrBuilder
      Returns:
      Whether the remotePath field is set.
    • getRemotePath

      public boolean getRemotePath()
       Whether the transfer service supports specifying an upload path
       
      optional bool remotePath = 4;
      Specified by:
      getRemotePath in interface FileTransferCapabilitiesOrBuilder
      Returns:
      The remotePath.
    • setRemotePath

      public FileTransferCapabilities.Builder setRemotePath(boolean value)
       Whether the transfer service supports specifying an upload path
       
      optional bool remotePath = 4;
      Parameters:
      value - The remotePath to set.
      Returns:
      This builder for chaining.
    • clearRemotePath

      public FileTransferCapabilities.Builder clearRemotePath()
       Whether the transfer service supports specifying an upload path
       
      optional bool remotePath = 4;
      Returns:
      This builder for chaining.
    • hasFileList

      public boolean hasFileList()
       Whether the transfer service supports remote file listings
       
      optional bool fileList = 5;
      Specified by:
      hasFileList in interface FileTransferCapabilitiesOrBuilder
      Returns:
      Whether the fileList field is set.
    • getFileList

      public boolean getFileList()
       Whether the transfer service supports remote file listings
       
      optional bool fileList = 5;
      Specified by:
      getFileList in interface FileTransferCapabilitiesOrBuilder
      Returns:
      The fileList.
    • setFileList

      public FileTransferCapabilities.Builder setFileList(boolean value)
       Whether the transfer service supports remote file listings
       
      optional bool fileList = 5;
      Parameters:
      value - The fileList to set.
      Returns:
      This builder for chaining.
    • clearFileList

      public FileTransferCapabilities.Builder clearFileList()
       Whether the transfer service supports remote file listings
       
      optional bool fileList = 5;
      Returns:
      This builder for chaining.
    • hasHasTransferType

      public boolean hasHasTransferType()
       Whether transfers contain a column describing the Transfer Type
       
      optional bool hasTransferType = 6;
      Specified by:
      hasHasTransferType in interface FileTransferCapabilitiesOrBuilder
      Returns:
      Whether the hasTransferType field is set.
    • getHasTransferType

      public boolean getHasTransferType()
       Whether transfers contain a column describing the Transfer Type
       
      optional bool hasTransferType = 6;
      Specified by:
      getHasTransferType in interface FileTransferCapabilitiesOrBuilder
      Returns:
      The hasTransferType.
    • setHasTransferType

      public FileTransferCapabilities.Builder setHasTransferType(boolean value)
       Whether transfers contain a column describing the Transfer Type
       
      optional bool hasTransferType = 6;
      Parameters:
      value - The hasTransferType to set.
      Returns:
      This builder for chaining.
    • clearHasTransferType

      public FileTransferCapabilities.Builder clearHasTransferType()
       Whether transfers contain a column describing the Transfer Type
       
      optional bool hasTransferType = 6;
      Returns:
      This builder for chaining.
    • hasPauseResume

      public boolean hasPauseResume()
       Whether the transfer service supports pause/resume
       
      optional bool pauseResume = 9;
      Specified by:
      hasPauseResume in interface FileTransferCapabilitiesOrBuilder
      Returns:
      Whether the pauseResume field is set.
    • getPauseResume

      public boolean getPauseResume()
       Whether the transfer service supports pause/resume
       
      optional bool pauseResume = 9;
      Specified by:
      getPauseResume in interface FileTransferCapabilitiesOrBuilder
      Returns:
      The pauseResume.
    • setPauseResume

      public FileTransferCapabilities.Builder setPauseResume(boolean value)
       Whether the transfer service supports pause/resume
       
      optional bool pauseResume = 9;
      Parameters:
      value - The pauseResume to set.
      Returns:
      This builder for chaining.
    • clearPauseResume

      public FileTransferCapabilities.Builder clearPauseResume()
       Whether the transfer service supports pause/resume
       
      optional bool pauseResume = 9;
      Returns:
      This builder for chaining.
    • getFileListExtraColumnsList

      public List<ExtraColumnInfo> getFileListExtraColumnsList()
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
      Specified by:
      getFileListExtraColumnsList in interface FileTransferCapabilitiesOrBuilder
    • getFileListExtraColumnsCount

      public int getFileListExtraColumnsCount()
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
      Specified by:
      getFileListExtraColumnsCount in interface FileTransferCapabilitiesOrBuilder
    • getFileListExtraColumns

      public ExtraColumnInfo getFileListExtraColumns(int index)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
      Specified by:
      getFileListExtraColumns in interface FileTransferCapabilitiesOrBuilder
    • setFileListExtraColumns

      public FileTransferCapabilities.Builder setFileListExtraColumns(int index, ExtraColumnInfo value)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • setFileListExtraColumns

      public FileTransferCapabilities.Builder setFileListExtraColumns(int index, ExtraColumnInfo.Builder builderForValue)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • addFileListExtraColumns

      public FileTransferCapabilities.Builder addFileListExtraColumns(ExtraColumnInfo value)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • addFileListExtraColumns

      public FileTransferCapabilities.Builder addFileListExtraColumns(int index, ExtraColumnInfo value)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • addFileListExtraColumns

      public FileTransferCapabilities.Builder addFileListExtraColumns(ExtraColumnInfo.Builder builderForValue)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • addFileListExtraColumns

      public FileTransferCapabilities.Builder addFileListExtraColumns(int index, ExtraColumnInfo.Builder builderForValue)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • addAllFileListExtraColumns

      public FileTransferCapabilities.Builder addAllFileListExtraColumns(Iterable<? extends ExtraColumnInfo> values)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • clearFileListExtraColumns

      public FileTransferCapabilities.Builder clearFileListExtraColumns()
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • removeFileListExtraColumns

      public FileTransferCapabilities.Builder removeFileListExtraColumns(int index)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • getFileListExtraColumnsBuilder

      public ExtraColumnInfo.Builder getFileListExtraColumnsBuilder(int index)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • getFileListExtraColumnsOrBuilder

      public ExtraColumnInfoOrBuilder getFileListExtraColumnsOrBuilder(int index)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
      Specified by:
      getFileListExtraColumnsOrBuilder in interface FileTransferCapabilitiesOrBuilder
    • getFileListExtraColumnsOrBuilderList

      public List<? extends ExtraColumnInfoOrBuilder> getFileListExtraColumnsOrBuilderList()
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
      Specified by:
      getFileListExtraColumnsOrBuilderList in interface FileTransferCapabilitiesOrBuilder
    • addFileListExtraColumnsBuilder

      public ExtraColumnInfo.Builder addFileListExtraColumnsBuilder()
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • addFileListExtraColumnsBuilder

      public ExtraColumnInfo.Builder addFileListExtraColumnsBuilder(int index)
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • getFileListExtraColumnsBuilderList

      public List<ExtraColumnInfo.Builder> getFileListExtraColumnsBuilderList()
       Additional columns to show in a file listing, where id
       is a key of ``RemoteFile.extra``
       
      repeated .yamcs.protobuf.filetransfer.ExtraColumnInfo fileListExtraColumns = 7;
    • getFileActionsList

      public List<ActionInfo> getFileActionsList()
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
      Specified by:
      getFileActionsList in interface FileTransferCapabilitiesOrBuilder
    • getFileActionsCount

      public int getFileActionsCount()
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
      Specified by:
      getFileActionsCount in interface FileTransferCapabilitiesOrBuilder
    • getFileActions

      public ActionInfo getFileActions(int index)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
      Specified by:
      getFileActions in interface FileTransferCapabilitiesOrBuilder
    • setFileActions

      public FileTransferCapabilities.Builder setFileActions(int index, ActionInfo value)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • setFileActions

      public FileTransferCapabilities.Builder setFileActions(int index, ActionInfo.Builder builderForValue)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • addFileActions

      public FileTransferCapabilities.Builder addFileActions(ActionInfo value)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • addFileActions

      public FileTransferCapabilities.Builder addFileActions(int index, ActionInfo value)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • addFileActions

      public FileTransferCapabilities.Builder addFileActions(ActionInfo.Builder builderForValue)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • addFileActions

      public FileTransferCapabilities.Builder addFileActions(int index, ActionInfo.Builder builderForValue)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • addAllFileActions

      public FileTransferCapabilities.Builder addAllFileActions(Iterable<? extends ActionInfo> values)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • clearFileActions

      public FileTransferCapabilities.Builder clearFileActions()
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • removeFileActions

      public FileTransferCapabilities.Builder removeFileActions(int index)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • getFileActionsBuilder

      public ActionInfo.Builder getFileActionsBuilder(int index)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • getFileActionsOrBuilder

      public ActionInfoOrBuilder getFileActionsOrBuilder(int index)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
      Specified by:
      getFileActionsOrBuilder in interface FileTransferCapabilitiesOrBuilder
    • getFileActionsOrBuilderList

      public List<? extends ActionInfoOrBuilder> getFileActionsOrBuilderList()
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
      Specified by:
      getFileActionsOrBuilderList in interface FileTransferCapabilitiesOrBuilder
    • addFileActionsBuilder

      public ActionInfo.Builder addFileActionsBuilder()
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • addFileActionsBuilder

      public ActionInfo.Builder addFileActionsBuilder(int index)
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • getFileActionsBuilderList

      public List<ActionInfo.Builder> getFileActionsBuilderList()
       Additional actions that may be executed on remote files
       
      repeated .yamcs.protobuf.actions.ActionInfo fileActions = 8;
    • setUnknownFields

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

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