Interface CssProductInputOrBuilder (0.9.0)

public interface CssProductInputOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttributes()

public abstract Attributes getAttributes()

A list of CSS Product attributes.

.google.shopping.css.v1.Attributes attributes = 7;

Returns
TypeDescription
Attributes

The attributes.

getAttributesOrBuilder()

public abstract AttributesOrBuilder getAttributesOrBuilder()

A list of CSS Product attributes.

.google.shopping.css.v1.Attributes attributes = 7;

Returns
TypeDescription
AttributesOrBuilder

getContentLanguage()

public abstract String getContentLanguage()

Required. The two-letter ISO 639-1 language code for the CSS Product.

string content_language = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The contentLanguage.

getContentLanguageBytes()

public abstract ByteString getContentLanguageBytes()

Required. The two-letter ISO 639-1 language code for the CSS Product.

string content_language = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for contentLanguage.

getCustomAttributes(int index)

public abstract CustomAttribute getCustomAttributes(int index)

A list of custom (CSS-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example: { "name": "size type", "value": "regular" }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.

repeated .google.shopping.type.CustomAttribute custom_attributes = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.shopping.type.CustomAttribute

getCustomAttributesCount()

public abstract int getCustomAttributesCount()

A list of custom (CSS-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example: { "name": "size type", "value": "regular" }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.

repeated .google.shopping.type.CustomAttribute custom_attributes = 8;

Returns
TypeDescription
int

getCustomAttributesList()

public abstract List<CustomAttribute> getCustomAttributesList()

A list of custom (CSS-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example: { "name": "size type", "value": "regular" }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.

repeated .google.shopping.type.CustomAttribute custom_attributes = 8;

Returns
TypeDescription
List<com.google.shopping.type.CustomAttribute>

getCustomAttributesOrBuilder(int index)

public abstract CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index)

A list of custom (CSS-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example: { "name": "size type", "value": "regular" }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.

repeated .google.shopping.type.CustomAttribute custom_attributes = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
com.google.shopping.type.CustomAttributeOrBuilder

getCustomAttributesOrBuilderList()

public abstract List<? extends CustomAttributeOrBuilder> getCustomAttributesOrBuilderList()

A list of custom (CSS-provided) attributes. It can also be used for submitting any attribute of the feed specification in its generic form (for example: { "name": "size type", "value": "regular" }). This is useful for submitting attributes not explicitly exposed by the API, such as additional attributes used for Buy on Google.

repeated .google.shopping.type.CustomAttribute custom_attributes = 8;

Returns
TypeDescription
List<? extends com.google.shopping.type.CustomAttributeOrBuilder>

getFeedLabel()

public abstract String getFeedLabel()

Required. The feed label for the CSS Product. Feed Label is synonymous to "target country" and hence should always be a valid region code. For example: 'DE' for Germany, 'FR' for France.

string feed_label = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The feedLabel.

getFeedLabelBytes()

public abstract ByteString getFeedLabelBytes()

Required. The feed label for the CSS Product. Feed Label is synonymous to "target country" and hence should always be a valid region code. For example: 'DE' for Germany, 'FR' for France.

string feed_label = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for feedLabel.

getFinalName()

public abstract String getFinalName()

Output only. The name of the processed CSS Product. Format: accounts/{account}/cssProducts/{css_product} "

string final_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The finalName.

getFinalNameBytes()

public abstract ByteString getFinalNameBytes()

Output only. The name of the processed CSS Product. Format: accounts/{account}/cssProducts/{css_product} "

string final_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for finalName.

getFreshnessTime()

public abstract Timestamp getFreshnessTime()

Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time.

This field must not be set to the future time.

If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time.

If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API.

If the operation is prevented, the aborted exception will be thrown.

.google.protobuf.Timestamp freshness_time = 6;

Returns
TypeDescription
Timestamp

The freshnessTime.

getFreshnessTimeOrBuilder()

public abstract TimestampOrBuilder getFreshnessTimeOrBuilder()

Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time.

This field must not be set to the future time.

If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time.

If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API.

If the operation is prevented, the aborted exception will be thrown.

.google.protobuf.Timestamp freshness_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getName()

public abstract String getName()

The name of the CSS Product input. Format: accounts/{account}/cssProductInputs/{css_product_input}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the CSS Product input. Format: accounts/{account}/cssProductInputs/{css_product_input}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getRawProvidedId()

public abstract String getRawProvidedId()

Required. Your unique identifier for the CSS Product. This is the same for the CSS Product input and processed CSS Product. We only allow ids with alphanumerics, underscores and dashes. See the products feed specification for details.

string raw_provided_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The rawProvidedId.

getRawProvidedIdBytes()

public abstract ByteString getRawProvidedIdBytes()

Required. Your unique identifier for the CSS Product. This is the same for the CSS Product input and processed CSS Product. We only allow ids with alphanumerics, underscores and dashes. See the products feed specification for details.

string raw_provided_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for rawProvidedId.

hasAttributes()

public abstract boolean hasAttributes()

A list of CSS Product attributes.

.google.shopping.css.v1.Attributes attributes = 7;

Returns
TypeDescription
boolean

Whether the attributes field is set.

hasFreshnessTime()

public abstract boolean hasFreshnessTime()

Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time.

This field must not be set to the future time.

If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time.

If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API.

If the operation is prevented, the aborted exception will be thrown.

.google.protobuf.Timestamp freshness_time = 6;

Returns
TypeDescription
boolean

Whether the freshnessTime field is set.