public final class BatchAnnotateImagesRequest extends GeneratedMessageV3 implements BatchAnnotateImagesRequestOrBuilder
Multiple image annotation requests are batched into a single service call.
Protobuf type google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest
Static Fields
REQUESTS_FIELD_NUMBER
public static final int REQUESTS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BatchAnnotateImagesRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BatchAnnotateImagesRequest.Builder newBuilder()
Returns
newBuilder(BatchAnnotateImagesRequest prototype)
public static BatchAnnotateImagesRequest.Builder newBuilder(BatchAnnotateImagesRequest prototype)
Parameter
Returns
public static BatchAnnotateImagesRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchAnnotateImagesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BatchAnnotateImagesRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BatchAnnotateImagesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BatchAnnotateImagesRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BatchAnnotateImagesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchAnnotateImagesRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BatchAnnotateImagesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BatchAnnotateImagesRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BatchAnnotateImagesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BatchAnnotateImagesRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BatchAnnotateImagesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BatchAnnotateImagesRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public BatchAnnotateImagesRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<BatchAnnotateImagesRequest> getParserForType()
Returns
Overrides
getRequests(int index)
public AnnotateImageRequest getRequests(int index)
Required. Individual image annotation requests for this batch.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getRequestsCount()
public int getRequestsCount()
Required. Individual image annotation requests for this batch.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getRequestsList()
public List<AnnotateImageRequest> getRequestsList()
Required. Individual image annotation requests for this batch.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getRequestsOrBuilder(int index)
public AnnotateImageRequestOrBuilder getRequestsOrBuilder(int index)
Required. Individual image annotation requests for this batch.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
getRequestsOrBuilderList()
public List<? extends AnnotateImageRequestOrBuilder> getRequestsOrBuilderList()
Required. Individual image annotation requests for this batch.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1p4beta1.AnnotateImageRequestOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BatchAnnotateImagesRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BatchAnnotateImagesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BatchAnnotateImagesRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions