Interface ProductInfoOrBuilder (0.2.0)

public interface ProductInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsProductAttributes(String key)

public abstract boolean containsProductAttributes(String key)

Required. A mapping of all available product attributes. This may include title, description, brand, gender, color, size, etc.

map<string, string> product_attributes = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
key String
Returns
Type Description
boolean

getProductAttributes() (deprecated)

public abstract Map<String,String> getProductAttributes()
Returns
Type Description
Map<String,String>

getProductAttributesCount()

public abstract int getProductAttributesCount()

Required. A mapping of all available product attributes. This may include title, description, brand, gender, color, size, etc.

map<string, string> product_attributes = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getProductAttributesMap()

public abstract Map<String,String> getProductAttributesMap()

Required. A mapping of all available product attributes. This may include title, description, brand, gender, color, size, etc.

map<string, string> product_attributes = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Map<String,String>

getProductAttributesOrDefault(String key, String defaultValue)

public abstract String getProductAttributesOrDefault(String key, String defaultValue)

Required. A mapping of all available product attributes. This may include title, description, brand, gender, color, size, etc.

map<string, string> product_attributes = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getProductAttributesOrThrow(String key)

public abstract String getProductAttributesOrThrow(String key)

Required. A mapping of all available product attributes. This may include title, description, brand, gender, color, size, etc.

map<string, string> product_attributes = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
key String
Returns
Type Description
String

getProductImage()

public abstract Image getProductImage()

Optional. Image associated with the product.

optional .google.shopping.merchant.productstudio.v1alpha.Image product_image = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Image

The productImage.

getProductImageOrBuilder()

public abstract ImageOrBuilder getProductImageOrBuilder()

Optional. Image associated with the product.

optional .google.shopping.merchant.productstudio.v1alpha.Image product_image = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImageOrBuilder

hasProductImage()

public abstract boolean hasProductImage()

Optional. Image associated with the product.

optional .google.shopping.merchant.productstudio.v1alpha.Image product_image = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the productImage field is set.