public static final class SearchRequest.TileNavigationSpec extends GeneratedMessageV3 implements SearchRequest.TileNavigationSpecOrBuilder
This field specifies tile navigation related parameters.
Protobuf type google.cloud.retail.v2.SearchRequest.TileNavigationSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
APPLIED_TILES_FIELD_NUMBER
public static final int APPLIED_TILES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TILE_NAVIGATION_REQUESTED_FIELD_NUMBER
public static final int TILE_NAVIGATION_REQUESTED_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SearchRequest.TileNavigationSpec getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SearchRequest.TileNavigationSpec.Builder newBuilder()
newBuilder(SearchRequest.TileNavigationSpec prototype)
public static SearchRequest.TileNavigationSpec.Builder newBuilder(SearchRequest.TileNavigationSpec prototype)
public static SearchRequest.TileNavigationSpec parseDelimitedFrom(InputStream input)
public static SearchRequest.TileNavigationSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SearchRequest.TileNavigationSpec parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.TileNavigationSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SearchRequest.TileNavigationSpec parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.TileNavigationSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.TileNavigationSpec parseFrom(CodedInputStream input)
public static SearchRequest.TileNavigationSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.TileNavigationSpec parseFrom(InputStream input)
public static SearchRequest.TileNavigationSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SearchRequest.TileNavigationSpec parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchRequest.TileNavigationSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SearchRequest.TileNavigationSpec> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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 |
|
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;
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
|
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()
getParserForType()
public Parser<SearchRequest.TileNavigationSpec> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SearchRequest.TileNavigationSpec.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchRequest.TileNavigationSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public SearchRequest.TileNavigationSpec.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides