Class BatchAnnotateImagesResponse (3.44.0)

public final class BatchAnnotateImagesResponse extends GeneratedMessageV3 implements BatchAnnotateImagesResponseOrBuilder

Response to a batch image annotation request.

Protobuf type google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse

Static Fields

RESPONSES_FIELD_NUMBER

public static final int RESPONSES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchAnnotateImagesResponse getDefaultInstance()
Returns
Type Description
BatchAnnotateImagesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchAnnotateImagesResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchAnnotateImagesResponse getDefaultInstanceForType()
Returns
Type Description
BatchAnnotateImagesResponse

getParserForType()

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

getResponses(int index)

public AnnotateImageResponse getResponses(int index)

Individual responses to image annotation requests within the batch.

repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotateImageResponse

getResponsesCount()

public int getResponsesCount()

Individual responses to image annotation requests within the batch.

repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;

Returns
Type Description
int

getResponsesList()

public List<AnnotateImageResponse> getResponsesList()

Individual responses to image annotation requests within the batch.

repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;

Returns
Type Description
List<AnnotateImageResponse>

getResponsesOrBuilder(int index)

public AnnotateImageResponseOrBuilder getResponsesOrBuilder(int index)

Individual responses to image annotation requests within the batch.

repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotateImageResponseOrBuilder

getResponsesOrBuilderList()

public List<? extends AnnotateImageResponseOrBuilder> getResponsesOrBuilderList()

Individual responses to image annotation requests within the batch.

repeated .google.cloud.vision.v1p1beta1.AnnotateImageResponse responses = 1;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p1beta1.AnnotateImageResponseOrBuilder>

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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