Class BatchAnnotateFilesResponse (3.45.0)

public final class BatchAnnotateFilesResponse extends GeneratedMessageV3 implements BatchAnnotateFilesResponseOrBuilder

A list of file annotation responses.

Protobuf type google.cloud.vision.v1p4beta1.BatchAnnotateFilesResponse

Static Fields

RESPONSES_FIELD_NUMBER

public static final int RESPONSES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchAnnotateFilesResponse getDefaultInstance()
Returns
Type Description
BatchAnnotateFilesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchAnnotateFilesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchAnnotateFilesResponse getDefaultInstanceForType()
Returns
Type Description
BatchAnnotateFilesResponse

getParserForType()

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

getResponses(int index)

public AnnotateFileResponse getResponses(int index)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotateFileResponse

getResponsesCount()

public int getResponsesCount()

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;

Returns
Type Description
int

getResponsesList()

public List<AnnotateFileResponse> getResponsesList()

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;

Returns
Type Description
List<AnnotateFileResponse>

getResponsesOrBuilder(int index)

public AnnotateFileResponseOrBuilder getResponsesOrBuilder(int index)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotateFileResponseOrBuilder

getResponsesOrBuilderList()

public List<? extends AnnotateFileResponseOrBuilder> getResponsesOrBuilderList()

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1p4beta1.AnnotateFileResponse responses = 1;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p4beta1.AnnotateFileResponseOrBuilder>

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 BatchAnnotateFilesResponse.Builder newBuilderForType()
Returns
Type Description
BatchAnnotateFilesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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