Class SearchRequest.TileNavigationSpec.Builder (2.55.0)

public static final class SearchRequest.TileNavigationSpec.Builder extends GeneratedMessageV3.Builder<SearchRequest.TileNavigationSpec.Builder> implements SearchRequest.TileNavigationSpecOrBuilder

This field specifies tile navigation related parameters.

Protobuf type google.cloud.retail.v2.SearchRequest.TileNavigationSpec

Static Methods

getDescriptor()

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

Methods

addAllAppliedTiles(Iterable<? extends Tile> values)

public SearchRequest.TileNavigationSpec.Builder addAllAppliedTiles(Iterable<? extends Tile> values)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.retail.v2.Tile>
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

addAppliedTiles(Tile value)

public SearchRequest.TileNavigationSpec.Builder addAppliedTiles(Tile value)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameter
Name Description
value Tile
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

addAppliedTiles(Tile.Builder builderForValue)

public SearchRequest.TileNavigationSpec.Builder addAppliedTiles(Tile.Builder builderForValue)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameter
Name Description
builderForValue Tile.Builder
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

addAppliedTiles(int index, Tile value)

public SearchRequest.TileNavigationSpec.Builder addAppliedTiles(int index, Tile value)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameters
Name Description
index int
value Tile
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

addAppliedTiles(int index, Tile.Builder builderForValue)

public SearchRequest.TileNavigationSpec.Builder addAppliedTiles(int index, Tile.Builder builderForValue)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameters
Name Description
index int
builderForValue Tile.Builder
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

addAppliedTilesBuilder()

public Tile.Builder addAppliedTilesBuilder()

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Returns
Type Description
Tile.Builder

addAppliedTilesBuilder(int index)

public Tile.Builder addAppliedTilesBuilder(int index)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameter
Name Description
index int
Returns
Type Description
Tile.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchRequest.TileNavigationSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides

build()

public SearchRequest.TileNavigationSpec build()
Returns
Type Description
SearchRequest.TileNavigationSpec

buildPartial()

public SearchRequest.TileNavigationSpec buildPartial()
Returns
Type Description
SearchRequest.TileNavigationSpec

clear()

public SearchRequest.TileNavigationSpec.Builder clear()
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides

clearAppliedTiles()

public SearchRequest.TileNavigationSpec.Builder clearAppliedTiles()

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public SearchRequest.TileNavigationSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchRequest.TileNavigationSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides

clearTileNavigationRequested()

public SearchRequest.TileNavigationSpec.Builder clearTileNavigationRequested()

This field specifies whether the customer would like to request tile navigation.

bool tile_navigation_requested = 1;

Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

This builder for chaining.

clone()

public SearchRequest.TileNavigationSpec.Builder clone()
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides

getAppliedTiles(int index)

public Tile getAppliedTiles(int index)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameter
Name Description
index int
Returns
Type Description
Tile

getAppliedTilesBuilder(int index)

public Tile.Builder getAppliedTilesBuilder(int index)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameter
Name Description
index int
Returns
Type Description
Tile.Builder

getAppliedTilesBuilderList()

public List<Tile.Builder> getAppliedTilesBuilderList()

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Returns
Type Description
List<Builder>

getAppliedTilesCount()

public int getAppliedTilesCount()

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Returns
Type Description
int

getAppliedTilesList()

public List<Tile> getAppliedTilesList()

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Returns
Type Description
List<Tile>

getAppliedTilesOrBuilder(int index)

public TileOrBuilder getAppliedTilesOrBuilder(int index)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameter
Name Description
index int
Returns
Type Description
TileOrBuilder

getAppliedTilesOrBuilderList()

public List<? extends TileOrBuilder> getAppliedTilesOrBuilderList()

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Returns
Type Description
List<? extends com.google.cloud.retail.v2.TileOrBuilder>

getDefaultInstanceForType()

public SearchRequest.TileNavigationSpec getDefaultInstanceForType()
Returns
Type Description
SearchRequest.TileNavigationSpec

getDescriptorForType()

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

getTileNavigationRequested()

public boolean getTileNavigationRequested()

This field specifies whether the customer would like to request tile navigation.

bool tile_navigation_requested = 1;

Returns
Type Description
boolean

The tileNavigationRequested.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchRequest.TileNavigationSpec other)

public SearchRequest.TileNavigationSpec.Builder mergeFrom(SearchRequest.TileNavigationSpec other)
Parameter
Name Description
other SearchRequest.TileNavigationSpec
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchRequest.TileNavigationSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SearchRequest.TileNavigationSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchRequest.TileNavigationSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides

removeAppliedTiles(int index)

public SearchRequest.TileNavigationSpec.Builder removeAppliedTiles(int index)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameter
Name Description
index int
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

setAppliedTiles(int index, Tile value)

public SearchRequest.TileNavigationSpec.Builder setAppliedTiles(int index, Tile value)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameters
Name Description
index int
value Tile
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

setAppliedTiles(int index, Tile.Builder builderForValue)

public SearchRequest.TileNavigationSpec.Builder setAppliedTiles(int index, Tile.Builder builderForValue)

This field specifies the tiles which are already clicked in client side. NOTE: This field is not being used for filtering search products. Client side should also put all the applied tiles in SearchRequest.filter.

repeated .google.cloud.retail.v2.Tile applied_tiles = 2;

Parameters
Name Description
index int
builderForValue Tile.Builder
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SearchRequest.TileNavigationSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides

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

public SearchRequest.TileNavigationSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides

setTileNavigationRequested(boolean value)

public SearchRequest.TileNavigationSpec.Builder setTileNavigationRequested(boolean value)

This field specifies whether the customer would like to request tile navigation.

bool tile_navigation_requested = 1;

Parameter
Name Description
value boolean

The tileNavigationRequested to set.

Returns
Type Description
SearchRequest.TileNavigationSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchRequest.TileNavigationSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SearchRequest.TileNavigationSpec.Builder
Overrides