Send feedback
Class AsyncAnnotateFileRequest (3.30.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.30.0 keyboard_arrow_down
public final class AsyncAnnotateFileRequest extends GeneratedMessageV3 implements AsyncAnnotateFileRequestOrBuilder
An offline file annotation request.
Protobuf type google.cloud.vision.v1p3beta1.AsyncAnnotateFileRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER
Field Value Type Description int
IMAGE_CONTEXT_FIELD_NUMBER
public static final int IMAGE_CONTEXT_FIELD_NUMBER
Field Value Type Description int
public static final int INPUT_CONFIG_FIELD_NUMBER
Field Value Type Description int
OUTPUT_CONFIG_FIELD_NUMBER
public static final int OUTPUT_CONFIG_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static AsyncAnnotateFileRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AsyncAnnotateFileRequest . Builder newBuilder ()
newBuilder(AsyncAnnotateFileRequest prototype)
public static AsyncAnnotateFileRequest . Builder newBuilder ( AsyncAnnotateFileRequest prototype )
public static AsyncAnnotateFileRequest parseDelimitedFrom ( InputStream input )
public static AsyncAnnotateFileRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AsyncAnnotateFileRequest parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AsyncAnnotateFileRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AsyncAnnotateFileRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AsyncAnnotateFileRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AsyncAnnotateFileRequest parseFrom ( CodedInputStream input )
public static AsyncAnnotateFileRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AsyncAnnotateFileRequest parseFrom ( InputStream input )
public static AsyncAnnotateFileRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AsyncAnnotateFileRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AsyncAnnotateFileRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AsyncAnnotateFileRequest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public AsyncAnnotateFileRequest getDefaultInstanceForType ()
getFeatures(int index)
public Feature getFeatures ( int index )
Required. Requested features.
repeated .google.cloud.vision.v1p3beta1.Feature features = 2;
Parameter Name Description index
int
getFeaturesCount()
public int getFeaturesCount ()
Required. Requested features.
repeated .google.cloud.vision.v1p3beta1.Feature features = 2;
Returns Type Description int
getFeaturesList()
public List<Feature> getFeaturesList ()
Required. Requested features.
repeated .google.cloud.vision.v1p3beta1.Feature features = 2;
getFeaturesOrBuilder(int index)
public FeatureOrBuilder getFeaturesOrBuilder ( int index )
Required. Requested features.
repeated .google.cloud.vision.v1p3beta1.Feature features = 2;
Parameter Name Description index
int
getFeaturesOrBuilderList()
public List <? extends FeatureOrBuilder > getFeaturesOrBuilderList ()
Required. Requested features.
repeated .google.cloud.vision.v1p3beta1.Feature features = 2;
Returns Type Description List <? extends com.google.cloud.vision.v1p3beta1.FeatureOrBuilder >
getImageContext()
public ImageContext getImageContext ()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p3beta1.ImageContext image_context = 3;
getImageContextOrBuilder()
public ImageContextOrBuilder getImageContextOrBuilder ()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p3beta1.ImageContext image_context = 3;
public InputConfig getInputConfig ()
Required. Information about the input file.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;
public InputConfigOrBuilder getInputConfigOrBuilder ()
Required. Information about the input file.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;
getOutputConfig()
public OutputConfig getOutputConfig ()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p3beta1.OutputConfig output_config = 4;
getOutputConfigOrBuilder()
public OutputConfigOrBuilder getOutputConfigOrBuilder ()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p3beta1.OutputConfig output_config = 4;
getParserForType()
public Parser<AsyncAnnotateFileRequest> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
hasImageContext()
public boolean hasImageContext ()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1p3beta1.ImageContext image_context = 3;
Returns Type Description boolean
Whether the imageContext field is set.
public boolean hasInputConfig ()
Required. Information about the input file.
.google.cloud.vision.v1p3beta1.InputConfig input_config = 1;
Returns Type Description boolean
Whether the inputConfig field is set.
hasOutputConfig()
public boolean hasOutputConfig ()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1p3beta1.OutputConfig output_config = 4;
Returns Type Description boolean
Whether the outputConfig field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public AsyncAnnotateFileRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AsyncAnnotateFileRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public AsyncAnnotateFileRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]