Interface AnnotateFileResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AnnotateFileResponse,AnnotateFileResponse.Builder
public interface AnnotateFileResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.rpc.StatusgetError()If set, represents the error message for the failed request.com.google.rpc.StatusOrBuildergetErrorOrBuilder()If set, represents the error message for the failed request.InputConfiggetInputConfig()Information about the file for which this response is generated.InputConfigOrBuildergetInputConfigOrBuilder()Information about the file for which this response is generated.AnnotateImageResponsegetResponses(int index)Individual responses to images found within the file.intgetResponsesCount()Individual responses to images found within the file.List<AnnotateImageResponse>getResponsesList()Individual responses to images found within the file.AnnotateImageResponseOrBuildergetResponsesOrBuilder(int index)Individual responses to images found within the file.List<? extends AnnotateImageResponseOrBuilder>getResponsesOrBuilderList()Individual responses to images found within the file.intgetTotalPages()This field gives the total number of pages in the file.booleanhasError()If set, represents the error message for the failed request.booleanhasInputConfig()Information about the file for which this response is generated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInputConfig
boolean hasInputConfig()
Information about the file for which this response is generated.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;- Returns:
- Whether the inputConfig field is set.
-
getInputConfig
InputConfig getInputConfig()
Information about the file for which this response is generated.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;- Returns:
- The inputConfig.
-
getInputConfigOrBuilder
InputConfigOrBuilder getInputConfigOrBuilder()
Information about the file for which this response is generated.
.google.cloud.vision.v1p4beta1.InputConfig input_config = 1;
-
getResponsesList
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;
-
getResponses
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;
-
getResponsesCount
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;
-
getResponsesOrBuilderList
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;
-
getResponsesOrBuilder
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;
-
getTotalPages
int getTotalPages()
This field gives the total number of pages in the file.
int32 total_pages = 3;- Returns:
- The totalPages.
-
hasError
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:
- Whether the error field is set.
-
getError
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;- Returns:
- The error.
-
getErrorOrBuilder
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;
-
-