Class CssProductInput.Builder (0.3.0)

public static final class CssProductInput.Builder extends GeneratedMessageV3.Builder<CssProductInput.Builder> implements CssProductInputOrBuilder

This resource represents input data you submit for a CSS Product, not the processed CSS Product that you see in CSS Center, in Shopping Ads, or across Google surfaces.

Protobuf type google.shopping.css.v1.CssProductInput

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllCustomAttributes(Iterable<? extends CustomAttribute> values)

public CssProductInput.Builder addAllCustomAttributes(Iterable<? extends CustomAttribute> values)

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
valuesIterable<? extends com.google.shopping.type.CustomAttribute>
Returns
TypeDescription
CssProductInput.Builder

addCustomAttributes(CustomAttribute value)

public CssProductInput.Builder addCustomAttributes(CustomAttribute value)

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
valueCustomAttribute
Returns
TypeDescription
CssProductInput.Builder

addCustomAttributes(CustomAttribute.Builder builderForValue)

public CssProductInput.Builder addCustomAttributes(CustomAttribute.Builder builderForValue)

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
builderForValueCustomAttribute.Builder
Returns
TypeDescription
CssProductInput.Builder

addCustomAttributes(int index, CustomAttribute value)

public CssProductInput.Builder addCustomAttributes(int index, CustomAttribute value)

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;

Parameters
NameDescription
indexint
valueCustomAttribute
Returns
TypeDescription
CssProductInput.Builder

addCustomAttributes(int index, CustomAttribute.Builder builderForValue)

public CssProductInput.Builder addCustomAttributes(int index, CustomAttribute.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueCustomAttribute.Builder
Returns
TypeDescription
CssProductInput.Builder

addCustomAttributesBuilder()

public CustomAttribute.Builder addCustomAttributesBuilder()

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
CustomAttribute.Builder

addCustomAttributesBuilder(int index)

public CustomAttribute.Builder addCustomAttributesBuilder(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
CustomAttribute.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CssProductInput build()
Returns
TypeDescription
CssProductInput

buildPartial()

public CssProductInput buildPartial()
Returns
TypeDescription
CssProductInput

clear()

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

clearAttributes()

public CssProductInput.Builder clearAttributes()

A list of CSS Product attributes.

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

Returns
TypeDescription
CssProductInput.Builder

clearContentLanguage()

public CssProductInput.Builder clearContentLanguage()

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

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

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

clearCustomAttributes()

public CssProductInput.Builder clearCustomAttributes()

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
CssProductInput.Builder

clearFeedLabel()

public CssProductInput.Builder clearFeedLabel()

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
CssProductInput.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFinalName()

public CssProductInput.Builder clearFinalName()

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
CssProductInput.Builder

This builder for chaining.

clearFreshnessTime()

public CssProductInput.Builder clearFreshnessTime()

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
CssProductInput.Builder

clearName()

public CssProductInput.Builder clearName()

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

string name = 1;

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRawProvidedId()

public CssProductInput.Builder clearRawProvidedId()

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
CssProductInput.Builder

This builder for chaining.

clone()

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

getAttributes()

public Attributes getAttributes()

A list of CSS Product attributes.

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

Returns
TypeDescription
Attributes

The attributes.

getAttributesBuilder()

public Attributes.Builder getAttributesBuilder()

A list of CSS Product attributes.

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

Returns
TypeDescription
Attributes.Builder

getAttributesOrBuilder()

public AttributesOrBuilder getAttributesOrBuilder()

A list of CSS Product attributes.

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

Returns
TypeDescription
AttributesOrBuilder

getContentLanguage()

public 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 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 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
CustomAttribute

getCustomAttributesBuilder(int index)

public CustomAttribute.Builder getCustomAttributesBuilder(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
CustomAttribute.Builder

getCustomAttributesBuilderList()

public List<CustomAttribute.Builder> getCustomAttributesBuilderList()

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<Builder>

getCustomAttributesCount()

public 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 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<CustomAttribute>

getCustomAttributesOrBuilder(int index)

public 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
CustomAttributeOrBuilder

getCustomAttributesOrBuilderList()

public 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>

getDefaultInstanceForType()

public CssProductInput getDefaultInstanceForType()
Returns
TypeDescription
CssProductInput

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFeedLabel()

public 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 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 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 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 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.

getFreshnessTimeBuilder()

public Timestamp.Builder getFreshnessTimeBuilder()

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
Builder

getFreshnessTimeOrBuilder()

public 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 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 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 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 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 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 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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAttributes(Attributes value)

public CssProductInput.Builder mergeAttributes(Attributes value)

A list of CSS Product attributes.

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

Parameter
NameDescription
valueAttributes
Returns
TypeDescription
CssProductInput.Builder

mergeFreshnessTime(Timestamp value)

public CssProductInput.Builder mergeFreshnessTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CssProductInput.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(CssProductInput other)

public CssProductInput.Builder mergeFrom(CssProductInput other)
Parameter
NameDescription
otherCssProductInput
Returns
TypeDescription
CssProductInput.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeCustomAttributes(int index)

public CssProductInput.Builder removeCustomAttributes(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
CssProductInput.Builder

setAttributes(Attributes value)

public CssProductInput.Builder setAttributes(Attributes value)

A list of CSS Product attributes.

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

Parameter
NameDescription
valueAttributes
Returns
TypeDescription
CssProductInput.Builder

setAttributes(Attributes.Builder builderForValue)

public CssProductInput.Builder setAttributes(Attributes.Builder builderForValue)

A list of CSS Product attributes.

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

Parameter
NameDescription
builderForValueAttributes.Builder
Returns
TypeDescription
CssProductInput.Builder

setContentLanguage(String value)

public CssProductInput.Builder setContentLanguage(String value)

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

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

Parameter
NameDescription
valueString

The contentLanguage to set.

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

setContentLanguageBytes(ByteString value)

public CssProductInput.Builder setContentLanguageBytes(ByteString value)

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

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

Parameter
NameDescription
valueByteString

The bytes for contentLanguage to set.

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

setCustomAttributes(int index, CustomAttribute value)

public CssProductInput.Builder setCustomAttributes(int index, CustomAttribute value)

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;

Parameters
NameDescription
indexint
valueCustomAttribute
Returns
TypeDescription
CssProductInput.Builder

setCustomAttributes(int index, CustomAttribute.Builder builderForValue)

public CssProductInput.Builder setCustomAttributes(int index, CustomAttribute.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueCustomAttribute.Builder
Returns
TypeDescription
CssProductInput.Builder

setFeedLabel(String value)

public CssProductInput.Builder setFeedLabel(String value)

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];

Parameter
NameDescription
valueString

The feedLabel to set.

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

setFeedLabelBytes(ByteString value)

public CssProductInput.Builder setFeedLabelBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for feedLabel to set.

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFinalName(String value)

public CssProductInput.Builder setFinalName(String value)

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];

Parameter
NameDescription
valueString

The finalName to set.

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

setFinalNameBytes(ByteString value)

public CssProductInput.Builder setFinalNameBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for finalName to set.

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

setFreshnessTime(Timestamp value)

public CssProductInput.Builder setFreshnessTime(Timestamp value)

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CssProductInput.Builder

setFreshnessTime(Timestamp.Builder builderForValue)

public CssProductInput.Builder setFreshnessTime(Timestamp.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CssProductInput.Builder

setName(String value)

public CssProductInput.Builder setName(String value)

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

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CssProductInput.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

setRawProvidedId(String value)

public CssProductInput.Builder setRawProvidedId(String value)

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];

Parameter
NameDescription
valueString

The rawProvidedId to set.

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

setRawProvidedIdBytes(ByteString value)

public CssProductInput.Builder setRawProvidedIdBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for rawProvidedId to set.

Returns
TypeDescription
CssProductInput.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CssProductInput.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CssProductInput.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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