Interface SearchRequest.ImageQueryOrBuilder (0.51.0)

public static interface SearchRequest.ImageQueryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getImageBytes()

public abstract String getImageBytes()

Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.

string image_bytes = 1;

Returns
Type Description
String

The imageBytes.

getImageBytesBytes()

public abstract ByteString getImageBytesBytes()

Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.

string image_bytes = 1;

Returns
Type Description
ByteString

The bytes for imageBytes.

getImageCase()

public abstract SearchRequest.ImageQuery.ImageCase getImageCase()
Returns
Type Description
SearchRequest.ImageQuery.ImageCase

hasImageBytes()

public abstract boolean hasImageBytes()

Base64 encoded image bytes. Supported image formats: JPEG, PNG, and BMP.

string image_bytes = 1;

Returns
Type Description
boolean

Whether the imageBytes field is set.