Class BatchAnnotateFilesResponse (3.38.0)

public final class BatchAnnotateFilesResponse extends GeneratedMessageV3 implements BatchAnnotateFilesResponseOrBuilder

A list of file annotation responses.

Protobuf type google.cloud.vision.v1.BatchAnnotateFilesResponse

Static Fields

RESPONSES_FIELD_NUMBER

public static final int RESPONSES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchAnnotateFilesResponse getDefaultInstance()
Returns
TypeDescription
BatchAnnotateFilesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchAnnotateFilesResponse prototype)

public static BatchAnnotateFilesResponse.Builder newBuilder(BatchAnnotateFilesResponse prototype)
Parameter
NameDescription
prototypeBatchAnnotateFilesResponse
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchAnnotateFilesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchAnnotateFilesResponse

getParserForType()

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotateFileResponse

getResponsesCount()

public int getResponsesCount()

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

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

Returns
TypeDescription
int

getResponsesList()

public List<AnnotateFileResponse> getResponsesList()

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

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.AnnotateFileResponse responses = 1;

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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