Class PdfiumPdfSecuritySettingsP.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PdfiumPdfSecuritySettingsP.Builder>
-
- com.ironsoftware.ironpdf.internal.proto.PdfiumPdfSecuritySettingsP.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,PdfiumPdfSecuritySettingsPOrBuilder
,Cloneable
- Enclosing class:
- PdfiumPdfSecuritySettingsP
public static final class PdfiumPdfSecuritySettingsP.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PdfiumPdfSecuritySettingsP.Builder> implements PdfiumPdfSecuritySettingsPOrBuilder
Protobuf typeironpdfengineproto.PdfiumPdfSecuritySettingsP
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PdfiumPdfSecuritySettingsP
build()
PdfiumPdfSecuritySettingsP
buildPartial()
PdfiumPdfSecuritySettingsP.Builder
clear()
PdfiumPdfSecuritySettingsP.Builder
clearOwnerPassword()
string owner_password = 2;
PdfiumPdfSecuritySettingsP.Builder
clearPermissions()
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
PdfiumPdfSecuritySettingsP.Builder
clearUserPassword()
string user_password = 3;
PdfiumPdfSecuritySettingsP
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getOwnerPassword()
string owner_password = 2;
com.google.protobuf.ByteString
getOwnerPasswordBytes()
string owner_password = 2;
PdfiumPdfDocumentPermissionsP
getPermissions()
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
PdfiumPdfDocumentPermissionsP.Builder
getPermissionsBuilder()
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
PdfiumPdfDocumentPermissionsPOrBuilder
getPermissionsOrBuilder()
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
String
getUserPassword()
string user_password = 3;
com.google.protobuf.ByteString
getUserPasswordBytes()
string user_password = 3;
boolean
hasPermissions()
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PdfiumPdfSecuritySettingsP.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PdfiumPdfSecuritySettingsP.Builder
mergeFrom(com.google.protobuf.Message other)
PdfiumPdfSecuritySettingsP.Builder
mergeFrom(PdfiumPdfSecuritySettingsP other)
PdfiumPdfSecuritySettingsP.Builder
mergePermissions(PdfiumPdfDocumentPermissionsP value)
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
PdfiumPdfSecuritySettingsP.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PdfiumPdfSecuritySettingsP.Builder
setOwnerPassword(String value)
string owner_password = 2;
PdfiumPdfSecuritySettingsP.Builder
setOwnerPasswordBytes(com.google.protobuf.ByteString value)
string owner_password = 2;
PdfiumPdfSecuritySettingsP.Builder
setPermissions(PdfiumPdfDocumentPermissionsP value)
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
PdfiumPdfSecuritySettingsP.Builder
setPermissions(PdfiumPdfDocumentPermissionsP.Builder builderForValue)
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
PdfiumPdfSecuritySettingsP.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PdfiumPdfSecuritySettingsP.Builder
setUserPassword(String value)
string user_password = 3;
PdfiumPdfSecuritySettingsP.Builder
setUserPasswordBytes(com.google.protobuf.ByteString value)
string user_password = 3;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PdfiumPdfSecuritySettingsP.Builder>
-
clear
public PdfiumPdfSecuritySettingsP.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PdfiumPdfSecuritySettingsP.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PdfiumPdfSecuritySettingsP.Builder>
-
getDefaultInstanceForType
public PdfiumPdfSecuritySettingsP getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PdfiumPdfSecuritySettingsP build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PdfiumPdfSecuritySettingsP buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public PdfiumPdfSecuritySettingsP.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PdfiumPdfSecuritySettingsP.Builder>
-
mergeFrom
public PdfiumPdfSecuritySettingsP.Builder mergeFrom(PdfiumPdfSecuritySettingsP other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PdfiumPdfSecuritySettingsP.Builder>
-
mergeFrom
public PdfiumPdfSecuritySettingsP.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PdfiumPdfSecuritySettingsP.Builder>
- Throws:
IOException
-
hasPermissions
public boolean hasPermissions()
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
- Specified by:
hasPermissions
in interfacePdfiumPdfSecuritySettingsPOrBuilder
- Returns:
- Whether the permissions field is set.
-
getPermissions
public PdfiumPdfDocumentPermissionsP getPermissions()
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
- Specified by:
getPermissions
in interfacePdfiumPdfSecuritySettingsPOrBuilder
- Returns:
- The permissions.
-
setPermissions
public PdfiumPdfSecuritySettingsP.Builder setPermissions(PdfiumPdfDocumentPermissionsP value)
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
-
setPermissions
public PdfiumPdfSecuritySettingsP.Builder setPermissions(PdfiumPdfDocumentPermissionsP.Builder builderForValue)
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
-
mergePermissions
public PdfiumPdfSecuritySettingsP.Builder mergePermissions(PdfiumPdfDocumentPermissionsP value)
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
-
clearPermissions
public PdfiumPdfSecuritySettingsP.Builder clearPermissions()
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
-
getPermissionsBuilder
public PdfiumPdfDocumentPermissionsP.Builder getPermissionsBuilder()
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
-
getPermissionsOrBuilder
public PdfiumPdfDocumentPermissionsPOrBuilder getPermissionsOrBuilder()
.ironpdfengineproto.PdfiumPdfDocumentPermissionsP permissions = 1;
- Specified by:
getPermissionsOrBuilder
in interfacePdfiumPdfSecuritySettingsPOrBuilder
-
getOwnerPassword
public String getOwnerPassword()
string owner_password = 2;
- Specified by:
getOwnerPassword
in interfacePdfiumPdfSecuritySettingsPOrBuilder
- Returns:
- The ownerPassword.
-
getOwnerPasswordBytes
public com.google.protobuf.ByteString getOwnerPasswordBytes()
string owner_password = 2;
- Specified by:
getOwnerPasswordBytes
in interfacePdfiumPdfSecuritySettingsPOrBuilder
- Returns:
- The bytes for ownerPassword.
-
setOwnerPassword
public PdfiumPdfSecuritySettingsP.Builder setOwnerPassword(String value)
string owner_password = 2;
- Parameters:
value
- The ownerPassword to set.- Returns:
- This builder for chaining.
-
clearOwnerPassword
public PdfiumPdfSecuritySettingsP.Builder clearOwnerPassword()
string owner_password = 2;
- Returns:
- This builder for chaining.
-
setOwnerPasswordBytes
public PdfiumPdfSecuritySettingsP.Builder setOwnerPasswordBytes(com.google.protobuf.ByteString value)
string owner_password = 2;
- Parameters:
value
- The bytes for ownerPassword to set.- Returns:
- This builder for chaining.
-
getUserPassword
public String getUserPassword()
string user_password = 3;
- Specified by:
getUserPassword
in interfacePdfiumPdfSecuritySettingsPOrBuilder
- Returns:
- The userPassword.
-
getUserPasswordBytes
public com.google.protobuf.ByteString getUserPasswordBytes()
string user_password = 3;
- Specified by:
getUserPasswordBytes
in interfacePdfiumPdfSecuritySettingsPOrBuilder
- Returns:
- The bytes for userPassword.
-
setUserPassword
public PdfiumPdfSecuritySettingsP.Builder setUserPassword(String value)
string user_password = 3;
- Parameters:
value
- The userPassword to set.- Returns:
- This builder for chaining.
-
clearUserPassword
public PdfiumPdfSecuritySettingsP.Builder clearUserPassword()
string user_password = 3;
- Returns:
- This builder for chaining.
-
setUserPasswordBytes
public PdfiumPdfSecuritySettingsP.Builder setUserPasswordBytes(com.google.protobuf.ByteString value)
string user_password = 3;
- Parameters:
value
- The bytes for userPassword to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PdfiumPdfSecuritySettingsP.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PdfiumPdfSecuritySettingsP.Builder>
-
mergeUnknownFields
public final PdfiumPdfSecuritySettingsP.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PdfiumPdfSecuritySettingsP.Builder>
-
-