- 3.51.0 (latest)
- 3.50.0
- 3.49.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.3
- 2.1.4
- 2.0.29
public interface AnnotateFileRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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. |