Class SearchResponse.TileNavigationResult (2.56.0)

public static final class SearchResponse.TileNavigationResult extends GeneratedMessageV3 implements SearchResponse.TileNavigationResultOrBuilder

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

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SearchResponse.TileNavigationResult

Static Fields

TILES_FIELD_NUMBER

public static final int TILES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchResponse.TileNavigationResult getDefaultInstance()
Returns
Type Description
SearchResponse.TileNavigationResult

getDescriptor()

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

newBuilder()

public static SearchResponse.TileNavigationResult.Builder newBuilder()
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

newBuilder(SearchResponse.TileNavigationResult prototype)

public static SearchResponse.TileNavigationResult.Builder newBuilder(SearchResponse.TileNavigationResult prototype)
Parameter
Name Description
prototype SearchResponse.TileNavigationResult
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

parseDelimitedFrom(InputStream input)

public static SearchResponse.TileNavigationResult parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.TileNavigationResult parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchResponse.TileNavigationResult parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.TileNavigationResult parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchResponse.TileNavigationResult parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.TileNavigationResult parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchResponse.TileNavigationResult parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.TileNavigationResult parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchResponse.TileNavigationResult parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.TileNavigationResult parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchResponse.TileNavigationResult parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchResponse.TileNavigationResult parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchResponse.TileNavigationResult
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchResponse.TileNavigationResult> parser()
Returns
Type Description
Parser<TileNavigationResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<SearchResponse.TileNavigationResult> getParserForType()
Returns
Type Description
Parser<TileNavigationResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.v2alpha.Tile tiles = 1;

Parameter
Name Description
index int
Returns
Type Description
Tile

getTilesCount()

public int getTilesCount()

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

repeated .google.cloud.retail.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.Tile tiles = 1;

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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchResponse.TileNavigationResult.Builder newBuilderForType()
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchResponse.TileNavigationResult.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchResponse.TileNavigationResult.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SearchResponse.TileNavigationResult.Builder toBuilder()
Returns
Type Description
SearchResponse.TileNavigationResult.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException