Class SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
- All Implemented Interfaces:
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public static final class SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
extends com.google.protobuf.GeneratedMessage
implements SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder
The expression denoting the filter that was extracted from the input query.Protobuf type
google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe expression denoting the filter that was extracted from the input query.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 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 TypeMethodDescriptionbooleanLogical "And" compound operator connecting multiple expressions.Logical "And" compound operator connecting multiple expressions.static final com.google.protobuf.Descriptors.DescriptorSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraintGeolocation constraint expression.Geolocation constraint expression.Numerical constraint expression.Numerical constraint expression.Logical "Or" compound operator connecting multiple expressions.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpressionOrBuilderLogical "Or" compound operator connecting multiple expressions.com.google.protobuf.Parser<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression>intString constraint expression.String constraint expression.booleanLogical "And" compound operator connecting multiple expressions.booleanGeolocation constraint expression.inthashCode()booleanNumerical constraint expression.booleanLogical "Or" compound operator connecting multiple expressions.booleanString constraint expression.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builderstatic SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.BuildernewBuilder(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression prototype) protected SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression>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
-
STRING_CONSTRAINT_FIELD_NUMBER
public static final int STRING_CONSTRAINT_FIELD_NUMBER- See Also:
-
NUMBER_CONSTRAINT_FIELD_NUMBER
public static final int NUMBER_CONSTRAINT_FIELD_NUMBER- See Also:
-
GEOLOCATION_CONSTRAINT_FIELD_NUMBER
public static final int GEOLOCATION_CONSTRAINT_FIELD_NUMBER- See Also:
-
AND_EXPR_FIELD_NUMBER
public static final int AND_EXPR_FIELD_NUMBER- See Also:
-
OR_EXPR_FIELD_NUMBER
public static final int OR_EXPR_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
-
getExprCase
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.ExprCase getExprCase()- Specified by:
getExprCasein interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder
-
hasStringConstraint
public boolean hasStringConstraint()String constraint expression.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint string_constraint = 1;- Specified by:
hasStringConstraintin interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder- Returns:
- Whether the stringConstraint field is set.
-
getStringConstraint
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint getStringConstraint()String constraint expression.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint string_constraint = 1;- Specified by:
getStringConstraintin interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder- Returns:
- The stringConstraint.
-
getStringConstraintOrBuilder
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraintOrBuilder getStringConstraintOrBuilder()String constraint expression.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint string_constraint = 1; -
hasNumberConstraint
public boolean hasNumberConstraint()Numerical constraint expression.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint number_constraint = 2;- Specified by:
hasNumberConstraintin interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder- Returns:
- Whether the numberConstraint field is set.
-
getNumberConstraint
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint getNumberConstraint()Numerical constraint expression.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint number_constraint = 2;- Specified by:
getNumberConstraintin interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder- Returns:
- The numberConstraint.
-
getNumberConstraintOrBuilder
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraintOrBuilder getNumberConstraintOrBuilder()Numerical constraint expression.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint number_constraint = 2; -
hasGeolocationConstraint
public boolean hasGeolocationConstraint()Geolocation constraint expression.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint geolocation_constraint = 3;- Specified by:
hasGeolocationConstraintin interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder- Returns:
- Whether the geolocationConstraint field is set.
-
getGeolocationConstraint
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint getGeolocationConstraint()Geolocation constraint expression.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint geolocation_constraint = 3;- Specified by:
getGeolocationConstraintin interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder- Returns:
- The geolocationConstraint.
-
getGeolocationConstraintOrBuilder
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraintOrBuilder getGeolocationConstraintOrBuilder()Geolocation constraint expression.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint geolocation_constraint = 3; -
hasAndExpr
public boolean hasAndExpr()Logical "And" compound operator connecting multiple expressions.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression and_expr = 4;- Specified by:
hasAndExprin interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder- Returns:
- Whether the andExpr field is set.
-
getAndExpr
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression getAndExpr()Logical "And" compound operator connecting multiple expressions.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression and_expr = 4;- Specified by:
getAndExprin interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder- Returns:
- The andExpr.
-
getAndExprOrBuilder
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpressionOrBuilder getAndExprOrBuilder()Logical "And" compound operator connecting multiple expressions.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression and_expr = 4; -
hasOrExpr
public boolean hasOrExpr()Logical "Or" compound operator connecting multiple expressions.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression or_expr = 5;- Specified by:
hasOrExprin interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder- Returns:
- Whether the orExpr field is set.
-
getOrExpr
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression getOrExpr()Logical "Or" compound operator connecting multiple expressions.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression or_expr = 5;- Specified by:
getOrExprin interfaceSearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder- Returns:
- The orExpr.
-
getOrExprOrBuilder
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpressionOrBuilder getOrExprOrBuilder()Logical "Or" compound operator connecting multiple expressions.
.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression or_expr = 5; -
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 SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder newBuilderForType()- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder newBuilder() -
newBuilder
-
toBuilder
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder toBuilder()- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression getDefaultInstance() -
parser
public static com.google.protobuf.Parser<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression> parser() -
getParserForType
public com.google.protobuf.Parser<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-