public interface ImageObjectDetectionPredictionInstanceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getContent()
public abstract String getContent()The image bytes or Cloud Storage URI to make the prediction on.
string content = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The content. |
getContentBytes()
public abstract ByteString getContentBytes()The image bytes or Cloud Storage URI to make the prediction on.
string content = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for content. |
getMimeType()
public abstract String getMimeType()The MIME type of the content of the image. Only the images in below listed MIME types are supported.
- image/jpeg
- image/gif
- image/png
- image/webp
- image/bmp
- image/tiff
- image/vnd.microsoft.icon
string mime_type = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The mimeType. |
getMimeTypeBytes()
public abstract ByteString getMimeTypeBytes()The MIME type of the content of the image. Only the images in below listed MIME types are supported.
- image/jpeg
- image/gif
- image/png
- image/webp
- image/bmp
- image/tiff
- image/vnd.microsoft.icon
string mime_type = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mimeType. |