Package com.google.cloud.visionai.v1
Interface ImageQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ImageQuery,ImageQuery.Builder
@Generated
public interface ImageQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
hasInputImage
boolean hasInputImage()Input image in raw bytes.
bytes input_image = 1;- Returns:
- Whether the inputImage field is set.
-
getInputImage
com.google.protobuf.ByteString getInputImage()Input image in raw bytes.
bytes input_image = 1;- Returns:
- The inputImage.
-
hasAsset
boolean hasAsset()Resource name of the asset. Only supported in IMAGE corpus type. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`string asset = 2 [(.google.api.resource_reference) = { ... }- Returns:
- Whether the asset field is set.
-
getAsset
String getAsset()Resource name of the asset. Only supported in IMAGE corpus type. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`string asset = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The asset.
-
getAssetBytes
com.google.protobuf.ByteString getAssetBytes()Resource name of the asset. Only supported in IMAGE corpus type. Format: `projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}`string asset = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for asset.
-
getImageCase
ImageQuery.ImageCase getImageCase()
-