Package com.google.cloud.visionai.v1
Class Criteria
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.visionai.v1.Criteria
- All Implemented Interfaces:
CriteriaOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Criteria
extends com.google.protobuf.GeneratedMessage
implements CriteriaOrBuilder
Filter criteria applied to current search results.Protobuf type
google.cloud.visionai.v1.Criteria- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classFilter criteria applied to current search results.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanA Boolean value.A Boolean value.The datetime ranges associated with the field.The datetime ranges associated with the field.static Criteriastatic final com.google.protobuf.Descriptors.DescriptorbooleanIf 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.com.google.protobuf.Parser<Criteria>intThe 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.inthashCode()booleanThe integer ranges associated with the field.booleanThe text values associated with the field.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Criteria.Builderstatic Criteria.BuildernewBuilder(Criteria prototype) protected Criteria.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static CriteriaparseDelimitedFrom(InputStream input) static CriteriaparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CriteriaparseFrom(byte[] data) static CriteriaparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CriteriaparseFrom(com.google.protobuf.ByteString data) static CriteriaparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CriteriaparseFrom(com.google.protobuf.CodedInputStream input) static CriteriaparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CriteriaparseFrom(InputStream input) static CriteriaparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CriteriaparseFrom(ByteBuffer data) static CriteriaparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Criteria>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TEXT_ARRAY_FIELD_NUMBER
public static final int TEXT_ARRAY_FIELD_NUMBER- See Also:
-
INT_RANGE_ARRAY_FIELD_NUMBER
public static final int INT_RANGE_ARRAY_FIELD_NUMBER- See Also:
-
FLOAT_RANGE_ARRAY_FIELD_NUMBER
public static final int FLOAT_RANGE_ARRAY_FIELD_NUMBER- See Also:
-
DATE_TIME_RANGE_ARRAY_FIELD_NUMBER
public static final int DATE_TIME_RANGE_ARRAY_FIELD_NUMBER- See Also:
-
GEO_LOCATION_ARRAY_FIELD_NUMBER
public static final int GEO_LOCATION_ARRAY_FIELD_NUMBER- See Also:
-
BOOL_VALUE_FIELD_NUMBER
public static final int BOOL_VALUE_FIELD_NUMBER- See Also:
-
FIELD_FIELD_NUMBER
public static final int FIELD_FIELD_NUMBER- See Also:
-
FETCH_MATCHED_ANNOTATIONS_FIELD_NUMBER
public static final int FETCH_MATCHED_ANNOTATIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getValueCase
- Specified by:
getValueCasein interfaceCriteriaOrBuilder
-
hasTextArray
public boolean hasTextArray()The text values associated with the field.
.google.cloud.visionai.v1.StringArray text_array = 2;- Specified by:
hasTextArrayin interfaceCriteriaOrBuilder- Returns:
- Whether the textArray field is set.
-
getTextArray
The text values associated with the field.
.google.cloud.visionai.v1.StringArray text_array = 2;- Specified by:
getTextArrayin interfaceCriteriaOrBuilder- Returns:
- The textArray.
-
getTextArrayOrBuilder
The text values associated with the field.
.google.cloud.visionai.v1.StringArray text_array = 2;- Specified by:
getTextArrayOrBuilderin interfaceCriteriaOrBuilder
-
hasIntRangeArray
public boolean hasIntRangeArray()The integer ranges associated with the field.
.google.cloud.visionai.v1.IntRangeArray int_range_array = 3;- Specified by:
hasIntRangeArrayin interfaceCriteriaOrBuilder- Returns:
- Whether the intRangeArray field is set.
-
getIntRangeArray
The integer ranges associated with the field.
.google.cloud.visionai.v1.IntRangeArray int_range_array = 3;- Specified by:
getIntRangeArrayin interfaceCriteriaOrBuilder- Returns:
- The intRangeArray.
-
getIntRangeArrayOrBuilder
The integer ranges associated with the field.
.google.cloud.visionai.v1.IntRangeArray int_range_array = 3;- Specified by:
getIntRangeArrayOrBuilderin interfaceCriteriaOrBuilder
-
hasFloatRangeArray
public boolean hasFloatRangeArray()The float ranges associated with the field.
.google.cloud.visionai.v1.FloatRangeArray float_range_array = 4;- Specified by:
hasFloatRangeArrayin interfaceCriteriaOrBuilder- Returns:
- Whether the floatRangeArray field is set.
-
getFloatRangeArray
The float ranges associated with the field.
.google.cloud.visionai.v1.FloatRangeArray float_range_array = 4;- Specified by:
getFloatRangeArrayin interfaceCriteriaOrBuilder- Returns:
- The floatRangeArray.
-
getFloatRangeArrayOrBuilder
The float ranges associated with the field.
.google.cloud.visionai.v1.FloatRangeArray float_range_array = 4;- Specified by:
getFloatRangeArrayOrBuilderin interfaceCriteriaOrBuilder
-
hasDateTimeRangeArray
public boolean hasDateTimeRangeArray()The datetime ranges associated with the field.
.google.cloud.visionai.v1.DateTimeRangeArray date_time_range_array = 5;- Specified by:
hasDateTimeRangeArrayin interfaceCriteriaOrBuilder- Returns:
- Whether the dateTimeRangeArray field is set.
-
getDateTimeRangeArray
The datetime ranges associated with the field.
.google.cloud.visionai.v1.DateTimeRangeArray date_time_range_array = 5;- Specified by:
getDateTimeRangeArrayin interfaceCriteriaOrBuilder- Returns:
- The dateTimeRangeArray.
-
getDateTimeRangeArrayOrBuilder
The datetime ranges associated with the field.
.google.cloud.visionai.v1.DateTimeRangeArray date_time_range_array = 5;- Specified by:
getDateTimeRangeArrayOrBuilderin interfaceCriteriaOrBuilder
-
hasGeoLocationArray
public boolean hasGeoLocationArray()Geo Location array.
.google.cloud.visionai.v1.GeoLocationArray geo_location_array = 6;- Specified by:
hasGeoLocationArrayin interfaceCriteriaOrBuilder- Returns:
- Whether the geoLocationArray field is set.
-
getGeoLocationArray
Geo Location array.
.google.cloud.visionai.v1.GeoLocationArray geo_location_array = 6;- Specified by:
getGeoLocationArrayin interfaceCriteriaOrBuilder- Returns:
- The geoLocationArray.
-
getGeoLocationArrayOrBuilder
Geo Location array.
.google.cloud.visionai.v1.GeoLocationArray geo_location_array = 6;- Specified by:
getGeoLocationArrayOrBuilderin interfaceCriteriaOrBuilder
-
hasBoolValue
public boolean hasBoolValue()A Boolean value.
.google.cloud.visionai.v1.BoolValue bool_value = 7;- Specified by:
hasBoolValuein interfaceCriteriaOrBuilder- Returns:
- Whether the boolValue field is set.
-
getBoolValue
A Boolean value.
.google.cloud.visionai.v1.BoolValue bool_value = 7;- Specified by:
getBoolValuein interfaceCriteriaOrBuilder- Returns:
- The boolValue.
-
getBoolValueOrBuilder
A Boolean value.
.google.cloud.visionai.v1.BoolValue bool_value = 7;- Specified by:
getBoolValueOrBuilderin interfaceCriteriaOrBuilder
-
getField
The UGA field or ML field to apply filtering criteria.
string field = 1;- Specified by:
getFieldin interfaceCriteriaOrBuilder- Returns:
- The field.
-
getFieldBytes
public com.google.protobuf.ByteString getFieldBytes()The UGA field or ML field to apply filtering criteria.
string field = 1;- Specified by:
getFieldBytesin interfaceCriteriaOrBuilder- Returns:
- The bytes for field.
-
getFetchMatchedAnnotations
public 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;- Specified by:
getFetchMatchedAnnotationsin interfaceCriteriaOrBuilder- Returns:
- The fetchMatchedAnnotations.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Criteria parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Criteria parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Criteria parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Criteria parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Criteria parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Criteria parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Criteria parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Criteria parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Criteria parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Criteria.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-