Class PdfSecuritySettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
com.ironsoftware.ironpdf.internal.proto.PdfSecuritySettings.Builder
- All Implemented Interfaces:
- com.google.protobuf.Message.Builder,- com.google.protobuf.MessageLite.Builder,- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder,- PdfSecuritySettingsOrBuilder,- Cloneable
- Enclosing class:
- PdfSecuritySettings
public static final class PdfSecuritySettings.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
implements PdfSecuritySettingsOrBuilder
Protobuf type 
IronPdfEngine.Proto.PdfSecuritySettings- 
Method SummaryModifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()optional bool allow_user_annotations = 1;optional bool allow_user_copy_paste_content = 2;optional bool allow_user_copy_paste_content_for_accessibility = 3;optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;optional bool allow_user_form_data = 5;optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string owner_password = 7;optional string user_password = 8;clone()booleanoptional bool allow_user_annotations = 1;booleanoptional bool allow_user_copy_paste_content = 2;booleanoptional bool allow_user_copy_paste_content_for_accessibility = 3;optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;booleanoptional bool allow_user_form_data = 5;optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptoroptional string owner_password = 7;com.google.protobuf.ByteStringoptional string owner_password = 7;optional string user_password = 8;com.google.protobuf.ByteStringoptional string user_password = 8;booleanoptional bool allow_user_annotations = 1;booleanoptional bool allow_user_copy_paste_content = 2;booleanoptional bool allow_user_copy_paste_content_for_accessibility = 3;booleanoptional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;booleanoptional bool allow_user_form_data = 5;booleanoptional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;booleanoptional string owner_password = 7;booleanoptional string user_password = 8;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanoptional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(PdfSecuritySettings other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAllowUserAnnotations(boolean value) optional bool allow_user_annotations = 1;setAllowUserCopyPasteContent(boolean value) optional bool allow_user_copy_paste_content = 2;setAllowUserCopyPasteContentForAccessibility(boolean value) optional bool allow_user_copy_paste_content_for_accessibility = 3;setAllowUserEdits(PdfEditSecurity value) optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;setAllowUserEdits(PdfEditSecurity.Builder builderForValue) optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;setAllowUserFormData(boolean value) optional bool allow_user_form_data = 5;optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;setAllowUserPrinting(PdfPrintSecurity.Builder builderForValue) optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;setOwnerPassword(String value) optional string owner_password = 7;setOwnerPasswordBytes(com.google.protobuf.ByteString value) optional string owner_password = 7;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUserPassword(String value) optional string user_password = 8;setUserPasswordBytes(com.google.protobuf.ByteString value) optional string user_password = 8;Methods inherited from class com.google.protobuf.GeneratedMessageV3.BuildergetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.BuilderfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.BuilderaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.BuildermergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.BuildermergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
- 
Method Details- 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
- 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
clear- Specified by:
- clearin interface- com.google.protobuf.Message.Builder
- Specified by:
- clearin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clearin class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
getDescriptorForTypepublic com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.Message.Builder
- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.MessageOrBuilder
- Overrides:
- getDescriptorForTypein class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
getDefaultInstanceForType- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
- 
build- Specified by:
- buildin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildin interface- com.google.protobuf.MessageLite.Builder
 
- 
buildPartial- Specified by:
- buildPartialin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildPartialin interface- com.google.protobuf.MessageLite.Builder
 
- 
clone- Specified by:
- clonein interface- com.google.protobuf.Message.Builder
- Specified by:
- clonein interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clonein class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
setFieldpublic PdfSecuritySettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
- setFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
clearFieldpublic PdfSecuritySettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
- clearFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
clearOneofpublic PdfSecuritySettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
- clearOneofin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearOneofin class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
setRepeatedFieldpublic PdfSecuritySettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
- setRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
addRepeatedFieldpublic PdfSecuritySettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
- addRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- addRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
mergeFrom- Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<PdfSecuritySettings.Builder>
 
- 
mergeFrom
- 
isInitializedpublic final boolean isInitialized()- Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
mergeFrompublic PdfSecuritySettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Specified by:
- mergeFromin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<PdfSecuritySettings.Builder>
- Throws:
- IOException
 
- 
hasAllowUserAnnotationspublic boolean hasAllowUserAnnotations()optional bool allow_user_annotations = 1;- Specified by:
- hasAllowUserAnnotationsin interface- PdfSecuritySettingsOrBuilder
- Returns:
- Whether the allowUserAnnotations field is set.
 
- 
getAllowUserAnnotationspublic boolean getAllowUserAnnotations()optional bool allow_user_annotations = 1;- Specified by:
- getAllowUserAnnotationsin interface- PdfSecuritySettingsOrBuilder
- Returns:
- The allowUserAnnotations.
 
- 
setAllowUserAnnotationsoptional bool allow_user_annotations = 1;- Parameters:
- value- The allowUserAnnotations to set.
- Returns:
- This builder for chaining.
 
- 
clearAllowUserAnnotationsoptional bool allow_user_annotations = 1;- Returns:
- This builder for chaining.
 
- 
hasAllowUserCopyPasteContentpublic boolean hasAllowUserCopyPasteContent()optional bool allow_user_copy_paste_content = 2;- Specified by:
- hasAllowUserCopyPasteContentin interface- PdfSecuritySettingsOrBuilder
- Returns:
- Whether the allowUserCopyPasteContent field is set.
 
- 
getAllowUserCopyPasteContentpublic boolean getAllowUserCopyPasteContent()optional bool allow_user_copy_paste_content = 2;- Specified by:
- getAllowUserCopyPasteContentin interface- PdfSecuritySettingsOrBuilder
- Returns:
- The allowUserCopyPasteContent.
 
- 
setAllowUserCopyPasteContentoptional bool allow_user_copy_paste_content = 2;- Parameters:
- value- The allowUserCopyPasteContent to set.
- Returns:
- This builder for chaining.
 
- 
clearAllowUserCopyPasteContentoptional bool allow_user_copy_paste_content = 2;- Returns:
- This builder for chaining.
 
- 
hasAllowUserCopyPasteContentForAccessibilitypublic boolean hasAllowUserCopyPasteContentForAccessibility()optional bool allow_user_copy_paste_content_for_accessibility = 3;- Specified by:
- hasAllowUserCopyPasteContentForAccessibilityin interface- PdfSecuritySettingsOrBuilder
- Returns:
- Whether the allowUserCopyPasteContentForAccessibility field is set.
 
- 
getAllowUserCopyPasteContentForAccessibilitypublic boolean getAllowUserCopyPasteContentForAccessibility()optional bool allow_user_copy_paste_content_for_accessibility = 3;- Specified by:
- getAllowUserCopyPasteContentForAccessibilityin interface- PdfSecuritySettingsOrBuilder
- Returns:
- The allowUserCopyPasteContentForAccessibility.
 
- 
setAllowUserCopyPasteContentForAccessibilityoptional bool allow_user_copy_paste_content_for_accessibility = 3;- Parameters:
- value- The allowUserCopyPasteContentForAccessibility to set.
- Returns:
- This builder for chaining.
 
- 
clearAllowUserCopyPasteContentForAccessibilityoptional bool allow_user_copy_paste_content_for_accessibility = 3;- Returns:
- This builder for chaining.
 
- 
hasAllowUserEditspublic boolean hasAllowUserEdits()optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;- Specified by:
- hasAllowUserEditsin interface- PdfSecuritySettingsOrBuilder
- Returns:
- Whether the allowUserEdits field is set.
 
- 
getAllowUserEditsoptional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;- Specified by:
- getAllowUserEditsin interface- PdfSecuritySettingsOrBuilder
- Returns:
- The allowUserEdits.
 
- 
setAllowUserEditsoptional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
- 
setAllowUserEditsoptional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
- 
mergeAllowUserEditsoptional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
- 
clearAllowUserEditsoptional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
- 
getAllowUserEditsBuilderoptional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
- 
getAllowUserEditsOrBuilderoptional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;- Specified by:
- getAllowUserEditsOrBuilderin interface- PdfSecuritySettingsOrBuilder
 
- 
hasAllowUserFormDatapublic boolean hasAllowUserFormData()optional bool allow_user_form_data = 5;- Specified by:
- hasAllowUserFormDatain interface- PdfSecuritySettingsOrBuilder
- Returns:
- Whether the allowUserFormData field is set.
 
- 
getAllowUserFormDatapublic boolean getAllowUserFormData()optional bool allow_user_form_data = 5;- Specified by:
- getAllowUserFormDatain interface- PdfSecuritySettingsOrBuilder
- Returns:
- The allowUserFormData.
 
- 
setAllowUserFormDataoptional bool allow_user_form_data = 5;- Parameters:
- value- The allowUserFormData to set.
- Returns:
- This builder for chaining.
 
- 
clearAllowUserFormDataoptional bool allow_user_form_data = 5;- Returns:
- This builder for chaining.
 
- 
hasAllowUserPrintingpublic boolean hasAllowUserPrinting()optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;- Specified by:
- hasAllowUserPrintingin interface- PdfSecuritySettingsOrBuilder
- Returns:
- Whether the allowUserPrinting field is set.
 
- 
getAllowUserPrintingoptional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;- Specified by:
- getAllowUserPrintingin interface- PdfSecuritySettingsOrBuilder
- Returns:
- The allowUserPrinting.
 
- 
setAllowUserPrintingoptional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
- 
setAllowUserPrintingoptional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
- 
mergeAllowUserPrintingoptional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
- 
clearAllowUserPrintingoptional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
- 
getAllowUserPrintingBuilderoptional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
- 
getAllowUserPrintingOrBuilderoptional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;- Specified by:
- getAllowUserPrintingOrBuilderin interface- PdfSecuritySettingsOrBuilder
 
- 
hasOwnerPasswordpublic boolean hasOwnerPassword()optional string owner_password = 7;- Specified by:
- hasOwnerPasswordin interface- PdfSecuritySettingsOrBuilder
- Returns:
- Whether the ownerPassword field is set.
 
- 
getOwnerPasswordoptional string owner_password = 7;- Specified by:
- getOwnerPasswordin interface- PdfSecuritySettingsOrBuilder
- Returns:
- The ownerPassword.
 
- 
getOwnerPasswordBytespublic com.google.protobuf.ByteString getOwnerPasswordBytes()optional string owner_password = 7;- Specified by:
- getOwnerPasswordBytesin interface- PdfSecuritySettingsOrBuilder
- Returns:
- The bytes for ownerPassword.
 
- 
setOwnerPasswordoptional string owner_password = 7;- Parameters:
- value- The ownerPassword to set.
- Returns:
- This builder for chaining.
 
- 
clearOwnerPasswordoptional string owner_password = 7;- Returns:
- This builder for chaining.
 
- 
setOwnerPasswordBytesoptional string owner_password = 7;- Parameters:
- value- The bytes for ownerPassword to set.
- Returns:
- This builder for chaining.
 
- 
hasUserPasswordpublic boolean hasUserPassword()optional string user_password = 8;- Specified by:
- hasUserPasswordin interface- PdfSecuritySettingsOrBuilder
- Returns:
- Whether the userPassword field is set.
 
- 
getUserPasswordoptional string user_password = 8;- Specified by:
- getUserPasswordin interface- PdfSecuritySettingsOrBuilder
- Returns:
- The userPassword.
 
- 
getUserPasswordBytespublic com.google.protobuf.ByteString getUserPasswordBytes()optional string user_password = 8;- Specified by:
- getUserPasswordBytesin interface- PdfSecuritySettingsOrBuilder
- Returns:
- The bytes for userPassword.
 
- 
setUserPasswordoptional string user_password = 8;- Parameters:
- value- The userPassword to set.
- Returns:
- This builder for chaining.
 
- 
clearUserPasswordoptional string user_password = 8;- Returns:
- This builder for chaining.
 
- 
setUserPasswordBytesoptional string user_password = 8;- Parameters:
- value- The bytes for userPassword to set.
- Returns:
- This builder for chaining.
 
- 
setUnknownFieldspublic final PdfSecuritySettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- setUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- setUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
- 
mergeUnknownFieldspublic final PdfSecuritySettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- mergeUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
 
 
-