Interface Document.Page.ImageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.Page.Image
,Document.Page.Image.Builder
- Enclosing class:
- Document.Page
public static interface Document.Page.ImageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteString
getContent()
Raw byte content of the image.int
getHeight()
Height of the image in pixels.String
getMimeType()
Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for the image.com.google.protobuf.ByteString
getMimeTypeBytes()
Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for the image.int
getWidth()
Width of the image in pixels.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getContent
com.google.protobuf.ByteString getContent()
Raw byte content of the image.
bytes content = 1;
- Returns:
- The content.
-
getMimeType
String getMimeType()
Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for the image.
string mime_type = 2;
- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()
Encoding [media type (MIME type)](https://www.iana.org/assignments/media-types/media-types.xhtml) for the image.
string mime_type = 2;
- Returns:
- The bytes for mimeType.
-
getWidth
int getWidth()
Width of the image in pixels.
int32 width = 3;
- Returns:
- The width.
-
getHeight
int getHeight()
Height of the image in pixels.
int32 height = 4;
- Returns:
- The height.
-
-