Package com.google.cloud.visionai.v1
Interface CriteriaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Criteria,Criteria.Builder
@Generated
public interface CriteriaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA Boolean value.A Boolean value.The datetime ranges associated with the field.The datetime ranges associated with the field.booleanIf true, return query matched annotations for this criteria.getField()The UGA field or ML field to apply filtering criteria.com.google.protobuf.ByteStringThe UGA field or ML field to apply filtering criteria.The float ranges associated with the field.The float ranges associated with the field.Geo Location array.Geo Location array.The integer ranges associated with the field.The integer ranges associated with the field.The text values associated with the field.The text values associated with the field.booleanA Boolean value.booleanThe datetime ranges associated with the field.booleanThe float ranges associated with the field.booleanGeo Location array.booleanThe integer ranges associated with the field.booleanThe text values associated with the field.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
-
hasTextArray
boolean hasTextArray()The text values associated with the field.
.google.cloud.visionai.v1.StringArray text_array = 2;- Returns:
- Whether the textArray field is set.
-
getTextArray
StringArray getTextArray()The text values associated with the field.
.google.cloud.visionai.v1.StringArray text_array = 2;- Returns:
- The textArray.
-
getTextArrayOrBuilder
StringArrayOrBuilder getTextArrayOrBuilder()The text values associated with the field.
.google.cloud.visionai.v1.StringArray text_array = 2; -
hasIntRangeArray
boolean hasIntRangeArray()The integer ranges associated with the field.
.google.cloud.visionai.v1.IntRangeArray int_range_array = 3;- Returns:
- Whether the intRangeArray field is set.
-
getIntRangeArray
IntRangeArray getIntRangeArray()The integer ranges associated with the field.
.google.cloud.visionai.v1.IntRangeArray int_range_array = 3;- Returns:
- The intRangeArray.
-
getIntRangeArrayOrBuilder
IntRangeArrayOrBuilder getIntRangeArrayOrBuilder()The integer ranges associated with the field.
.google.cloud.visionai.v1.IntRangeArray int_range_array = 3; -
hasFloatRangeArray
boolean hasFloatRangeArray()The float ranges associated with the field.
.google.cloud.visionai.v1.FloatRangeArray float_range_array = 4;- Returns:
- Whether the floatRangeArray field is set.
-
getFloatRangeArray
FloatRangeArray getFloatRangeArray()The float ranges associated with the field.
.google.cloud.visionai.v1.FloatRangeArray float_range_array = 4;- Returns:
- The floatRangeArray.
-
getFloatRangeArrayOrBuilder
FloatRangeArrayOrBuilder getFloatRangeArrayOrBuilder()The float ranges associated with the field.
.google.cloud.visionai.v1.FloatRangeArray float_range_array = 4; -
hasDateTimeRangeArray
boolean hasDateTimeRangeArray()The datetime ranges associated with the field.
.google.cloud.visionai.v1.DateTimeRangeArray date_time_range_array = 5;- Returns:
- Whether the dateTimeRangeArray field is set.
-
getDateTimeRangeArray
DateTimeRangeArray getDateTimeRangeArray()The datetime ranges associated with the field.
.google.cloud.visionai.v1.DateTimeRangeArray date_time_range_array = 5;- Returns:
- The dateTimeRangeArray.
-
getDateTimeRangeArrayOrBuilder
DateTimeRangeArrayOrBuilder getDateTimeRangeArrayOrBuilder()The datetime ranges associated with the field.
.google.cloud.visionai.v1.DateTimeRangeArray date_time_range_array = 5; -
hasGeoLocationArray
boolean hasGeoLocationArray()Geo Location array.
.google.cloud.visionai.v1.GeoLocationArray geo_location_array = 6;- Returns:
- Whether the geoLocationArray field is set.
-
getGeoLocationArray
GeoLocationArray getGeoLocationArray()Geo Location array.
.google.cloud.visionai.v1.GeoLocationArray geo_location_array = 6;- Returns:
- The geoLocationArray.
-
getGeoLocationArrayOrBuilder
GeoLocationArrayOrBuilder getGeoLocationArrayOrBuilder()Geo Location array.
.google.cloud.visionai.v1.GeoLocationArray geo_location_array = 6; -
hasBoolValue
boolean hasBoolValue()A Boolean value.
.google.cloud.visionai.v1.BoolValue bool_value = 7;- Returns:
- Whether the boolValue field is set.
-
getBoolValue
BoolValue getBoolValue()A Boolean value.
.google.cloud.visionai.v1.BoolValue bool_value = 7;- Returns:
- The boolValue.
-
getBoolValueOrBuilder
BoolValueOrBuilder getBoolValueOrBuilder()A Boolean value.
.google.cloud.visionai.v1.BoolValue bool_value = 7; -
getField
String getField()The UGA field or ML field to apply filtering criteria.
string field = 1;- Returns:
- The field.
-
getFieldBytes
com.google.protobuf.ByteString getFieldBytes()The UGA field or ML field to apply filtering criteria.
string field = 1;- Returns:
- The bytes for field.
-
getFetchMatchedAnnotations
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:
- The fetchMatchedAnnotations.
-
getValueCase
Criteria.ValueCase getValueCase()
-