Package com.google.cloud.automl.v1beta1
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.InputConfig
getInputConfig()
An input config specifying the content of the image.InputConfigOrBuilder
getInputConfigOrBuilder()
An input config specifying the content of the image.String
getThumbnailUri()
Output only.com.google.protobuf.ByteString
getThumbnailUriBytes()
Output only.boolean
hasImageBytes()
Image content represented as a stream of bytes.boolean
hasInputConfig()
An input config specifying the content of the image.-
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.
-
hasInputConfig
boolean hasInputConfig()
An input config specifying the content of the image.
.google.cloud.automl.v1beta1.InputConfig input_config = 6;
- Returns:
- Whether the inputConfig field is set.
-
getInputConfig
InputConfig getInputConfig()
An input config specifying the content of the image.
.google.cloud.automl.v1beta1.InputConfig input_config = 6;
- Returns:
- The inputConfig.
-
getInputConfigOrBuilder
InputConfigOrBuilder getInputConfigOrBuilder()
An input config specifying the content of the image.
.google.cloud.automl.v1beta1.InputConfig input_config = 6;
-
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()
-
-