public sealed class AnnotateFileResponse : IMessage<AnnotateFileResponse>, IEquatable<AnnotateFileResponse>, IDeepCloneable<AnnotateFileResponse>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class AnnotateFileResponse.
Response to a single file annotation request. A file may contain one or more images, which individually have their own responses.
Implements
IMessage<AnnotateFileResponse>, IEquatable<AnnotateFileResponse>, IDeepCloneable<AnnotateFileResponse>, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
AnnotateFileResponse()
public AnnotateFileResponse()
AnnotateFileResponse(AnnotateFileResponse)
public AnnotateFileResponse(AnnotateFileResponse other)
Parameter | |
---|---|
Name | Description |
other | AnnotateFileResponse |
Properties
Error
public Status Error { get; set; }
If set, represents the error message for the failed request. The
responses
field will not be set in this case.
Property Value | |
---|---|
Type | Description |
Status |
InputConfig
public InputConfig InputConfig { get; set; }
Information about the file for which this response is generated.
Property Value | |
---|---|
Type | Description |
InputConfig |
Responses
public RepeatedField<AnnotateImageResponse> Responses { get; }
Individual responses to images found within the file. This field will be
empty if the error
field is set.
Property Value | |
---|---|
Type | Description |
RepeatedField<AnnotateImageResponse> |
TotalPages
public int TotalPages { get; set; }
This field gives the total number of pages in the file.
Property Value | |
---|---|
Type | Description |
Int32 |