Class UpdateCssProductInputRequest.Builder (0.51.0)

public static final class UpdateCssProductInputRequest.Builder extends GeneratedMessage.Builder<UpdateCssProductInputRequest.Builder> implements UpdateCssProductInputRequestOrBuilder

Request message for the UpdateCssProductInput method.

Protobuf type google.shopping.css.v1.UpdateCssProductInputRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UpdateCssProductInputRequest build()
Returns
Type Description
UpdateCssProductInputRequest

buildPartial()

public UpdateCssProductInputRequest buildPartial()
Returns
Type Description
UpdateCssProductInputRequest

clear()

public UpdateCssProductInputRequest.Builder clear()
Returns
Type Description
UpdateCssProductInputRequest.Builder
Overrides

clearCssProductInput()

public UpdateCssProductInputRequest.Builder clearCssProductInput()

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateCssProductInputRequest.Builder

clearUpdateMask()

public UpdateCssProductInputRequest.Builder clearUpdateMask()

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateCssProductInputRequest.Builder

getCssProductInput()

public CssProductInput getCssProductInput()

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CssProductInput

The cssProductInput.

getCssProductInputBuilder()

public CssProductInput.Builder getCssProductInputBuilder()

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CssProductInput.Builder

getCssProductInputOrBuilder()

public CssProductInputOrBuilder getCssProductInputOrBuilder()

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CssProductInputOrBuilder

getDefaultInstanceForType()

public UpdateCssProductInputRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCssProductInputRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasCssProductInput()

public boolean hasCssProductInput()

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the cssProductInput field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCssProductInput(CssProductInput value)

public UpdateCssProductInputRequest.Builder mergeCssProductInput(CssProductInput value)

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CssProductInput
Returns
Type Description
UpdateCssProductInputRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateCssProductInputRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateCssProductInputRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateCssProductInputRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateCssProductInputRequest.Builder
Overrides

mergeFrom(UpdateCssProductInputRequest other)

public UpdateCssProductInputRequest.Builder mergeFrom(UpdateCssProductInputRequest other)
Parameter
Name Description
other UpdateCssProductInputRequest
Returns
Type Description
UpdateCssProductInputRequest.Builder

mergeUpdateMask(FieldMask value)

public UpdateCssProductInputRequest.Builder mergeUpdateMask(FieldMask value)

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCssProductInputRequest.Builder

setCssProductInput(CssProductInput value)

public UpdateCssProductInputRequest.Builder setCssProductInput(CssProductInput value)

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CssProductInput
Returns
Type Description
UpdateCssProductInputRequest.Builder

setCssProductInput(CssProductInput.Builder builderForValue)

public UpdateCssProductInputRequest.Builder setCssProductInput(CssProductInput.Builder builderForValue)

Required. The CSS product input resource to update. Information you submit will be applied to the processed CSS product as well.

.google.shopping.css.v1.CssProductInput css_product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CssProductInput.Builder
Returns
Type Description
UpdateCssProductInputRequest.Builder

setUpdateMask(FieldMask value)

public UpdateCssProductInputRequest.Builder setUpdateMask(FieldMask value)

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCssProductInputRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateCssProductInputRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The list of CSS product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the CSS product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full CSS product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateCssProductInputRequest.Builder