Interface UnaryQueryOrBuilder (0.21.0)

public interface UnaryQueryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOp()

public abstract UnaryQuery.Operator getOp()

Required. The unary operator to apply.

.google.cloud.vectorsearch.v1beta.UnaryQuery.Operator op = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UnaryQuery.Operator

The op.

getOpValue()

public abstract int getOpValue()

Required. The unary operator to apply.

.google.cloud.vectorsearch.v1beta.UnaryQuery.Operator op = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for op.

getSubQuery()

public abstract StructuredQuery getSubQuery()

Required. The sub-query the operator is applied to.

.google.cloud.vectorsearch.v1beta.StructuredQuery sub_query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StructuredQuery

The subQuery.

getSubQueryOrBuilder()

public abstract StructuredQueryOrBuilder getSubQueryOrBuilder()

Required. The sub-query the operator is applied to.

.google.cloud.vectorsearch.v1beta.StructuredQuery sub_query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
StructuredQueryOrBuilder

hasSubQuery()

public abstract boolean hasSubQuery()

Required. The sub-query the operator is applied to.

.google.cloud.vectorsearch.v1beta.StructuredQuery sub_query = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the subQuery field is set.