Class CreateTransferRequest.UploadOptions.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

      public CreateTransferRequest.UploadOptions.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<CreateTransferRequest.UploadOptions.Builder>
      Throws:
      IOException
    • hasOverwrite

      public boolean hasOverwrite()
       Set to ``True`` if an already existing destination should be overwritten.
       Default: ``True``.
       
      optional bool overwrite = 1;
      Specified by:
      hasOverwrite in interface CreateTransferRequest.UploadOptionsOrBuilder
      Returns:
      Whether the overwrite field is set.
    • getOverwrite

      public boolean getOverwrite()
       Set to ``True`` if an already existing destination should be overwritten.
       Default: ``True``.
       
      optional bool overwrite = 1;
      Specified by:
      getOverwrite in interface CreateTransferRequest.UploadOptionsOrBuilder
      Returns:
      The overwrite.
    • setOverwrite

      public CreateTransferRequest.UploadOptions.Builder setOverwrite(boolean value)
       Set to ``True`` if an already existing destination should be overwritten.
       Default: ``True``.
       
      optional bool overwrite = 1;
      Parameters:
      value - The overwrite to set.
      Returns:
      This builder for chaining.
    • clearOverwrite

       Set to ``True`` if an already existing destination should be overwritten.
       Default: ``True``.
       
      optional bool overwrite = 1;
      Returns:
      This builder for chaining.
    • hasCreatePath

      public boolean hasCreatePath()
       Set to ``True`` if the destination path should be created if it does not exist.
       Default: ``True``.
       
      optional bool createPath = 2;
      Specified by:
      hasCreatePath in interface CreateTransferRequest.UploadOptionsOrBuilder
      Returns:
      Whether the createPath field is set.
    • getCreatePath

      public boolean getCreatePath()
       Set to ``True`` if the destination path should be created if it does not exist.
       Default: ``True``.
       
      optional bool createPath = 2;
      Specified by:
      getCreatePath in interface CreateTransferRequest.UploadOptionsOrBuilder
      Returns:
      The createPath.
    • setCreatePath

      public CreateTransferRequest.UploadOptions.Builder setCreatePath(boolean value)
       Set to ``True`` if the destination path should be created if it does not exist.
       Default: ``True``.
       
      optional bool createPath = 2;
      Parameters:
      value - The createPath to set.
      Returns:
      This builder for chaining.
    • clearCreatePath

       Set to ``True`` if the destination path should be created if it does not exist.
       Default: ``True``.
       
      optional bool createPath = 2;
      Returns:
      This builder for chaining.
    • hasReliable

      public boolean hasReliable()
       Set to ``True`` if reliable (class 2) CFDP transfer should be used,
       otherwise unreliable (class 1). Default: ``False``.
       
      optional bool reliable = 3;
      Specified by:
      hasReliable in interface CreateTransferRequest.UploadOptionsOrBuilder
      Returns:
      Whether the reliable field is set.
    • getReliable

      public boolean getReliable()
       Set to ``True`` if reliable (class 2) CFDP transfer should be used,
       otherwise unreliable (class 1). Default: ``False``.
       
      optional bool reliable = 3;
      Specified by:
      getReliable in interface CreateTransferRequest.UploadOptionsOrBuilder
      Returns:
      The reliable.
    • setReliable

      public CreateTransferRequest.UploadOptions.Builder setReliable(boolean value)
       Set to ``True`` if reliable (class 2) CFDP transfer should be used,
       otherwise unreliable (class 1). Default: ``False``.
       
      optional bool reliable = 3;
      Parameters:
      value - The reliable to set.
      Returns:
      This builder for chaining.
    • clearReliable

       Set to ``True`` if reliable (class 2) CFDP transfer should be used,
       otherwise unreliable (class 1). Default: ``False``.
       
      optional bool reliable = 3;
      Returns:
      This builder for chaining.
    • hasClosureRequested

      public boolean hasClosureRequested()
       Introduced in Issue 5 of the CFDP standard for non reliable (class 1) transfers
       Requests the receiver to send a Finished PDU at the end of the transfer
       
      optional bool closureRequested = 4;
      Specified by:
      hasClosureRequested in interface CreateTransferRequest.UploadOptionsOrBuilder
      Returns:
      Whether the closureRequested field is set.
    • getClosureRequested

      public boolean getClosureRequested()
       Introduced in Issue 5 of the CFDP standard for non reliable (class 1) transfers
       Requests the receiver to send a Finished PDU at the end of the transfer
       
      optional bool closureRequested = 4;
      Specified by:
      getClosureRequested in interface CreateTransferRequest.UploadOptionsOrBuilder
      Returns:
      The closureRequested.
    • setClosureRequested

      public CreateTransferRequest.UploadOptions.Builder setClosureRequested(boolean value)
       Introduced in Issue 5 of the CFDP standard for non reliable (class 1) transfers
       Requests the receiver to send a Finished PDU at the end of the transfer
       
      optional bool closureRequested = 4;
      Parameters:
      value - The closureRequested to set.
      Returns:
      This builder for chaining.
    • clearClosureRequested

      public CreateTransferRequest.UploadOptions.Builder clearClosureRequested()
       Introduced in Issue 5 of the CFDP standard for non reliable (class 1) transfers
       Requests the receiver to send a Finished PDU at the end of the transfer
       
      optional bool closureRequested = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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