Class SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder (0.43.0)

public static final class SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder extends GeneratedMessageV3.Builder<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder> implements SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpressionOrBuilder

Logical Or operator.

Protobuf type google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addAllExpressions(Iterable<? extends SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression> values)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder addAllExpressions(Iterable<? extends SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression> values)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression>
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder

addExpressions(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression value)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder addExpressions(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression value)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameter
Name Description
value SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder

addExpressions(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder builderForValue)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder addExpressions(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder builderForValue)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameter
Name Description
builderForValue SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder

addExpressions(int index, SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression value)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder addExpressions(int index, SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression value)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameters
Name Description
index int
value SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder

addExpressions(int index, SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder builderForValue)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder addExpressions(int index, SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder builderForValue)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameters
Name Description
index int
builderForValue SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder

addExpressionsBuilder()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder addExpressionsBuilder()

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder

addExpressionsBuilder(int index)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder addExpressionsBuilder(int index)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides

build()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression build()
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression

buildPartial()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression buildPartial()
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression

clear()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder clear()
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides

clearExpressions()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder clearExpressions()

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides

clone()

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder clone()
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpressions(int index)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression getExpressions(int index)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression

getExpressionsBuilder(int index)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder getExpressionsBuilder(int index)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder

getExpressionsBuilderList()

public List<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder> getExpressionsBuilderList()

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Returns
Type Description
List<Builder>

getExpressionsCount()

public int getExpressionsCount()

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Returns
Type Description
int

getExpressionsList()

public List<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression> getExpressionsList()

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Returns
Type Description
List<Expression>

getExpressionsOrBuilder(int index)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder getExpressionsOrBuilder(int index)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder

getExpressionsOrBuilderList()

public List<? extends SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder> getExpressionsOrBuilderList()

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.ExpressionOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression other)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder mergeFrom(SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression other)
Parameter
Name Description
other SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides

removeExpressions(int index)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder removeExpressions(int index)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder

setExpressions(int index, SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression value)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder setExpressions(int index, SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression value)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameters
Name Description
index int
value SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder

setExpressions(int index, SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder builderForValue)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder setExpressions(int index, SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder builderForValue)

The expressions that were ORed together.

repeated .google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression expressions = 1;

Parameters
Name Description
index int
builderForValue SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.Expression.Builder
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.OrExpression.Builder
Overrides