Interface AnnotateFileRequestOrBuilder (3.52.0)

public interface AnnotateFileRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFeatures(int index)

public abstract Feature getFeatures(int index)

Required. Requested features.

repeated .google.cloud.vision.v1p4beta1.Feature features = 2;

Parameter
Name Description
index int
Returns
Type Description
Feature

getFeaturesCount()

public abstract int getFeaturesCount()

Required. Requested features.

repeated .google.cloud.vision.v1p4beta1.Feature features = 2;

Returns
Type Description
int

getFeaturesList()

public abstract List<Feature> getFeaturesList()

Required. Requested features.

repeated .google.cloud.vision.v1p4beta1.Feature features = 2;

Returns
Type Description
List<Feature>

getFeaturesOrBuilder(int index)

public abstract FeatureOrBuilder getFeaturesOrBuilder(int index)

Required. Requested features.

repeated .google.cloud.vision.v1p4beta1.Feature features = 2;

Parameter
Name Description
index int
Returns
Type Description
FeatureOrBuilder

getFeaturesOrBuilderList()

public abstract List<? extends FeatureOrBuilder> getFeaturesOrBuilderList()

Required. Requested features.

repeated .google.cloud.vision.v1p4beta1.Feature features = 2;

Returns
Type Description
List<? extends com.google.cloud.vision.v1p4beta1.FeatureOrBuilder>

getImageContext()

public abstract ImageContext getImageContext()

Additional context that may accompany the image(s) in the file.

.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;

Returns
Type Description
ImageContext

The imageContext.

getImageContextOrBuilder()

public abstract ImageContextOrBuilder getImageContextOrBuilder()

Additional context that may accompany the image(s) in the file.

.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;

Returns
Type Description
ImageContextOrBuilder

getInputConfig()

public abstract InputConfig getInputConfig()

Required. Information about the input file.

.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;

Returns
Type Description
InputConfig

The inputConfig.

getInputConfigOrBuilder()

public abstract InputConfigOrBuilder getInputConfigOrBuilder()

Required. Information about the input file.

.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;

Returns
Type Description
InputConfigOrBuilder

getPages(int index)

public abstract int getPages(int index)

Pages of the file to perform image annotation.

Pages starts from 1, we assume the first page of the file is page 1. At most 5 pages are supported per request. Pages can be negative.

Page 1 means the first page. Page 2 means the second page. Page -1 means the last page. Page -2 means the second to the last page.

If the file is GIF instead of PDF or TIFF, page refers to GIF frames.

If this field is empty, by default the service performs image annotation for the first 5 pages of the file.

repeated int32 pages = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
int

The pages at the given index.

getPagesCount()

public abstract int getPagesCount()

Pages of the file to perform image annotation.

Pages starts from 1, we assume the first page of the file is page 1. At most 5 pages are supported per request. Pages can be negative.

Page 1 means the first page. Page 2 means the second page. Page -1 means the last page. Page -2 means the second to the last page.

If the file is GIF instead of PDF or TIFF, page refers to GIF frames.

If this field is empty, by default the service performs image annotation for the first 5 pages of the file.

repeated int32 pages = 4;

Returns
Type Description
int

The count of pages.

getPagesList()

public abstract List<Integer> getPagesList()

Pages of the file to perform image annotation.

Pages starts from 1, we assume the first page of the file is page 1. At most 5 pages are supported per request. Pages can be negative.

Page 1 means the first page. Page 2 means the second page. Page -1 means the last page. Page -2 means the second to the last page.

If the file is GIF instead of PDF or TIFF, page refers to GIF frames.

If this field is empty, by default the service performs image annotation for the first 5 pages of the file.

repeated int32 pages = 4;

Returns
Type Description
List<Integer>

A list containing the pages.

hasImageContext()

public abstract boolean hasImageContext()

Additional context that may accompany the image(s) in the file.

.google.cloud.vision.v1p4beta1.ImageContext image_context = 3;

Returns
Type Description
boolean

Whether the imageContext field is set.

hasInputConfig()

public abstract boolean hasInputConfig()

Required. Information about the input file.

.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;

Returns
Type Description
boolean

Whether the inputConfig field is set.