Class AsyncBatchAnnotateFilesResponse (3.45.0)

public final class AsyncBatchAnnotateFilesResponse extends GeneratedMessageV3 implements AsyncBatchAnnotateFilesResponseOrBuilder

Response to an async batch file annotation request.

Protobuf type google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesResponse

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AsyncBatchAnnotateFilesResponse

Static Fields

RESPONSES_FIELD_NUMBER

public static final int RESPONSES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AsyncBatchAnnotateFilesResponse getDefaultInstance()
Returns
Type Description
AsyncBatchAnnotateFilesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AsyncBatchAnnotateFilesResponse.Builder newBuilder()
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

newBuilder(AsyncBatchAnnotateFilesResponse prototype)

public static AsyncBatchAnnotateFilesResponse.Builder newBuilder(AsyncBatchAnnotateFilesResponse prototype)
Parameter
Name Description
prototype AsyncBatchAnnotateFilesResponse
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

parseDelimitedFrom(InputStream input)

public static AsyncBatchAnnotateFilesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AsyncBatchAnnotateFilesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AsyncBatchAnnotateFilesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AsyncBatchAnnotateFilesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AsyncBatchAnnotateFilesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AsyncBatchAnnotateFilesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AsyncBatchAnnotateFilesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AsyncBatchAnnotateFilesResponse> parser()
Returns
Type Description
Parser<AsyncBatchAnnotateFilesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AsyncBatchAnnotateFilesResponse getDefaultInstanceForType()
Returns
Type Description
AsyncBatchAnnotateFilesResponse

getParserForType()

public Parser<AsyncBatchAnnotateFilesResponse> getParserForType()
Returns
Type Description
Parser<AsyncBatchAnnotateFilesResponse>
Overrides

getResponses(int index)

public AsyncAnnotateFileResponse getResponses(int index)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AsyncAnnotateFileResponse

getResponsesCount()

public int getResponsesCount()

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Returns
Type Description
int

getResponsesList()

public List<AsyncAnnotateFileResponse> getResponsesList()

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Returns
Type Description
List<AsyncAnnotateFileResponse>

getResponsesOrBuilder(int index)

public AsyncAnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AsyncAnnotateFileResponseOrBuilder

getResponsesOrBuilderList()

public List<? extends AsyncAnnotateFileResponseOrBuilder> getResponsesOrBuilderList()

The list of file annotation responses, one for each request in AsyncBatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponse responses = 1;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p3beta1.AsyncAnnotateFileResponseOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AsyncBatchAnnotateFilesResponse.Builder newBuilderForType()
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AsyncBatchAnnotateFilesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AsyncBatchAnnotateFilesResponse.Builder toBuilder()
Returns
Type Description
AsyncBatchAnnotateFilesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException