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