Class ListFilesResponse.Builder

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

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

      public ListFilesResponse.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<ListFilesResponse.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<ListFilesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public ListFilesResponse.Builder mergeFrom(ListFilesResponse other)
    • isInitialized

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

      public ListFilesResponse.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<ListFilesResponse.Builder>
      Throws:
      IOException
    • getFilesList

      public List<RemoteFile> getFilesList()
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
      Specified by:
      getFilesList in interface ListFilesResponseOrBuilder
    • getFilesCount

      public int getFilesCount()
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
      Specified by:
      getFilesCount in interface ListFilesResponseOrBuilder
    • getFiles

      public RemoteFile getFiles(int index)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
      Specified by:
      getFiles in interface ListFilesResponseOrBuilder
    • setFiles

      public ListFilesResponse.Builder setFiles(int index, RemoteFile value)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • setFiles

      public ListFilesResponse.Builder setFiles(int index, RemoteFile.Builder builderForValue)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • addFiles

      public ListFilesResponse.Builder addFiles(RemoteFile value)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • addFiles

      public ListFilesResponse.Builder addFiles(int index, RemoteFile value)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • addFiles

      public ListFilesResponse.Builder addFiles(RemoteFile.Builder builderForValue)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • addFiles

      public ListFilesResponse.Builder addFiles(int index, RemoteFile.Builder builderForValue)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • addAllFiles

      public ListFilesResponse.Builder addAllFiles(Iterable<? extends RemoteFile> values)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • clearFiles

      public ListFilesResponse.Builder clearFiles()
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • removeFiles

      public ListFilesResponse.Builder removeFiles(int index)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • getFilesBuilder

      public RemoteFile.Builder getFilesBuilder(int index)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • getFilesOrBuilder

      public RemoteFileOrBuilder getFilesOrBuilder(int index)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
      Specified by:
      getFilesOrBuilder in interface ListFilesResponseOrBuilder
    • getFilesOrBuilderList

      public List<? extends RemoteFileOrBuilder> getFilesOrBuilderList()
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
      Specified by:
      getFilesOrBuilderList in interface ListFilesResponseOrBuilder
    • addFilesBuilder

      public RemoteFile.Builder addFilesBuilder()
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • addFilesBuilder

      public RemoteFile.Builder addFilesBuilder(int index)
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • getFilesBuilderList

      public List<RemoteFile.Builder> getFilesBuilderList()
      repeated .yamcs.protobuf.filetransfer.RemoteFile files = 1;
    • hasDestination

      public boolean hasDestination()
      optional string destination = 2;
      Specified by:
      hasDestination in interface ListFilesResponseOrBuilder
      Returns:
      Whether the destination field is set.
    • getDestination

      public String getDestination()
      optional string destination = 2;
      Specified by:
      getDestination in interface ListFilesResponseOrBuilder
      Returns:
      The destination.
    • getDestinationBytes

      public com.google.protobuf.ByteString getDestinationBytes()
      optional string destination = 2;
      Specified by:
      getDestinationBytes in interface ListFilesResponseOrBuilder
      Returns:
      The bytes for destination.
    • setDestination

      public ListFilesResponse.Builder setDestination(String value)
      optional string destination = 2;
      Parameters:
      value - The destination to set.
      Returns:
      This builder for chaining.
    • clearDestination

      public ListFilesResponse.Builder clearDestination()
      optional string destination = 2;
      Returns:
      This builder for chaining.
    • setDestinationBytes

      public ListFilesResponse.Builder setDestinationBytes(com.google.protobuf.ByteString value)
      optional string destination = 2;
      Parameters:
      value - The bytes for destination to set.
      Returns:
      This builder for chaining.
    • hasRemotePath

      public boolean hasRemotePath()
      optional string remotePath = 3;
      Specified by:
      hasRemotePath in interface ListFilesResponseOrBuilder
      Returns:
      Whether the remotePath field is set.
    • getRemotePath

      public String getRemotePath()
      optional string remotePath = 3;
      Specified by:
      getRemotePath in interface ListFilesResponseOrBuilder
      Returns:
      The remotePath.
    • getRemotePathBytes

      public com.google.protobuf.ByteString getRemotePathBytes()
      optional string remotePath = 3;
      Specified by:
      getRemotePathBytes in interface ListFilesResponseOrBuilder
      Returns:
      The bytes for remotePath.
    • setRemotePath

      public ListFilesResponse.Builder setRemotePath(String value)
      optional string remotePath = 3;
      Parameters:
      value - The remotePath to set.
      Returns:
      This builder for chaining.
    • clearRemotePath

      public ListFilesResponse.Builder clearRemotePath()
      optional string remotePath = 3;
      Returns:
      This builder for chaining.
    • setRemotePathBytes

      public ListFilesResponse.Builder setRemotePathBytes(com.google.protobuf.ByteString value)
      optional string remotePath = 3;
      Parameters:
      value - The bytes for remotePath to set.
      Returns:
      This builder for chaining.
    • hasListTime

      public boolean hasListTime()
      optional .google.protobuf.Timestamp listTime = 4;
      Specified by:
      hasListTime in interface ListFilesResponseOrBuilder
      Returns:
      Whether the listTime field is set.
    • getListTime

      public com.google.protobuf.Timestamp getListTime()
      optional .google.protobuf.Timestamp listTime = 4;
      Specified by:
      getListTime in interface ListFilesResponseOrBuilder
      Returns:
      The listTime.
    • setListTime

      public ListFilesResponse.Builder setListTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp listTime = 4;
    • setListTime

      public ListFilesResponse.Builder setListTime(com.google.protobuf.Timestamp.Builder builderForValue)
      optional .google.protobuf.Timestamp listTime = 4;
    • mergeListTime

      public ListFilesResponse.Builder mergeListTime(com.google.protobuf.Timestamp value)
      optional .google.protobuf.Timestamp listTime = 4;
    • clearListTime

      public ListFilesResponse.Builder clearListTime()
      optional .google.protobuf.Timestamp listTime = 4;
    • getListTimeBuilder

      public com.google.protobuf.Timestamp.Builder getListTimeBuilder()
      optional .google.protobuf.Timestamp listTime = 4;
    • getListTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getListTimeOrBuilder()
      optional .google.protobuf.Timestamp listTime = 4;
      Specified by:
      getListTimeOrBuilder in interface ListFilesResponseOrBuilder
    • hasState

      public boolean hasState()
      optional string state = 5;
      Specified by:
      hasState in interface ListFilesResponseOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public String getState()
      optional string state = 5;
      Specified by:
      getState in interface ListFilesResponseOrBuilder
      Returns:
      The state.
    • getStateBytes

      public com.google.protobuf.ByteString getStateBytes()
      optional string state = 5;
      Specified by:
      getStateBytes in interface ListFilesResponseOrBuilder
      Returns:
      The bytes for state.
    • setState

      public ListFilesResponse.Builder setState(String value)
      optional string state = 5;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public ListFilesResponse.Builder clearState()
      optional string state = 5;
      Returns:
      This builder for chaining.
    • setStateBytes

      public ListFilesResponse.Builder setStateBytes(com.google.protobuf.ByteString value)
      optional string state = 5;
      Parameters:
      value - The bytes for state to set.
      Returns:
      This builder for chaining.
    • hasProgressMessage

      public boolean hasProgressMessage()
       Progress message, in case the file listing is still underway
       
      optional string progressMessage = 6;
      Specified by:
      hasProgressMessage in interface ListFilesResponseOrBuilder
      Returns:
      Whether the progressMessage field is set.
    • getProgressMessage

      public String getProgressMessage()
       Progress message, in case the file listing is still underway
       
      optional string progressMessage = 6;
      Specified by:
      getProgressMessage in interface ListFilesResponseOrBuilder
      Returns:
      The progressMessage.
    • getProgressMessageBytes

      public com.google.protobuf.ByteString getProgressMessageBytes()
       Progress message, in case the file listing is still underway
       
      optional string progressMessage = 6;
      Specified by:
      getProgressMessageBytes in interface ListFilesResponseOrBuilder
      Returns:
      The bytes for progressMessage.
    • setProgressMessage

      public ListFilesResponse.Builder setProgressMessage(String value)
       Progress message, in case the file listing is still underway
       
      optional string progressMessage = 6;
      Parameters:
      value - The progressMessage to set.
      Returns:
      This builder for chaining.
    • clearProgressMessage

      public ListFilesResponse.Builder clearProgressMessage()
       Progress message, in case the file listing is still underway
       
      optional string progressMessage = 6;
      Returns:
      This builder for chaining.
    • setProgressMessageBytes

      public ListFilesResponse.Builder setProgressMessageBytes(com.google.protobuf.ByteString value)
       Progress message, in case the file listing is still underway
       
      optional string progressMessage = 6;
      Parameters:
      value - The bytes for progressMessage to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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