Class SearchResponse.TileNavigationResult.Builder (2.55.0)

public static final class SearchResponse.TileNavigationResult.Builder extends GeneratedMessageV3.Builder<SearchResponse.TileNavigationResult.Builder> implements SearchResponse.TileNavigationResultOrBuilder

This field specifies all related information for tile navigation that will be used in client side.

Protobuf type google.cloud.retail.v2beta.SearchResponse.TileNavigationResult

Static Methods

getDescriptor()

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

Methods

addAllTiles(Iterable<? extends Tile> values)

public SearchResponse.TileNavigationResult.Builder addAllTiles(Iterable<? extends Tile> values)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.retail.v2beta.Tile>
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTiles(Tile value)

public SearchResponse.TileNavigationResult.Builder addTiles(Tile value)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameter
Name Description
value Tile
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

addTiles(Tile.Builder builderForValue)

public SearchResponse.TileNavigationResult.Builder addTiles(Tile.Builder builderForValue)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameter
Name Description
builderForValue Tile.Builder
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

addTiles(int index, Tile value)

public SearchResponse.TileNavigationResult.Builder addTiles(int index, Tile value)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameters
Name Description
index int
value Tile
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

addTiles(int index, Tile.Builder builderForValue)

public SearchResponse.TileNavigationResult.Builder addTiles(int index, Tile.Builder builderForValue)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameters
Name Description
index int
builderForValue Tile.Builder
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

addTilesBuilder()

public Tile.Builder addTilesBuilder()

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Returns
Type Description
Tile.Builder

addTilesBuilder(int index)

public Tile.Builder addTilesBuilder(int index)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameter
Name Description
index int
Returns
Type Description
Tile.Builder

build()

public SearchResponse.TileNavigationResult build()
Returns
Type Description
SearchResponse.TileNavigationResult

buildPartial()

public SearchResponse.TileNavigationResult buildPartial()
Returns
Type Description
SearchResponse.TileNavigationResult

clear()

public SearchResponse.TileNavigationResult.Builder clear()
Returns
Type Description
SearchResponse.TileNavigationResult.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTiles()

public SearchResponse.TileNavigationResult.Builder clearTiles()

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Returns
Type Description
SearchResponse.TileNavigationResult.Builder

clone()

public SearchResponse.TileNavigationResult.Builder clone()
Returns
Type Description
SearchResponse.TileNavigationResult.Builder
Overrides

getDefaultInstanceForType()

public SearchResponse.TileNavigationResult getDefaultInstanceForType()
Returns
Type Description
SearchResponse.TileNavigationResult

getDescriptorForType()

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

getTiles(int index)

public Tile getTiles(int index)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameter
Name Description
index int
Returns
Type Description
Tile

getTilesBuilder(int index)

public Tile.Builder getTilesBuilder(int index)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameter
Name Description
index int
Returns
Type Description
Tile.Builder

getTilesBuilderList()

public List<Tile.Builder> getTilesBuilderList()

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Returns
Type Description
List<Builder>

getTilesCount()

public int getTilesCount()

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Returns
Type Description
int

getTilesList()

public List<Tile> getTilesList()

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Returns
Type Description
List<Tile>

getTilesOrBuilder(int index)

public TileOrBuilder getTilesOrBuilder(int index)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameter
Name Description
index int
Returns
Type Description
TileOrBuilder

getTilesOrBuilderList()

public List<? extends TileOrBuilder> getTilesOrBuilderList()

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchResponse.TileNavigationResult other)

public SearchResponse.TileNavigationResult.Builder mergeFrom(SearchResponse.TileNavigationResult other)
Parameter
Name Description
other SearchResponse.TileNavigationResult
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SearchResponse.TileNavigationResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SearchResponse.TileNavigationResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTiles(int index)

public SearchResponse.TileNavigationResult.Builder removeTiles(int index)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTiles(int index, Tile value)

public SearchResponse.TileNavigationResult.Builder setTiles(int index, Tile value)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameters
Name Description
index int
value Tile
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

setTiles(int index, Tile.Builder builderForValue)

public SearchResponse.TileNavigationResult.Builder setTiles(int index, Tile.Builder builderForValue)

The current tiles that are used for tile navigation, sorted by engagement.

repeated .google.cloud.retail.v2beta.Tile tiles = 1;

Parameters
Name Description
index int
builderForValue Tile.Builder
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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