public sealed class AnnotateFileRequest : IMessage<AnnotateFileRequest>, IEquatable<AnnotateFileRequest>, IDeepCloneable<AnnotateFileRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class AnnotateFileRequest.
A request to annotate one single file, e.g. a PDF, TIFF or GIF file.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eAnnotateFileRequest\u003c/code\u003e class is part of the Google Cloud Vision v1 API and is used to request the annotation of a single file, such as a PDF, TIFF, or GIF.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnnotateFileRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities within the Google Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThe class requires the \u003ccode\u003eInputConfig\u003c/code\u003e and \u003ccode\u003eFeatures\u003c/code\u003e properties to be set, with \u003ccode\u003eInputConfig\u003c/code\u003e providing details about the file and \u003ccode\u003eFeatures\u003c/code\u003e specifying the requested annotation features.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePages\u003c/code\u003e property allows for specifying which pages of the file to process, with support for negative indexing to refer to pages from the end of the document, and it defaults to the first five pages if no pages are specified.\u003c/p\u003e\n"],["\u003cp\u003eThis version of the API is version 3.3.0, with links provided to documentation for versions ranging from 2.3.0 to the latest version 3.7.0.\u003c/p\u003e\n"]]],[],null,[]]