Interface ImageObjectDetectionPredictionInstanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageObjectDetectionPredictionInstance,ImageObjectDetectionPredictionInstance.Builder
@Generated
public interface ImageObjectDetectionPredictionInstanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe image bytes or Cloud Storage URI to make the prediction on.com.google.protobuf.ByteStringThe image bytes or Cloud Storage URI to make the prediction on.The MIME type of the content of the image.com.google.protobuf.ByteStringThe MIME type of the content of 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
-
getContent
String getContent()The image bytes or Cloud Storage URI to make the prediction on.
string content = 1;- Returns:
- The content.
-
getContentBytes
com.google.protobuf.ByteString getContentBytes()The image bytes or Cloud Storage URI to make the prediction on.
string content = 1;- Returns:
- The bytes for content.
-
getMimeType
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:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.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:
- The bytes for mimeType.
-