# Interface CssProductOrBuilder (0.61.0)

0.61.0 (latest) 0.59.0 0.56.0 0.55.0 0.53.0 0.51.0 0.50.0 0.48.0 0.46.0 0.44.0 0.43.0 0.42.0 0.41.0 0.40.0 0.38.0 0.36.0 0.35.0 0.32.0 0.31.0 0.30.0 0.28.0 0.27.0 0.26.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.20.0 0.19.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface CssProductOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAttributes()

    public abstract Attributes getAttributes()

Output only. A list of product attributes.

`
.google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-css/latest/com.google.shopping.css.v1.Attributes` | The attributes. |

### getAttributesOrBuilder()

    public abstract AttributesOrBuilder getAttributesOrBuilder()

Output only. A list of product attributes.

`
.google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-css/latest/com.google.shopping.css.v1.AttributesOrBuilder` |   |

### getContentLanguage()

    public abstract String getContentLanguage()

Output only. The two-letter [ISO
639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the
product.

`string content_language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The contentLanguage. |

### getContentLanguageBytes()

    public abstract ByteString getContentLanguageBytes()

Output only. The two-letter [ISO
639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the
product.

`string content_language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for contentLanguage. |

### getCssProductStatus()

    public abstract CssProductStatus getCssProductStatus()

Output only. The status of a product, data validation issues, that is,
information about a product computed asynchronously.

`
.google.shopping.css.v1.CssProductStatus css_product_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-css/latest/com.google.shopping.css.v1.CssProductStatus` | The cssProductStatus. |

### getCssProductStatusOrBuilder()

    public abstract CssProductStatusOrBuilder getCssProductStatusOrBuilder()

Output only. The status of a product, data validation issues, that is,
information about a product computed asynchronously.

`
.google.shopping.css.v1.CssProductStatus css_product_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-css/latest/com.google.shopping.css.v1.CssProductStatusOrBuilder` |   |

### getCustomAttributes(int index)

    public abstract CustomAttribute getCustomAttributes(int index)

Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit 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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.shopping.type.CustomAttribute` |   |

### getCustomAttributesCount()

    public abstract int getCustomAttributesCount()

Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit 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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getCustomAttributesList()

    public abstract List<CustomAttribute> getCustomAttributesList()

Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit 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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<com.google.shopping.type.CustomAttribute>` |   |

### getCustomAttributesOrBuilder(int index)

    public abstract CustomAttributeOrBuilder getCustomAttributesOrBuilder(int index)

Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit 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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.shopping.type.CustomAttributeOrBuilder` |   |

### getCustomAttributesOrBuilderList()

    public abstract List<? extends CustomAttributeOrBuilder> getCustomAttributesOrBuilderList()

Output only. A list of custom (CSS-provided) attributes. It can also be
used to submit 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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.shopping.type.CustomAttributeOrBuilder>` |   |

### getFeedLabel()

    public abstract String getFeedLabel()

Output only. The feed label for the product.

`string feed_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The feedLabel. |

### getFeedLabelBytes()

    public abstract ByteString getFeedLabelBytes()

Output only. The feed label for the product.

`string feed_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for feedLabel. |

### getName()

    public abstract String getName()

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

`string name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

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

`string name = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getRawProvidedId()

    public abstract String getRawProvidedId()

Output only. Your unique raw identifier for the product.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The rawProvidedId. |

### getRawProvidedIdBytes()

    public abstract ByteString getRawProvidedIdBytes()

Output only. Your unique raw identifier for the product.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for rawProvidedId. |

### hasAttributes()

    public abstract boolean hasAttributes()

Output only. A list of product attributes.

`
.google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the attributes field is set. |

### hasCssProductStatus()

    public abstract boolean hasCssProductStatus()

Output only. The status of a product, data validation issues, that is,
information about a product computed asynchronously.

`
.google.shopping.css.v1.CssProductStatus css_product_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the cssProductStatus field is set. |