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
public interface ImageAnnotationContextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPageNumber()If the file was a PDF or TIFF, this field gives the page number within the file used to produce the image.StringgetUri()The URI of the file used to produce the image.com.google.protobuf.ByteStringgetUriBytes()The URI of the file used to produce the image.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-