public static final class CssProduct.Builder extends GeneratedMessageV3.Builder<CssProduct.Builder> implements CssProductOrBuilderThe processed CSS Product.
 Protobuf type google.shopping.css.v1.CssProduct
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CssProduct.BuilderImplements
CssProductOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllCustomAttributes(Iterable<? extends CustomAttribute> values)
public CssProduct.Builder addAllCustomAttributes(Iterable<? extends CustomAttribute> values) 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 | 
values | 
        Iterable<? extends com.google.shopping.type.CustomAttribute> | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
addCustomAttributes(CustomAttribute value)
public CssProduct.Builder addCustomAttributes(CustomAttribute value) 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 | 
value | 
        com.google.shopping.type.CustomAttribute | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
addCustomAttributes(CustomAttribute.Builder builderForValue)
public CssProduct.Builder addCustomAttributes(CustomAttribute.Builder builderForValue) 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 | 
builderForValue | 
        com.google.shopping.type.CustomAttribute.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
addCustomAttributes(int index, CustomAttribute value)
public CssProduct.Builder addCustomAttributes(int index, CustomAttribute value) 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];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        com.google.shopping.type.CustomAttribute | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
addCustomAttributes(int index, CustomAttribute.Builder builderForValue)
public CssProduct.Builder addCustomAttributes(int index, CustomAttribute.Builder builderForValue) 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];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        com.google.shopping.type.CustomAttribute.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
addCustomAttributesBuilder()
public CustomAttribute.Builder addCustomAttributesBuilder() 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 | 
com.google.shopping.type.CustomAttribute.Builder | 
        |
addCustomAttributesBuilder(int index)
public CustomAttribute.Builder addCustomAttributesBuilder(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 | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
com.google.shopping.type.CustomAttribute.Builder | 
        |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CssProduct.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
build()
public CssProduct build()| Returns | |
|---|---|
| Type | Description | 
CssProduct | 
        |
buildPartial()
public CssProduct buildPartial()| Returns | |
|---|---|
| Type | Description | 
CssProduct | 
        |
clear()
public CssProduct.Builder clear()| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
clearAttributes()
public CssProduct.Builder clearAttributes()Output only. A list of product attributes.
 
 .google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
clearContentLanguage()
public CssProduct.Builder clearContentLanguage()Output only. The two-letter ISO 639-1 language code for the product.
 string content_language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
clearCssProductStatus()
public CssProduct.Builder clearCssProductStatus()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 | 
CssProduct.Builder | 
        |
clearCustomAttributes()
public CssProduct.Builder clearCustomAttributes() 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 | 
CssProduct.Builder | 
        |
clearFeedLabel()
public CssProduct.Builder clearFeedLabel()Output only. The feed label for the product.
 string feed_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public CssProduct.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
clearName()
public CssProduct.Builder clearName() The name of the CSS Product.
 Format:
 "accounts/{account}/cssProducts/{css_product}"
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public CssProduct.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
clearRawProvidedId()
public CssProduct.Builder clearRawProvidedId()Output only. Your unique raw identifier for the product.
 string raw_provided_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
clone()
public CssProduct.Builder clone()| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
getAttributes()
public 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 | 
Attributes | 
        The attributes.  | 
      
getAttributesBuilder()
public Attributes.Builder getAttributesBuilder()Output only. A list of product attributes.
 
 .google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Attributes.Builder | 
        |
getAttributesOrBuilder()
public 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 | 
AttributesOrBuilder | 
        |
getContentLanguage()
public String getContentLanguage()Output only. The two-letter ISO 639-1 language code for the product.
 string content_language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The contentLanguage.  | 
      
getContentLanguageBytes()
public ByteString getContentLanguageBytes()Output only. The two-letter ISO 639-1 language code for the product.
 string content_language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for contentLanguage.  | 
      
getCssProductStatus()
public 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 | 
CssProductStatus | 
        The cssProductStatus.  | 
      
getCssProductStatusBuilder()
public CssProductStatus.Builder getCssProductStatusBuilder()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 | 
CssProductStatus.Builder | 
        |
getCssProductStatusOrBuilder()
public 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 | 
CssProductStatusOrBuilder | 
        |
getCustomAttributes(int index)
public 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 | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
com.google.shopping.type.CustomAttribute | 
        |
getCustomAttributesBuilder(int index)
public CustomAttribute.Builder getCustomAttributesBuilder(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 | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
com.google.shopping.type.CustomAttribute.Builder | 
        |
getCustomAttributesBuilderList()
public List<CustomAttribute.Builder> getCustomAttributesBuilderList() 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 | 
List<com.google.shopping.type.CustomAttribute.Builder> | 
        |
getCustomAttributesCount()
public 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 | 
int | 
        |
getCustomAttributesList()
public 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 | 
List<com.google.shopping.type.CustomAttribute> | 
        |
getCustomAttributesOrBuilder(int index)
public 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 | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
com.google.shopping.type.CustomAttributeOrBuilder | 
        |
getCustomAttributesOrBuilderList()
public 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 | 
List<? extends com.google.shopping.type.CustomAttributeOrBuilder> | 
        |
getDefaultInstanceForType()
public CssProduct getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
CssProduct | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getFeedLabel()
public String getFeedLabel()Output only. The feed label for the product.
 string feed_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The feedLabel.  | 
      
getFeedLabelBytes()
public ByteString getFeedLabelBytes()Output only. The feed label for the product.
 string feed_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for feedLabel.  | 
      
getName()
public String getName() The name of the CSS Product.
 Format:
 "accounts/{account}/cssProducts/{css_product}"
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes() The name of the CSS Product.
 Format:
 "accounts/{account}/cssProducts/{css_product}"
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getRawProvidedId()
public 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 | 
String | 
        The rawProvidedId.  | 
      
getRawProvidedIdBytes()
public 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 | 
ByteString | 
        The bytes for rawProvidedId.  | 
      
hasAttributes()
public 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 | 
boolean | 
        Whether the attributes field is set.  | 
      
hasCssProductStatus()
public 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 | 
boolean | 
        Whether the cssProductStatus field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeAttributes(Attributes value)
public CssProduct.Builder mergeAttributes(Attributes value)Output only. A list of product attributes.
 
 .google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Attributes | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
mergeCssProductStatus(CssProductStatus value)
public CssProduct.Builder mergeCssProductStatus(CssProductStatus value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        CssProductStatus | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CssProduct.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public CssProduct.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
mergeFrom(CssProduct other)
public CssProduct.Builder mergeFrom(CssProduct other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        CssProduct | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CssProduct.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
removeCustomAttributes(int index)
public CssProduct.Builder removeCustomAttributes(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 | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
setAttributes(Attributes value)
public CssProduct.Builder setAttributes(Attributes value)Output only. A list of product attributes.
 
 .google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Attributes | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
setAttributes(Attributes.Builder builderForValue)
public CssProduct.Builder setAttributes(Attributes.Builder builderForValue)Output only. A list of product attributes.
 
 .google.shopping.css.v1.Attributes attributes = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Attributes.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
setContentLanguage(String value)
public CssProduct.Builder setContentLanguage(String value)Output only. The two-letter ISO 639-1 language code for the product.
 string content_language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe contentLanguage to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
setContentLanguageBytes(ByteString value)
public CssProduct.Builder setContentLanguageBytes(ByteString value)Output only. The two-letter ISO 639-1 language code for the product.
 string content_language = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for contentLanguage to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
setCssProductStatus(CssProductStatus value)
public CssProduct.Builder setCssProductStatus(CssProductStatus value)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];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        CssProductStatus | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
setCssProductStatus(CssProductStatus.Builder builderForValue)
public CssProduct.Builder setCssProductStatus(CssProductStatus.Builder builderForValue)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];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        CssProductStatus.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
setCustomAttributes(int index, CustomAttribute value)
public CssProduct.Builder setCustomAttributes(int index, CustomAttribute value) 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];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        com.google.shopping.type.CustomAttribute | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
setCustomAttributes(int index, CustomAttribute.Builder builderForValue)
public CssProduct.Builder setCustomAttributes(int index, CustomAttribute.Builder builderForValue) 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];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        com.google.shopping.type.CustomAttribute.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
setFeedLabel(String value)
public CssProduct.Builder setFeedLabel(String value)Output only. The feed label for the product.
 string feed_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe feedLabel to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
setFeedLabelBytes(ByteString value)
public CssProduct.Builder setFeedLabelBytes(ByteString value)Output only. The feed label for the product.
 string feed_label = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for feedLabel to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public CssProduct.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
setName(String value)
public CssProduct.Builder setName(String value) The name of the CSS Product.
 Format:
 "accounts/{account}/cssProducts/{css_product}"
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public CssProduct.Builder setNameBytes(ByteString value) The name of the CSS Product.
 Format:
 "accounts/{account}/cssProducts/{css_product}"
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
setRawProvidedId(String value)
public CssProduct.Builder setRawProvidedId(String value)Output only. Your unique raw identifier for the product.
 string raw_provided_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe rawProvidedId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
setRawProvidedIdBytes(ByteString value)
public CssProduct.Builder setRawProvidedIdBytes(ByteString value)Output only. Your unique raw identifier for the product.
 string raw_provided_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for rawProvidedId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CssProduct.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final CssProduct.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
CssProduct.Builder | 
        |