Google Cloud Vision v1 API - Class AnnotateFileResponse (3.4.0)

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.

Inheritance

object > AnnotateFileResponse

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

AnnotateFileResponse()

public AnnotateFileResponse()

AnnotateFileResponse(AnnotateFileResponse)

public AnnotateFileResponse(AnnotateFileResponse other)
Parameter
NameDescription
otherAnnotateFileResponse

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
TypeDescription
Status

InputConfig

public InputConfig InputConfig { get; set; }

Information about the file for which this response is generated.

Property Value
TypeDescription
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
TypeDescription
RepeatedFieldAnnotateImageResponse

TotalPages

public int TotalPages { get; set; }

This field gives the total number of pages in the file.

Property Value
TypeDescription
int