public interface AnnotateFileResponseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
com.google.rpc.Status |
getError()
If set, represents the error message for the failed request.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
If set, represents the error message for the failed request.
|
InputConfig |
getInputConfig()
Information about the file for which this response is generated.
|
InputConfigOrBuilder |
getInputConfigOrBuilder()
Information about the file for which this response is generated.
|
AnnotateImageResponse |
getResponses(int index)
Individual responses to images found within the file.
|
int |
getResponsesCount()
Individual responses to images found within the file.
|
List<AnnotateImageResponse> |
getResponsesList()
Individual responses to images found within the file.
|
AnnotateImageResponseOrBuilder |
getResponsesOrBuilder(int index)
Individual responses to images found within the file.
|
List<? extends AnnotateImageResponseOrBuilder> |
getResponsesOrBuilderList()
Individual responses to images found within the file.
|
int |
getTotalPages()
This field gives the total number of pages in the file.
|
boolean |
hasError()
If set, represents the error message for the failed request.
|
boolean |
hasInputConfig()
Information about the file for which this response is generated.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasInputConfig()
Information about the file for which this response is generated.
.google.cloud.vision.v1.InputConfig input_config = 1;
InputConfig getInputConfig()
Information about the file for which this response is generated.
.google.cloud.vision.v1.InputConfig input_config = 1;
InputConfigOrBuilder getInputConfigOrBuilder()
Information about the file for which this response is generated.
.google.cloud.vision.v1.InputConfig input_config = 1;
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.v1.AnnotateImageResponse responses = 2;
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.v1.AnnotateImageResponse responses = 2;
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.v1.AnnotateImageResponse responses = 2;
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.v1.AnnotateImageResponse responses = 2;
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.v1.AnnotateImageResponse responses = 2;
int getTotalPages()
This field gives the total number of pages in the file.
int32 total_pages = 3;
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;
com.google.rpc.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;
com.google.rpc.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;
Copyright © 2022 Google LLC. All rights reserved.