Class PdfSecuritySettings.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<PdfSecuritySettings.Builder>
      • clear

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

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

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

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

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

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

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

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

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

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

        public PdfSecuritySettings.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<PdfSecuritySettings.Builder>
      • isInitialized

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

        public PdfSecuritySettings.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<PdfSecuritySettings.Builder>
        Throws:
        IOException
      • setAllowUserAnnotations

        public PdfSecuritySettings.Builder setAllowUserAnnotations​(boolean value)
        optional bool allow_user_annotations = 1;
        Parameters:
        value - The allowUserAnnotations to set.
        Returns:
        This builder for chaining.
      • clearAllowUserAnnotations

        public PdfSecuritySettings.Builder clearAllowUserAnnotations()
        optional bool allow_user_annotations = 1;
        Returns:
        This builder for chaining.
      • setAllowUserCopyPasteContent

        public PdfSecuritySettings.Builder setAllowUserCopyPasteContent​(boolean value)
        optional bool allow_user_copy_paste_content = 2;
        Parameters:
        value - The allowUserCopyPasteContent to set.
        Returns:
        This builder for chaining.
      • clearAllowUserCopyPasteContent

        public PdfSecuritySettings.Builder clearAllowUserCopyPasteContent()
        optional bool allow_user_copy_paste_content = 2;
        Returns:
        This builder for chaining.
      • setAllowUserCopyPasteContentForAccessibility

        public PdfSecuritySettings.Builder setAllowUserCopyPasteContentForAccessibility​(boolean value)
        optional bool allow_user_copy_paste_content_for_accessibility = 3;
        Parameters:
        value - The allowUserCopyPasteContentForAccessibility to set.
        Returns:
        This builder for chaining.
      • clearAllowUserCopyPasteContentForAccessibility

        public PdfSecuritySettings.Builder clearAllowUserCopyPasteContentForAccessibility()
        optional bool allow_user_copy_paste_content_for_accessibility = 3;
        Returns:
        This builder for chaining.
      • hasAllowUserEdits

        public boolean hasAllowUserEdits()
        optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
        Specified by:
        hasAllowUserEdits in interface PdfSecuritySettingsOrBuilder
        Returns:
        Whether the allowUserEdits field is set.
      • clearAllowUserEdits

        public PdfSecuritySettings.Builder clearAllowUserEdits()
        optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
      • getAllowUserEditsBuilder

        public PdfEditSecurity.Builder getAllowUserEditsBuilder()
        optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
      • setAllowUserFormData

        public PdfSecuritySettings.Builder setAllowUserFormData​(boolean value)
        optional bool allow_user_form_data = 5;
        Parameters:
        value - The allowUserFormData to set.
        Returns:
        This builder for chaining.
      • clearAllowUserFormData

        public PdfSecuritySettings.Builder clearAllowUserFormData()
        optional bool allow_user_form_data = 5;
        Returns:
        This builder for chaining.
      • hasAllowUserPrinting

        public boolean hasAllowUserPrinting()
        optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
        Specified by:
        hasAllowUserPrinting in interface PdfSecuritySettingsOrBuilder
        Returns:
        Whether the allowUserPrinting field is set.
      • clearAllowUserPrinting

        public PdfSecuritySettings.Builder clearAllowUserPrinting()
        optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
      • getAllowUserPrintingBuilder

        public PdfPrintSecurity.Builder getAllowUserPrintingBuilder()
        optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
      • setOwnerPassword

        public PdfSecuritySettings.Builder setOwnerPassword​(String value)
        optional string owner_password = 7;
        Parameters:
        value - The ownerPassword to set.
        Returns:
        This builder for chaining.
      • clearOwnerPassword

        public PdfSecuritySettings.Builder clearOwnerPassword()
        optional string owner_password = 7;
        Returns:
        This builder for chaining.
      • setOwnerPasswordBytes

        public PdfSecuritySettings.Builder setOwnerPasswordBytes​(com.google.protobuf.ByteString value)
        optional string owner_password = 7;
        Parameters:
        value - The bytes for ownerPassword to set.
        Returns:
        This builder for chaining.
      • setUserPassword

        public PdfSecuritySettings.Builder setUserPassword​(String value)
        optional string user_password = 8;
        Parameters:
        value - The userPassword to set.
        Returns:
        This builder for chaining.
      • clearUserPassword

        public PdfSecuritySettings.Builder clearUserPassword()
        optional string user_password = 8;
        Returns:
        This builder for chaining.
      • setUserPasswordBytes

        public PdfSecuritySettings.Builder setUserPasswordBytes​(com.google.protobuf.ByteString value)
        optional string user_password = 8;
        Parameters:
        value - The bytes for userPassword to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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