public static final class PdfSecuritySettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder> implements PdfSecuritySettingsOrBuilder
IronPdfEngine.Proto.PdfSecuritySettings
Modifier and Type | Method and Description |
---|---|
PdfSecuritySettings.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PdfSecuritySettings |
build() |
PdfSecuritySettings |
buildPartial() |
PdfSecuritySettings.Builder |
clear() |
PdfSecuritySettings.Builder |
clearAllowUserAnnotations()
optional bool allow_user_annotations = 1; |
PdfSecuritySettings.Builder |
clearAllowUserCopyPasteContent()
optional bool allow_user_copy_paste_content = 2; |
PdfSecuritySettings.Builder |
clearAllowUserCopyPasteContentForAccessibility()
optional bool allow_user_copy_paste_content_for_accessibility = 3; |
PdfSecuritySettings.Builder |
clearAllowUserEdits()
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4; |
PdfSecuritySettings.Builder |
clearAllowUserFormData()
optional bool allow_user_form_data = 5; |
PdfSecuritySettings.Builder |
clearAllowUserPrinting()
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6; |
PdfSecuritySettings.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PdfSecuritySettings.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PdfSecuritySettings.Builder |
clearOwnerPassword()
optional string owner_password = 7; |
PdfSecuritySettings.Builder |
clearUserPassword()
optional string user_password = 8; |
PdfSecuritySettings.Builder |
clone() |
boolean |
getAllowUserAnnotations()
optional bool allow_user_annotations = 1; |
boolean |
getAllowUserCopyPasteContent()
optional bool allow_user_copy_paste_content = 2; |
boolean |
getAllowUserCopyPasteContentForAccessibility()
optional bool allow_user_copy_paste_content_for_accessibility = 3; |
PdfEditSecurity |
getAllowUserEdits()
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4; |
PdfEditSecurity.Builder |
getAllowUserEditsBuilder()
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4; |
PdfEditSecurityOrBuilder |
getAllowUserEditsOrBuilder()
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4; |
boolean |
getAllowUserFormData()
optional bool allow_user_form_data = 5; |
PdfPrintSecurity |
getAllowUserPrinting()
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6; |
PdfPrintSecurity.Builder |
getAllowUserPrintingBuilder()
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6; |
PdfPrintSecurityOrBuilder |
getAllowUserPrintingOrBuilder()
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6; |
PdfSecuritySettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getOwnerPassword()
optional string owner_password = 7; |
com.google.protobuf.ByteString |
getOwnerPasswordBytes()
optional string owner_password = 7; |
String |
getUserPassword()
optional string user_password = 8; |
com.google.protobuf.ByteString |
getUserPasswordBytes()
optional string user_password = 8; |
boolean |
hasAllowUserAnnotations()
optional bool allow_user_annotations = 1; |
boolean |
hasAllowUserCopyPasteContent()
optional bool allow_user_copy_paste_content = 2; |
boolean |
hasAllowUserCopyPasteContentForAccessibility()
optional bool allow_user_copy_paste_content_for_accessibility = 3; |
boolean |
hasAllowUserEdits()
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4; |
boolean |
hasAllowUserFormData()
optional bool allow_user_form_data = 5; |
boolean |
hasAllowUserPrinting()
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6; |
boolean |
hasOwnerPassword()
optional string owner_password = 7; |
boolean |
hasUserPassword()
optional string user_password = 8; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PdfSecuritySettings.Builder |
mergeAllowUserEdits(PdfEditSecurity value)
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4; |
PdfSecuritySettings.Builder |
mergeAllowUserPrinting(PdfPrintSecurity value)
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6; |
PdfSecuritySettings.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PdfSecuritySettings.Builder |
mergeFrom(com.google.protobuf.Message other) |
PdfSecuritySettings.Builder |
mergeFrom(PdfSecuritySettings other) |
PdfSecuritySettings.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PdfSecuritySettings.Builder |
setAllowUserAnnotations(boolean value)
optional bool allow_user_annotations = 1; |
PdfSecuritySettings.Builder |
setAllowUserCopyPasteContent(boolean value)
optional bool allow_user_copy_paste_content = 2; |
PdfSecuritySettings.Builder |
setAllowUserCopyPasteContentForAccessibility(boolean value)
optional bool allow_user_copy_paste_content_for_accessibility = 3; |
PdfSecuritySettings.Builder |
setAllowUserEdits(PdfEditSecurity.Builder builderForValue)
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4; |
PdfSecuritySettings.Builder |
setAllowUserEdits(PdfEditSecurity value)
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4; |
PdfSecuritySettings.Builder |
setAllowUserFormData(boolean value)
optional bool allow_user_form_data = 5; |
PdfSecuritySettings.Builder |
setAllowUserPrinting(PdfPrintSecurity.Builder builderForValue)
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6; |
PdfSecuritySettings.Builder |
setAllowUserPrinting(PdfPrintSecurity value)
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6; |
PdfSecuritySettings.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PdfSecuritySettings.Builder |
setOwnerPassword(String value)
optional string owner_password = 7; |
PdfSecuritySettings.Builder |
setOwnerPasswordBytes(com.google.protobuf.ByteString value)
optional string owner_password = 7; |
PdfSecuritySettings.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PdfSecuritySettings.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PdfSecuritySettings.Builder |
setUserPassword(String value)
optional string user_password = 8; |
PdfSecuritySettings.Builder |
setUserPasswordBytes(com.google.protobuf.ByteString value)
optional string user_password = 8; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public PdfSecuritySettings.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public PdfSecuritySettings getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PdfSecuritySettings build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PdfSecuritySettings buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PdfSecuritySettings.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public PdfSecuritySettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public PdfSecuritySettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public PdfSecuritySettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public PdfSecuritySettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public PdfSecuritySettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public PdfSecuritySettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PdfSecuritySettings.Builder>
public PdfSecuritySettings.Builder mergeFrom(PdfSecuritySettings other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public PdfSecuritySettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PdfSecuritySettings.Builder>
IOException
public boolean hasAllowUserAnnotations()
optional bool allow_user_annotations = 1;
hasAllowUserAnnotations
in interface PdfSecuritySettingsOrBuilder
public boolean getAllowUserAnnotations()
optional bool allow_user_annotations = 1;
getAllowUserAnnotations
in interface PdfSecuritySettingsOrBuilder
public PdfSecuritySettings.Builder setAllowUserAnnotations(boolean value)
optional bool allow_user_annotations = 1;
value
- The allowUserAnnotations to set.public PdfSecuritySettings.Builder clearAllowUserAnnotations()
optional bool allow_user_annotations = 1;
public boolean hasAllowUserCopyPasteContent()
optional bool allow_user_copy_paste_content = 2;
hasAllowUserCopyPasteContent
in interface PdfSecuritySettingsOrBuilder
public boolean getAllowUserCopyPasteContent()
optional bool allow_user_copy_paste_content = 2;
getAllowUserCopyPasteContent
in interface PdfSecuritySettingsOrBuilder
public PdfSecuritySettings.Builder setAllowUserCopyPasteContent(boolean value)
optional bool allow_user_copy_paste_content = 2;
value
- The allowUserCopyPasteContent to set.public PdfSecuritySettings.Builder clearAllowUserCopyPasteContent()
optional bool allow_user_copy_paste_content = 2;
public boolean hasAllowUserCopyPasteContentForAccessibility()
optional bool allow_user_copy_paste_content_for_accessibility = 3;
hasAllowUserCopyPasteContentForAccessibility
in interface PdfSecuritySettingsOrBuilder
public boolean getAllowUserCopyPasteContentForAccessibility()
optional bool allow_user_copy_paste_content_for_accessibility = 3;
getAllowUserCopyPasteContentForAccessibility
in interface PdfSecuritySettingsOrBuilder
public PdfSecuritySettings.Builder setAllowUserCopyPasteContentForAccessibility(boolean value)
optional bool allow_user_copy_paste_content_for_accessibility = 3;
value
- The allowUserCopyPasteContentForAccessibility to set.public PdfSecuritySettings.Builder clearAllowUserCopyPasteContentForAccessibility()
optional bool allow_user_copy_paste_content_for_accessibility = 3;
public boolean hasAllowUserEdits()
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
hasAllowUserEdits
in interface PdfSecuritySettingsOrBuilder
public PdfEditSecurity getAllowUserEdits()
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
getAllowUserEdits
in interface PdfSecuritySettingsOrBuilder
public PdfSecuritySettings.Builder setAllowUserEdits(PdfEditSecurity value)
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
public PdfSecuritySettings.Builder setAllowUserEdits(PdfEditSecurity.Builder builderForValue)
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
public PdfSecuritySettings.Builder mergeAllowUserEdits(PdfEditSecurity value)
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
public PdfSecuritySettings.Builder clearAllowUserEdits()
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
public PdfEditSecurity.Builder getAllowUserEditsBuilder()
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
public PdfEditSecurityOrBuilder getAllowUserEditsOrBuilder()
optional .IronPdfEngine.Proto.PdfEditSecurity allow_user_edits = 4;
getAllowUserEditsOrBuilder
in interface PdfSecuritySettingsOrBuilder
public boolean hasAllowUserFormData()
optional bool allow_user_form_data = 5;
hasAllowUserFormData
in interface PdfSecuritySettingsOrBuilder
public boolean getAllowUserFormData()
optional bool allow_user_form_data = 5;
getAllowUserFormData
in interface PdfSecuritySettingsOrBuilder
public PdfSecuritySettings.Builder setAllowUserFormData(boolean value)
optional bool allow_user_form_data = 5;
value
- The allowUserFormData to set.public PdfSecuritySettings.Builder clearAllowUserFormData()
optional bool allow_user_form_data = 5;
public boolean hasAllowUserPrinting()
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
hasAllowUserPrinting
in interface PdfSecuritySettingsOrBuilder
public PdfPrintSecurity getAllowUserPrinting()
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
getAllowUserPrinting
in interface PdfSecuritySettingsOrBuilder
public PdfSecuritySettings.Builder setAllowUserPrinting(PdfPrintSecurity value)
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
public PdfSecuritySettings.Builder setAllowUserPrinting(PdfPrintSecurity.Builder builderForValue)
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
public PdfSecuritySettings.Builder mergeAllowUserPrinting(PdfPrintSecurity value)
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
public PdfSecuritySettings.Builder clearAllowUserPrinting()
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
public PdfPrintSecurity.Builder getAllowUserPrintingBuilder()
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
public PdfPrintSecurityOrBuilder getAllowUserPrintingOrBuilder()
optional .IronPdfEngine.Proto.PdfPrintSecurity allow_user_printing = 6;
getAllowUserPrintingOrBuilder
in interface PdfSecuritySettingsOrBuilder
public boolean hasOwnerPassword()
optional string owner_password = 7;
hasOwnerPassword
in interface PdfSecuritySettingsOrBuilder
public String getOwnerPassword()
optional string owner_password = 7;
getOwnerPassword
in interface PdfSecuritySettingsOrBuilder
public com.google.protobuf.ByteString getOwnerPasswordBytes()
optional string owner_password = 7;
getOwnerPasswordBytes
in interface PdfSecuritySettingsOrBuilder
public PdfSecuritySettings.Builder setOwnerPassword(String value)
optional string owner_password = 7;
value
- The ownerPassword to set.public PdfSecuritySettings.Builder clearOwnerPassword()
optional string owner_password = 7;
public PdfSecuritySettings.Builder setOwnerPasswordBytes(com.google.protobuf.ByteString value)
optional string owner_password = 7;
value
- The bytes for ownerPassword to set.public boolean hasUserPassword()
optional string user_password = 8;
hasUserPassword
in interface PdfSecuritySettingsOrBuilder
public String getUserPassword()
optional string user_password = 8;
getUserPassword
in interface PdfSecuritySettingsOrBuilder
public com.google.protobuf.ByteString getUserPasswordBytes()
optional string user_password = 8;
getUserPasswordBytes
in interface PdfSecuritySettingsOrBuilder
public PdfSecuritySettings.Builder setUserPassword(String value)
optional string user_password = 8;
value
- The userPassword to set.public PdfSecuritySettings.Builder clearUserPassword()
optional string user_password = 8;
public PdfSecuritySettings.Builder setUserPasswordBytes(com.google.protobuf.ByteString value)
optional string user_password = 8;
value
- The bytes for userPassword to set.public final PdfSecuritySettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
public final PdfSecuritySettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PdfSecuritySettings.Builder>
Copyright © 2022–2023 Iron Software. All rights reserved.