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.v2.SearchResponse.TileNavigationResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v2.Tile tiles = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.retail.v2.Tile>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchResponse.TileNavigationResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
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.v2.Tile tiles = 1;
Parameter |
Name |
Description |
value |
Tile
|
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.v2.Tile tiles = 1;
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.v2.Tile tiles = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Tile
|
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.v2.Tile tiles = 1;
addTilesBuilder()
public Tile.Builder addTilesBuilder()
The current tiles that are used for tile navigation, sorted by
engagement.
repeated .google.cloud.retail.v2.Tile tiles = 1;
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.v2.Tile tiles = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public SearchResponse.TileNavigationResult build()
buildPartial()
public SearchResponse.TileNavigationResult buildPartial()
clear()
public SearchResponse.TileNavigationResult.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchResponse.TileNavigationResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchResponse.TileNavigationResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTiles()
public SearchResponse.TileNavigationResult.Builder clearTiles()
The current tiles that are used for tile navigation, sorted by
engagement.
repeated .google.cloud.retail.v2.Tile tiles = 1;
clone()
public SearchResponse.TileNavigationResult.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchResponse.TileNavigationResult getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v2.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.v2.Tile tiles = 1;
Parameter |
Name |
Description |
index |
int
|
getTilesBuilderList()
public List<Tile.Builder> getTilesBuilderList()
The current tiles that are used for tile navigation, sorted by
engagement.
repeated .google.cloud.retail.v2.Tile tiles = 1;
getTilesCount()
public int getTilesCount()
The current tiles that are used for tile navigation, sorted by
engagement.
repeated .google.cloud.retail.v2.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.v2.Tile tiles = 1;
getTilesOrBuilder(int index)
public TileOrBuilder getTilesOrBuilder(int index)
The current tiles that are used for tile navigation, sorted by
engagement.
repeated .google.cloud.retail.v2.Tile tiles = 1;
Parameter |
Name |
Description |
index |
int
|
getTilesOrBuilderList()
public List<? extends TileOrBuilder> getTilesOrBuilderList()
The current tiles that are used for tile navigation, sorted by
engagement.
repeated .google.cloud.retail.v2.Tile tiles = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.retail.v2.TileOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchResponse.TileNavigationResult other)
public SearchResponse.TileNavigationResult.Builder mergeFrom(SearchResponse.TileNavigationResult other)
public SearchResponse.TileNavigationResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchResponse.TileNavigationResult.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchResponse.TileNavigationResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v2.Tile tiles = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public SearchResponse.TileNavigationResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchResponse.TileNavigationResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.v2.Tile tiles = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Tile
|
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.v2.Tile tiles = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchResponse.TileNavigationResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides