Class CreateTransferRequest.UploadOptions.Builder

    • Method Detail

      • 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>
      • 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

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

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

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

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