Class SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression (0.50.0)

public static final class SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression extends GeneratedMessageV3 implements SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder

The expression denoting the filter that was extracted from the input query.

Protobuf type google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression

Static Fields

AND_EXPR_FIELD_NUMBER

public static final int AND_EXPR_FIELD_NUMBER
Field Value
Type Description
int

GEOLOCATION_CONSTRAINT_FIELD_NUMBER

public static final int GEOLOCATION_CONSTRAINT_FIELD_NUMBER
Field Value
Type Description
int

NUMBER_CONSTRAINT_FIELD_NUMBER

public static final int NUMBER_CONSTRAINT_FIELD_NUMBER
Field Value
Type Description
int

OR_EXPR_FIELD_NUMBER

public static final int OR_EXPR_FIELD_NUMBER
Field Value
Type Description
int

STRING_CONSTRAINT_FIELD_NUMBER

public static final int STRING_CONSTRAINT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression getDefaultInstance()
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder newBuilder()
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder

newBuilder(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression prototype)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder newBuilder(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression prototype)
Parameter
Name Description
prototype SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder

parseDelimitedFrom(InputStream input)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression> parser()
Returns
Type Description
Parser<Expression>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAndExpr()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression getAndExpr()

Logical "And" compound operator connecting multiple expressions.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression and_expr = 4;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression

The andExpr.

getAndExprOrBuilder()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpressionOrBuilder getAndExprOrBuilder()

Logical "And" compound operator connecting multiple expressions.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression and_expr = 4;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpressionOrBuilder

getDefaultInstanceForType()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression getDefaultInstanceForType()
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression

getExprCase()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.ExprCase getExprCase()
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.ExprCase

getGeolocationConstraint()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint getGeolocationConstraint()

Geolocation constraint expression.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint geolocation_constraint = 3;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint

The geolocationConstraint.

getGeolocationConstraintOrBuilder()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraintOrBuilder getGeolocationConstraintOrBuilder()

Geolocation constraint expression.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint geolocation_constraint = 3;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraintOrBuilder

getNumberConstraint()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint getNumberConstraint()

Numerical constraint expression.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint number_constraint = 2;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint

The numberConstraint.

getNumberConstraintOrBuilder()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraintOrBuilder getNumberConstraintOrBuilder()

Numerical constraint expression.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint number_constraint = 2;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraintOrBuilder

getOrExpr()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression getOrExpr()

Logical "Or" compound operator connecting multiple expressions.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression or_expr = 5;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression

The orExpr.

getOrExprOrBuilder()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpressionOrBuilder getOrExprOrBuilder()

Logical "Or" compound operator connecting multiple expressions.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression or_expr = 5;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpressionOrBuilder

getParserForType()

public Parser<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression> getParserForType()
Returns
Type Description
Parser<Expression>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStringConstraint()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint getStringConstraint()

String constraint expression.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint string_constraint = 1;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint

The stringConstraint.

getStringConstraintOrBuilder()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraintOrBuilder getStringConstraintOrBuilder()

String constraint expression.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint string_constraint = 1;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraintOrBuilder

hasAndExpr()

public boolean hasAndExpr()

Logical "And" compound operator connecting multiple expressions.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.AndExpression and_expr = 4;

Returns
Type Description
boolean

Whether the andExpr field is set.

hasGeolocationConstraint()

public boolean hasGeolocationConstraint()

Geolocation constraint expression.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraint geolocation_constraint = 3;

Returns
Type Description
boolean

Whether the geolocationConstraint field is set.

hasNumberConstraint()

public boolean hasNumberConstraint()

Numerical constraint expression.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint number_constraint = 2;

Returns
Type Description
boolean

Whether the numberConstraint field is set.

hasOrExpr()

public boolean hasOrExpr()

Logical "Or" compound operator connecting multiple expressions.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression or_expr = 5;

Returns
Type Description
boolean

Whether the orExpr field is set.

hasStringConstraint()

public boolean hasStringConstraint()

String constraint expression.

.google.cloud.discoveryengine.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.StringConstraint string_constraint = 1;

Returns
Type Description
boolean

Whether the stringConstraint field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder newBuilderForType()
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder toBuilder()
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException