Class AsyncBatchAnnotateFilesResponse (3.29.0)

public final class AsyncBatchAnnotateFilesResponse extends GeneratedMessageV3 implements AsyncBatchAnnotateFilesResponseOrBuilder

Response to an async batch file annotation request.

Protobuf type google.cloud.vision.v1.AsyncBatchAnnotateFilesResponse

Inheritance

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

Static Fields

RESPONSES_FIELD_NUMBER

public static final int RESPONSES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AsyncBatchAnnotateFilesResponse getDefaultInstance()
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AsyncBatchAnnotateFilesResponse.Builder newBuilder()
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

newBuilder(AsyncBatchAnnotateFilesResponse prototype)

public static AsyncBatchAnnotateFilesResponse.Builder newBuilder(AsyncBatchAnnotateFilesResponse prototype)
Parameter
NameDescription
prototypeAsyncBatchAnnotateFilesResponse
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

parseDelimitedFrom(InputStream input)

public static AsyncBatchAnnotateFilesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AsyncBatchAnnotateFilesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AsyncBatchAnnotateFilesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AsyncBatchAnnotateFilesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AsyncBatchAnnotateFilesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AsyncBatchAnnotateFilesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AsyncBatchAnnotateFilesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AsyncBatchAnnotateFilesResponse> parser()
Returns
TypeDescription
Parser<AsyncBatchAnnotateFilesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AsyncBatchAnnotateFilesResponse getDefaultInstanceForType()
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse

getParserForType()

public Parser<AsyncBatchAnnotateFilesResponse> getParserForType()
Returns
TypeDescription
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.v1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncAnnotateFileResponse

getResponsesCount()

public int getResponsesCount()

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

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

Returns
TypeDescription
int

getResponsesList()

public List<AsyncAnnotateFileResponse> getResponsesList()

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

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

Returns
TypeDescription
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.v1.AsyncAnnotateFileResponse responses = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AsyncAnnotateFileResponseOrBuilder

getResponsesOrBuilderList()

public List<? extends AsyncAnnotateFileResponseOrBuilder> getResponsesOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1.AsyncAnnotateFileResponseOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AsyncBatchAnnotateFilesResponse.Builder newBuilderForType()
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AsyncBatchAnnotateFilesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AsyncBatchAnnotateFilesResponse.Builder toBuilder()
Returns
TypeDescription
AsyncBatchAnnotateFilesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException