- 3.53.0 (latest)
- 3.52.0
- 3.51.0
- 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 AnnotateFileResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getError()
public abstract Status getError()
If set, represents the error message for the failed request. The
responses
field will not be set in this case.
.google.rpc.Status error = 4;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status | The error. |
getErrorOrBuilder()
public abstract StatusOrBuilder getErrorOrBuilder()
If set, represents the error message for the failed request. The
responses
field will not be set in this case.
.google.rpc.Status error = 4;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getInputConfig()
public abstract InputConfig getInputConfig()
Information about the file for which this response is generated.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Returns | |
---|---|
Type | Description |
InputConfig | The inputConfig. |
getInputConfigOrBuilder()
public abstract InputConfigOrBuilder getInputConfigOrBuilder()
Information about the file for which this response is generated.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Returns | |
---|---|
Type | Description |
InputConfigOrBuilder |
getResponses(int index)
public abstract AnnotateImageResponse getResponses(int index)
Individual responses to images found within the file. This field will be
empty if the error
field is set.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
AnnotateImageResponse |
getResponsesCount()
public abstract int getResponsesCount()
Individual responses to images found within the file. This field will be
empty if the error
field is set.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 2;
Returns | |
---|---|
Type | Description |
int |
getResponsesList()
public abstract List<AnnotateImageResponse> getResponsesList()
Individual responses to images found within the file. This field will be
empty if the error
field is set.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 2;
Returns | |
---|---|
Type | Description |
List<AnnotateImageResponse> |
getResponsesOrBuilder(int index)
public abstract AnnotateImageResponseOrBuilder getResponsesOrBuilder(int index)
Individual responses to images found within the file. This field will be
empty if the error
field is set.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
AnnotateImageResponseOrBuilder |
getResponsesOrBuilderList()
public abstract List<? extends AnnotateImageResponseOrBuilder> getResponsesOrBuilderList()
Individual responses to images found within the file. This field will be
empty if the error
field is set.
repeated .google.cloud.vision.v1p4beta1.AnnotateImageResponse responses = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.vision.v1p4beta1.AnnotateImageResponseOrBuilder> |
getTotalPages()
public abstract int getTotalPages()
This field gives the total number of pages in the file.
int32 total_pages = 3;
Returns | |
---|---|
Type | Description |
int | The totalPages. |
hasError()
public abstract boolean hasError()
If set, represents the error message for the failed request. The
responses
field will not be set in this case.
.google.rpc.Status error = 4;
Returns | |
---|---|
Type | Description |
boolean | Whether the error field is set. |
hasInputConfig()
public abstract boolean hasInputConfig()
Information about the file for which this response is generated.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the inputConfig field is set. |