public final class PDFInfo extends GeneratedMessage implements PDFInfoOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ACROFORM_FIELD_NUMBER
public static final int ACROFORM_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
AUTOACTION_FIELD_NUMBER
public static final int AUTOACTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EMBEDDED_FILE_FIELD_NUMBER
public static final int EMBEDDED_FILE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENCRYPTED_FIELD_NUMBER
public static final int ENCRYPTED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENDOBJ_COUNT_FIELD_NUMBER
public static final int ENDOBJ_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENDSTREAM_COUNT_FIELD_NUMBER
public static final int ENDSTREAM_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FLASH_FIELD_NUMBER
public static final int FLASH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int HEADER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
JAVASCRIPT_FIELD_NUMBER
public static final int JAVASCRIPT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
JBIG2_COMPRESSION_FIELD_NUMBER
public static final int JBIG2_COMPRESSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
JS_FIELD_NUMBER
public static final int JS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LAUNCH_ACTION_COUNT_FIELD_NUMBER
public static final int LAUNCH_ACTION_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OBJECT_STREAM_COUNT_FIELD_NUMBER
public static final int OBJECT_STREAM_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OBJ_COUNT_FIELD_NUMBER
public static final int OBJ_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OPENACTION_FIELD_NUMBER
public static final int OPENACTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PAGE_COUNT_FIELD_NUMBER
public static final int PAGE_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STARTXREF_FIELD_NUMBER
public static final int STARTXREF_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STREAM_COUNT_FIELD_NUMBER
public static final int STREAM_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SUSPICIOUS_COLORS_FIELD_NUMBER
public static final int SUSPICIOUS_COLORS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TRAILER_FIELD_NUMBER
public static final int TRAILER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
XFA_FIELD_NUMBER
public static final int XFA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
XREF_FIELD_NUMBER
public static final int XREF_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static PDFInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PDFInfo.Builder newBuilder()
newBuilder(PDFInfo prototype)
public static PDFInfo.Builder newBuilder(PDFInfo prototype)
| Parameter |
| Name |
Description |
prototype |
PDFInfo
|
parseDelimitedFrom(InputStream input)
public static PDFInfo parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PDFInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PDFInfo parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PDFInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PDFInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PDFInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static PDFInfo parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PDFInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static PDFInfo parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PDFInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PDFInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PDFInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PDFInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAcroform()
public long getAcroform()
Number of /AcroForm tags found in the PDF.
int64 acroform = 7;
| Returns |
| Type |
Description |
long |
The acroform.
|
getAutoaction()
public long getAutoaction()
Number of /AA tags found in the PDF.
int64 autoaction = 8;
| Returns |
| Type |
Description |
long |
The autoaction.
|
getDefaultInstanceForType()
public PDFInfo getDefaultInstanceForType()
getEmbeddedFile()
public long getEmbeddedFile()
Number of /EmbeddedFile tags found in the PDF.
int64 embedded_file = 9;
| Returns |
| Type |
Description |
long |
The embeddedFile.
|
getEncrypted()
public long getEncrypted()
Whether the document is encrypted or not. This is defined by the /Encrypt
tag.
int64 encrypted = 10;
| Returns |
| Type |
Description |
long |
The encrypted.
|
getEndobjCount()
public long getEndobjCount()
Number of object definitions (endobj keyword).
int64 endobj_count = 5;
| Returns |
| Type |
Description |
long |
The endobjCount.
|
getEndstreamCount()
public long getEndstreamCount()
Number of defined stream objects (stream keyword).
int64 endstream_count = 14;
| Returns |
| Type |
Description |
long |
The endstreamCount.
|
getFlash()
Number of /RichMedia tags found in the PDF.
int64 flash = 11;
| Returns |
| Type |
Description |
long |
The flash.
|
public String getHeader()
PDF version.
string header = 6;
| Returns |
| Type |
Description |
String |
The header.
|
public ByteString getHeaderBytes()
PDF version.
string header = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for header.
|
getJavascript()
public long getJavascript()
Number of /JavaScript tags found in the PDF file. Should be the same as
the js field in normal scenarios.
int64 javascript = 2;
| Returns |
| Type |
Description |
long |
The javascript.
|
getJbig2Compression()
public long getJbig2Compression()
Number of /JBIG2Decode tags found in the PDF.
int64 jbig2_compression = 12;
| Returns |
| Type |
Description |
long |
The jbig2Compression.
|
getJs()
Number of /JS tags found in the PDF file. Should be the same as
javascript field in normal scenarios.
int64 js = 1;
| Returns |
| Type |
Description |
long |
The js.
|
getLaunchActionCount()
public long getLaunchActionCount()
Number of /Launch tags found in the PDF file.
int64 launch_action_count = 3;
| Returns |
| Type |
Description |
long |
The launchActionCount.
|
getObjCount()
public long getObjCount()
Number of objects definitions (obj keyword).
int64 obj_count = 13;
| Returns |
| Type |
Description |
long |
The objCount.
|
getObjectStreamCount()
public long getObjectStreamCount()
Number of object streams.
int64 object_stream_count = 4;
| Returns |
| Type |
Description |
long |
The objectStreamCount.
|
getOpenaction()
public long getOpenaction()
Number of /OpenAction tags found in the PDF.
int64 openaction = 17;
| Returns |
| Type |
Description |
long |
The openaction.
|
getPageCount()
public long getPageCount()
Number of pages in the PDF.
int64 page_count = 15;
| Returns |
| Type |
Description |
long |
The pageCount.
|
getParserForType()
public Parser<PDFInfo> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getStartxref()
public long getStartxref()
Number of startxref keywords in the PDF.
int64 startxref = 18;
| Returns |
| Type |
Description |
long |
The startxref.
|
getStreamCount()
public long getStreamCount()
Number of defined stream objects (stream keyword).
int64 stream_count = 16;
| Returns |
| Type |
Description |
long |
The streamCount.
|
getSuspiciousColors()
public long getSuspiciousColors()
Number of colors expressed with more than 3 bytes (CVE-2009-3459).
int64 suspicious_colors = 19;
| Returns |
| Type |
Description |
long |
The suspiciousColors.
|
getTrailer()
Number of trailer keywords in the PDF.
int64 trailer = 20;
| Returns |
| Type |
Description |
long |
The trailer.
|
getXfa()
Number of \XFA tags found in the PDF.
int64 xfa = 21;
| Returns |
| Type |
Description |
long |
The xfa.
|
getXref()
Number of xref keywords in the PDF.
int64 xref = 22;
| Returns |
| Type |
Description |
long |
The xref.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PDFInfo.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected PDFInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public PDFInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides