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
@Generated
public interface ImageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringImage content represented as a stream of bytes.Output only.com.google.protobuf.ByteStringOutput only.booleanImage content represented as a stream of bytes.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
-
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()
-