Interface SearchRequest.ImageQueryOrBuilder (0.28.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
TypeDescription
String

The imageBytes.

getImageBytesBytes()

public abstract ByteString getImageBytesBytes()

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

string image_bytes = 1;

Returns
TypeDescription
ByteString

The bytes for imageBytes.

getImageCase()

public abstract SearchRequest.ImageQuery.ImageCase getImageCase()
Returns
TypeDescription
SearchRequest.ImageQuery.ImageCase

hasImageBytes()

public abstract boolean hasImageBytes()

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

string image_bytes = 1;

Returns
TypeDescription
boolean

Whether the imageBytes field is set.