Interface CriteriaOrBuilder (0.6.0)

public interface CriteriaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBoolValue()

public abstract BoolValue getBoolValue()

A Boolean value.

.google.cloud.visionai.v1.BoolValue bool_value = 7;

Returns
Type Description
BoolValue

The boolValue.

getBoolValueOrBuilder()

public abstract BoolValueOrBuilder getBoolValueOrBuilder()

A Boolean value.

.google.cloud.visionai.v1.BoolValue bool_value = 7;

Returns
Type Description
BoolValueOrBuilder

getDateTimeRangeArray()

public abstract DateTimeRangeArray getDateTimeRangeArray()

The datetime ranges associated with the field.

.google.cloud.visionai.v1.DateTimeRangeArray date_time_range_array = 5;

Returns
Type Description
DateTimeRangeArray

The dateTimeRangeArray.

getDateTimeRangeArrayOrBuilder()

public abstract DateTimeRangeArrayOrBuilder getDateTimeRangeArrayOrBuilder()

The datetime ranges associated with the field.

.google.cloud.visionai.v1.DateTimeRangeArray date_time_range_array = 5;

Returns
Type Description
DateTimeRangeArrayOrBuilder

getFetchMatchedAnnotations()

public abstract boolean getFetchMatchedAnnotations()

If true, return query matched annotations for this criteria. This option is only applicable for inclusion criteria, i.e., not exclusion criteria, with partition level annotations. It supports the following data types:

  • INTEGER
  • FLOAT
  • STRING (DataSchema.SearchStrategy.EXACT_SEARCH only)
  • BOOLEAN

bool fetch_matched_annotations = 8;

Returns
Type Description
boolean

The fetchMatchedAnnotations.

getField()

public abstract String getField()

The UGA field or ML field to apply filtering criteria.

string field = 1;

Returns
Type Description
String

The field.

getFieldBytes()

public abstract ByteString getFieldBytes()

The UGA field or ML field to apply filtering criteria.

string field = 1;

Returns
Type Description
ByteString

The bytes for field.

getFloatRangeArray()

public abstract FloatRangeArray getFloatRangeArray()

The float ranges associated with the field.

.google.cloud.visionai.v1.FloatRangeArray float_range_array = 4;

Returns
Type Description
FloatRangeArray

The floatRangeArray.

getFloatRangeArrayOrBuilder()

public abstract FloatRangeArrayOrBuilder getFloatRangeArrayOrBuilder()

The float ranges associated with the field.

.google.cloud.visionai.v1.FloatRangeArray float_range_array = 4;

Returns
Type Description
FloatRangeArrayOrBuilder

getGeoLocationArray()

public abstract GeoLocationArray getGeoLocationArray()

Geo Location array.

.google.cloud.visionai.v1.GeoLocationArray geo_location_array = 6;

Returns
Type Description
GeoLocationArray

The geoLocationArray.

getGeoLocationArrayOrBuilder()

public abstract GeoLocationArrayOrBuilder getGeoLocationArrayOrBuilder()

Geo Location array.

.google.cloud.visionai.v1.GeoLocationArray geo_location_array = 6;

Returns
Type Description
GeoLocationArrayOrBuilder

getIntRangeArray()

public abstract IntRangeArray getIntRangeArray()

The integer ranges associated with the field.

.google.cloud.visionai.v1.IntRangeArray int_range_array = 3;

Returns
Type Description
IntRangeArray

The intRangeArray.

getIntRangeArrayOrBuilder()

public abstract IntRangeArrayOrBuilder getIntRangeArrayOrBuilder()

The integer ranges associated with the field.

.google.cloud.visionai.v1.IntRangeArray int_range_array = 3;

Returns
Type Description
IntRangeArrayOrBuilder

getTextArray()

public abstract StringArray getTextArray()

The text values associated with the field.

.google.cloud.visionai.v1.StringArray text_array = 2;

Returns
Type Description
StringArray

The textArray.

getTextArrayOrBuilder()

public abstract StringArrayOrBuilder getTextArrayOrBuilder()

The text values associated with the field.

.google.cloud.visionai.v1.StringArray text_array = 2;

Returns
Type Description
StringArrayOrBuilder

getValueCase()

public abstract Criteria.ValueCase getValueCase()
Returns
Type Description
Criteria.ValueCase

hasBoolValue()

public abstract boolean hasBoolValue()

A Boolean value.

.google.cloud.visionai.v1.BoolValue bool_value = 7;

Returns
Type Description
boolean

Whether the boolValue field is set.

hasDateTimeRangeArray()

public abstract boolean hasDateTimeRangeArray()

The datetime ranges associated with the field.

.google.cloud.visionai.v1.DateTimeRangeArray date_time_range_array = 5;

Returns
Type Description
boolean

Whether the dateTimeRangeArray field is set.

hasFloatRangeArray()

public abstract boolean hasFloatRangeArray()

The float ranges associated with the field.

.google.cloud.visionai.v1.FloatRangeArray float_range_array = 4;

Returns
Type Description
boolean

Whether the floatRangeArray field is set.

hasGeoLocationArray()

public abstract boolean hasGeoLocationArray()

Geo Location array.

.google.cloud.visionai.v1.GeoLocationArray geo_location_array = 6;

Returns
Type Description
boolean

Whether the geoLocationArray field is set.

hasIntRangeArray()

public abstract boolean hasIntRangeArray()

The integer ranges associated with the field.

.google.cloud.visionai.v1.IntRangeArray int_range_array = 3;

Returns
Type Description
boolean

Whether the intRangeArray field is set.

hasTextArray()

public abstract boolean hasTextArray()

The text values associated with the field.

.google.cloud.visionai.v1.StringArray text_array = 2;

Returns
Type Description
boolean

Whether the textArray field is set.