Send feedback
Class Tile (2.78.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class Tile extends GeneratedMessageV3 implements TileOrBuilder
This field specifies the tile information including an attribute key,
attribute value. More fields will be added in the future, eg: product id
or product counts, etc.
Protobuf type google.cloud.retail.v2.Tile
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
PRODUCT_ATTRIBUTE_INTERVAL_FIELD_NUMBER
public static final int PRODUCT_ATTRIBUTE_INTERVAL_FIELD_NUMBER
Field Value
Type
Description
int
PRODUCT_ATTRIBUTE_VALUE_FIELD_NUMBER
public static final int PRODUCT_ATTRIBUTE_VALUE_FIELD_NUMBER
Field Value
Type
Description
int
REPRESENTATIVE_PRODUCT_ID_FIELD_NUMBER
public static final int REPRESENTATIVE_PRODUCT_ID_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Tile getDefaultInstance ()
Returns
Type
Description
Tile
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Tile . Builder newBuilder ()
newBuilder(Tile prototype)
public static Tile . Builder newBuilder ( Tile prototype )
Parameter
Name
Description
prototype
Tile
public static Tile parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Tile
public static Tile parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tile
parseFrom(byte[] data)
public static Tile parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Tile
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Tile parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tile
parseFrom(ByteString data)
public static Tile parseFrom ( ByteString data )
Returns
Type
Description
Tile
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Tile parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tile
public static Tile parseFrom ( CodedInputStream input )
Returns
Type
Description
Tile
public static Tile parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tile
public static Tile parseFrom ( InputStream input )
Returns
Type
Description
Tile
public static Tile parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tile
parseFrom(ByteBuffer data)
public static Tile parseFrom ( ByteBuffer data )
Returns
Type
Description
Tile
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Tile parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Tile
parser()
public static Parser<Tile> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public Tile getDefaultInstanceForType ()
Returns
Type
Description
Tile
getParserForType()
public Parser<Tile> getParserForType ()
Overrides
getProductAttributeCase()
public Tile . ProductAttributeCase getProductAttributeCase ()
getProductAttributeInterval()
public ProductAttributeInterval getProductAttributeInterval ()
The product attribute key-numeric interval.
.google.cloud.retail.v2.ProductAttributeInterval product_attribute_interval = 2;
getProductAttributeIntervalOrBuilder()
public ProductAttributeIntervalOrBuilder getProductAttributeIntervalOrBuilder ()
The product attribute key-numeric interval.
.google.cloud.retail.v2.ProductAttributeInterval product_attribute_interval = 2;
getProductAttributeValue()
public ProductAttributeValue getProductAttributeValue ()
The product attribute key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 1;
getProductAttributeValueOrBuilder()
public ProductAttributeValueOrBuilder getProductAttributeValueOrBuilder ()
The product attribute key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 1;
getRepresentativeProductId()
public String getRepresentativeProductId ()
The representative product id for this tile.
string representative_product_id = 3;
Returns
Type
Description
String
The representativeProductId.
getRepresentativeProductIdBytes()
public ByteString getRepresentativeProductIdBytes ()
The representative product id for this tile.
string representative_product_id = 3;
Returns
Type
Description
ByteString
The bytes for representativeProductId.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasProductAttributeInterval()
public boolean hasProductAttributeInterval ()
The product attribute key-numeric interval.
.google.cloud.retail.v2.ProductAttributeInterval product_attribute_interval = 2;
Returns
Type
Description
boolean
Whether the productAttributeInterval field is set.
hasProductAttributeValue()
public boolean hasProductAttributeValue ()
The product attribute key-value.
.google.cloud.retail.v2.ProductAttributeValue product_attribute_value = 1;
Returns
Type
Description
boolean
Whether the productAttributeValue field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Tile . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Tile . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Tile . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]