Package com.google.cloud.vision.v1
Interface ImageAnnotationContextOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageAnnotationContext,ImageAnnotationContext.Builder
@Generated
public interface ImageAnnotationContextOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintIf the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.getUri()The URI of the file used to produce the image.com.google.protobuf.ByteStringThe URI of the file used to produce the image.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUri
String getUri()The URI of the file used to produce the image.
string uri = 1;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()The URI of the file used to produce the image.
string uri = 1;- Returns:
- The bytes for uri.
-
getPageNumber
int getPageNumber()If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.
int32 page_number = 2;- Returns:
- The pageNumber.
-