public static final class Tile.Builder extends GeneratedMessage.Builder<Tile.Builder> implements TileOrBuilderThis 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.v2beta.Tile
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Tile.BuilderImplements
TileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Tile build()| Returns | |
|---|---|
| Type | Description |
Tile |
|
buildPartial()
public Tile buildPartial()| Returns | |
|---|---|
| Type | Description |
Tile |
|
clear()
public Tile.Builder clear()| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
clearProductAttribute()
public Tile.Builder clearProductAttribute()| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
clearProductAttributeInterval()
public Tile.Builder clearProductAttributeInterval()The product attribute key-numeric interval.
.google.cloud.retail.v2beta.ProductAttributeInterval product_attribute_interval = 2;
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
clearProductAttributeValue()
public Tile.Builder clearProductAttributeValue()The product attribute key-value.
.google.cloud.retail.v2beta.ProductAttributeValue product_attribute_value = 1;
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
clearRepresentativeProductId()
public Tile.Builder clearRepresentativeProductId()The representative product id for this tile.
string representative_product_id = 3;
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Tile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Tile |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProductAttributeCase()
public Tile.ProductAttributeCase getProductAttributeCase()| Returns | |
|---|---|
| Type | Description |
Tile.ProductAttributeCase |
|
getProductAttributeInterval()
public ProductAttributeInterval getProductAttributeInterval()The product attribute key-numeric interval.
.google.cloud.retail.v2beta.ProductAttributeInterval product_attribute_interval = 2;
| Returns | |
|---|---|
| Type | Description |
ProductAttributeInterval |
The productAttributeInterval. |
getProductAttributeIntervalBuilder()
public ProductAttributeInterval.Builder getProductAttributeIntervalBuilder()The product attribute key-numeric interval.
.google.cloud.retail.v2beta.ProductAttributeInterval product_attribute_interval = 2;
| Returns | |
|---|---|
| Type | Description |
ProductAttributeInterval.Builder |
|
getProductAttributeIntervalOrBuilder()
public ProductAttributeIntervalOrBuilder getProductAttributeIntervalOrBuilder()The product attribute key-numeric interval.
.google.cloud.retail.v2beta.ProductAttributeInterval product_attribute_interval = 2;
| Returns | |
|---|---|
| Type | Description |
ProductAttributeIntervalOrBuilder |
|
getProductAttributeValue()
public ProductAttributeValue getProductAttributeValue()The product attribute key-value.
.google.cloud.retail.v2beta.ProductAttributeValue product_attribute_value = 1;
| Returns | |
|---|---|
| Type | Description |
ProductAttributeValue |
The productAttributeValue. |
getProductAttributeValueBuilder()
public ProductAttributeValue.Builder getProductAttributeValueBuilder()The product attribute key-value.
.google.cloud.retail.v2beta.ProductAttributeValue product_attribute_value = 1;
| Returns | |
|---|---|
| Type | Description |
ProductAttributeValue.Builder |
|
getProductAttributeValueOrBuilder()
public ProductAttributeValueOrBuilder getProductAttributeValueOrBuilder()The product attribute key-value.
.google.cloud.retail.v2beta.ProductAttributeValue product_attribute_value = 1;
| Returns | |
|---|---|
| Type | Description |
ProductAttributeValueOrBuilder |
|
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. |
hasProductAttributeInterval()
public boolean hasProductAttributeInterval()The product attribute key-numeric interval.
.google.cloud.retail.v2beta.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.v2beta.ProductAttributeValue product_attribute_value = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the productAttributeValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Tile other)
public Tile.Builder mergeFrom(Tile other)| Parameter | |
|---|---|
| Name | Description |
other |
Tile |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Tile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Tile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
mergeProductAttributeInterval(ProductAttributeInterval value)
public Tile.Builder mergeProductAttributeInterval(ProductAttributeInterval value)The product attribute key-numeric interval.
.google.cloud.retail.v2beta.ProductAttributeInterval product_attribute_interval = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ProductAttributeInterval |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
mergeProductAttributeValue(ProductAttributeValue value)
public Tile.Builder mergeProductAttributeValue(ProductAttributeValue value)The product attribute key-value.
.google.cloud.retail.v2beta.ProductAttributeValue product_attribute_value = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ProductAttributeValue |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
setProductAttributeInterval(ProductAttributeInterval value)
public Tile.Builder setProductAttributeInterval(ProductAttributeInterval value)The product attribute key-numeric interval.
.google.cloud.retail.v2beta.ProductAttributeInterval product_attribute_interval = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ProductAttributeInterval |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
setProductAttributeInterval(ProductAttributeInterval.Builder builderForValue)
public Tile.Builder setProductAttributeInterval(ProductAttributeInterval.Builder builderForValue)The product attribute key-numeric interval.
.google.cloud.retail.v2beta.ProductAttributeInterval product_attribute_interval = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProductAttributeInterval.Builder |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
setProductAttributeValue(ProductAttributeValue value)
public Tile.Builder setProductAttributeValue(ProductAttributeValue value)The product attribute key-value.
.google.cloud.retail.v2beta.ProductAttributeValue product_attribute_value = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ProductAttributeValue |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
setProductAttributeValue(ProductAttributeValue.Builder builderForValue)
public Tile.Builder setProductAttributeValue(ProductAttributeValue.Builder builderForValue)The product attribute key-value.
.google.cloud.retail.v2beta.ProductAttributeValue product_attribute_value = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProductAttributeValue.Builder |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
|
setRepresentativeProductId(String value)
public Tile.Builder setRepresentativeProductId(String value)The representative product id for this tile.
string representative_product_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe representativeProductId to set. |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
This builder for chaining. |
setRepresentativeProductIdBytes(ByteString value)
public Tile.Builder setRepresentativeProductIdBytes(ByteString value)The representative product id for this tile.
string representative_product_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for representativeProductId to set. |
| Returns | |
|---|---|
| Type | Description |
Tile.Builder |
This builder for chaining. |