Class CssProduct.Builder (0.7.0)

public static final class CssProduct.Builder extends GeneratedMessageV3.Builder<CssProduct.Builder> implements CssProductOrBuilder

The processed CSS Product(a.k.a Aggregate Offer internally).

Protobuf type google.shopping.css.v1.CssProduct

Implements

CssProductOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.shopping.type.CustomAttribute>
Returns
TypeDescription
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
NameDescription
valuecom.google.shopping.type.CustomAttribute
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.shopping.type.CustomAttribute.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.shopping.type.CustomAttribute
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.shopping.type.CustomAttribute.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
com.google.shopping.type.CustomAttribute.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CssProduct.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CssProduct.Builder
Overrides

build()

public CssProduct build()
Returns
TypeDescription
CssProduct

buildPartial()

public CssProduct buildPartial()
Returns
TypeDescription
CssProduct

clear()

public CssProduct.Builder clear()
Returns
TypeDescription
CssProduct.Builder
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CssProduct.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CssProduct.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CssProduct.Builder
Overrides

clearName()

public CssProduct.Builder clearName()

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

string name = 1;

Returns
TypeDescription
CssProduct.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CssProduct.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CssProduct.Builder
Overrides

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
TypeDescription
CssProduct.Builder

This builder for chaining.

clone()

public CssProduct.Builder clone()
Returns
TypeDescription
CssProduct.Builder
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.shopping.type.CustomAttributeOrBuilder>

getDefaultInstanceForType()

public CssProduct getDefaultInstanceForType()
Returns
TypeDescription
CssProduct

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeedLabel()

public String getFeedLabel()

Output only. The feed label for the product.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the cssProductStatus field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueAttributes
Returns
TypeDescription
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
NameDescription
valueCssProductStatus
Returns
TypeDescription
CssProduct.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CssProduct.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CssProduct.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CssProduct.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CssProduct.Builder
Overrides

mergeFrom(CssProduct other)

public CssProduct.Builder mergeFrom(CssProduct other)
Parameter
NameDescription
otherCssProduct
Returns
TypeDescription
CssProduct.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CssProduct.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CssProduct.Builder
Overrides

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueAttributes
Returns
TypeDescription
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
NameDescription
builderForValueAttributes.Builder
Returns
TypeDescription
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
NameDescription
valueString

The contentLanguage to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for contentLanguage to set.

Returns
TypeDescription
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
NameDescription
valueCssProductStatus
Returns
TypeDescription
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
NameDescription
builderForValueCssProductStatus.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuecom.google.shopping.type.CustomAttribute
Returns
TypeDescription
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
NameDescription
indexint
builderForValuecom.google.shopping.type.CustomAttribute.Builder
Returns
TypeDescription
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
NameDescription
valueString

The feedLabel to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for feedLabel to set.

Returns
TypeDescription
CssProduct.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CssProduct.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CssProduct.Builder
Overrides

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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The rawProvidedId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for rawProvidedId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CssProduct.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CssProduct.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CssProduct.Builder
Overrides