Class BatchAnnotateImagesResponse (3.4.0)

public final class BatchAnnotateImagesResponse extends GeneratedMessageV3 implements BatchAnnotateImagesResponseOrBuilder

Response to a batch image annotation request.

Protobuf type google.cloud.vision.v1p3beta1.BatchAnnotateImagesResponse

Static Fields

RESPONSES_FIELD_NUMBER

public static final int RESPONSES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchAnnotateImagesResponse getDefaultInstance()
Returns
TypeDescription
BatchAnnotateImagesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(BatchAnnotateImagesResponse prototype)

public static BatchAnnotateImagesResponse.Builder newBuilder(BatchAnnotateImagesResponse prototype)
Parameter
NameDescription
prototypeBatchAnnotateImagesResponse
Returns
TypeDescription
BatchAnnotateImagesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchAnnotateImagesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchAnnotateImagesResponse

getParserForType()

public Parser<BatchAnnotateImagesResponse> getParserForType()
Returns
TypeDescription
Parser<BatchAnnotateImagesResponse>
Overrides

getResponses(int index)

public AnnotateImageResponse getResponses(int index)

Individual responses to image annotation requests within the batch.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotateImageResponse

getResponsesCount()

public int getResponsesCount()

Individual responses to image annotation requests within the batch.

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

Returns
TypeDescription
int

getResponsesList()

public List<AnnotateImageResponse> getResponsesList()

Individual responses to image annotation requests within the batch.

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

Returns
TypeDescription
List<AnnotateImageResponse>

getResponsesOrBuilder(int index)

public AnnotateImageResponseOrBuilder getResponsesOrBuilder(int index)

Individual responses to image annotation requests within the batch.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotateImageResponseOrBuilder

getResponsesOrBuilderList()

public List<? extends AnnotateImageResponseOrBuilder> getResponsesOrBuilderList()

Individual responses to image annotation requests within the batch.

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

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p3beta1.AnnotateImageResponseOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 BatchAnnotateImagesResponse.Builder newBuilderForType()
Returns
TypeDescription
BatchAnnotateImagesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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