public final class AsyncAnnotateFileRequest extends GeneratedMessageV3 implements AsyncAnnotateFileRequestOrBuilder
An offline file annotation request.
Protobuf type google.cloud.vision.v1.AsyncAnnotateFileRequest
Static Fields
FEATURES_FIELD_NUMBER
public static final int FEATURES_FIELD_NUMBER
Field Value
IMAGE_CONTEXT_FIELD_NUMBER
public static final int IMAGE_CONTEXT_FIELD_NUMBER
Field Value
public static final int INPUT_CONFIG_FIELD_NUMBER
Field Value
OUTPUT_CONFIG_FIELD_NUMBER
public static final int OUTPUT_CONFIG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AsyncAnnotateFileRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AsyncAnnotateFileRequest.Builder newBuilder()
Returns
newBuilder(AsyncAnnotateFileRequest prototype)
public static AsyncAnnotateFileRequest.Builder newBuilder(AsyncAnnotateFileRequest prototype)
Parameter
Returns
public static AsyncAnnotateFileRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AsyncAnnotateFileRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AsyncAnnotateFileRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AsyncAnnotateFileRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AsyncAnnotateFileRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AsyncAnnotateFileRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AsyncAnnotateFileRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AsyncAnnotateFileRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AsyncAnnotateFileRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AsyncAnnotateFileRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AsyncAnnotateFileRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AsyncAnnotateFileRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AsyncAnnotateFileRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AsyncAnnotateFileRequest getDefaultInstanceForType()
Returns
getFeatures(int index)
public Feature getFeatures(int index)
Required. Requested features.
repeated .google.cloud.vision.v1.Feature features = 2;
Parameter
Returns
getFeaturesCount()
public int getFeaturesCount()
Required. Requested features.
repeated .google.cloud.vision.v1.Feature features = 2;
Returns
getFeaturesList()
public List<Feature> getFeaturesList()
Required. Requested features.
repeated .google.cloud.vision.v1.Feature features = 2;
Returns
getFeaturesOrBuilder(int index)
public FeatureOrBuilder getFeaturesOrBuilder(int index)
Required. Requested features.
repeated .google.cloud.vision.v1.Feature features = 2;
Parameter
Returns
getFeaturesOrBuilderList()
public List<? extends FeatureOrBuilder> getFeaturesOrBuilderList()
Required. Requested features.
repeated .google.cloud.vision.v1.Feature features = 2;
Returns
Type | Description |
List<? extends com.google.cloud.vision.v1.FeatureOrBuilder> | |
getImageContext()
public ImageContext getImageContext()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1.ImageContext image_context = 3;
Returns
getImageContextOrBuilder()
public ImageContextOrBuilder getImageContextOrBuilder()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1.ImageContext image_context = 3;
Returns
public InputConfig getInputConfig()
Required. Information about the input file.
.google.cloud.vision.v1.InputConfig input_config = 1;
Returns
public InputConfigOrBuilder getInputConfigOrBuilder()
Required. Information about the input file.
.google.cloud.vision.v1.InputConfig input_config = 1;
Returns
getOutputConfig()
public OutputConfig getOutputConfig()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1.OutputConfig output_config = 4;
Returns
getOutputConfigOrBuilder()
public OutputConfigOrBuilder getOutputConfigOrBuilder()
Required. The desired output location and metadata (e.g. format).
.google.cloud.vision.v1.OutputConfig output_config = 4;
Returns
getParserForType()
public Parser<AsyncAnnotateFileRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasImageContext()
public boolean hasImageContext()
Additional context that may accompany the image(s) in the file.
.google.cloud.vision.v1.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.v1.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.v1.OutputConfig output_config = 4;
Returns
Type | Description |
boolean | Whether the outputConfig field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AsyncAnnotateFileRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AsyncAnnotateFileRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AsyncAnnotateFileRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions