Package com.google.cloud.automl.v1
Interface ImageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Image
,Image.Builder
public interface ImageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Image.DataCase
getDataCase()
com.google.protobuf.ByteString
getImageBytes()
Image content represented as a stream of bytes.String
getThumbnailUri()
Output only.com.google.protobuf.ByteString
getThumbnailUriBytes()
Output only.boolean
hasImageBytes()
Image content represented as a stream of bytes.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasImageBytes
boolean hasImageBytes()
Image content represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.
bytes image_bytes = 1;
- Returns:
- Whether the imageBytes field is set.
-
getImageBytes
com.google.protobuf.ByteString getImageBytes()
Image content represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.
bytes image_bytes = 1;
- Returns:
- The imageBytes.
-
getThumbnailUri
String getThumbnailUri()
Output only. HTTP URI to the thumbnail image.
string thumbnail_uri = 4;
- Returns:
- The thumbnailUri.
-
getThumbnailUriBytes
com.google.protobuf.ByteString getThumbnailUriBytes()
Output only. HTTP URI to the thumbnail image.
string thumbnail_uri = 4;
- Returns:
- The bytes for thumbnailUri.
-
getDataCase
Image.DataCase getDataCase()
-
-