public static final class UpdateCssProductInputRequest.Builder extends GeneratedMessageV3.Builder<UpdateCssProductInputRequest.Builder> implements UpdateCssProductInputRequestOrBuilder
Request message for the UpdateCssProductInput method.
Protobuf type google.shopping.css.v1.UpdateCssProductInputRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateCssProductInputRequest.BuilderImplements
UpdateCssProductInputRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCssProductInputRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateCssProductInputRequest.Builder |
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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public UpdateCssProductInputRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
UpdateCssProductInputRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCssProductInputRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
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 |
clone()
public UpdateCssProductInputRequest.Builder clone()
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 |
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateCssProductInputRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
UpdateCssProductInputRequest.Builder |
mergeFrom(UpdateCssProductInputRequest other)
public UpdateCssProductInputRequest.Builder mergeFrom(UpdateCssProductInputRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateCssProductInputRequest |
Returns | |
---|---|
Type | Description |
UpdateCssProductInputRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCssProductInputRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCssProductInputRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateCssProductInputRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCssProductInputRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UpdateCssProductInputRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCssProductInputRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |