Interface UpdateProductInputRequestOrBuilder (0.18.0)

public interface UpdateProductInputRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataSource()

public abstract String getDataSource()

Required. The primary or supplemental product data source where data_source name identifies the product input to be updated.

Only API data sources are supported.

Format: accounts/{account}/dataSources/{datasource}.

string data_source = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dataSource.

getDataSourceBytes()

public abstract ByteString getDataSourceBytes()

Required. The primary or supplemental product data source where data_source name identifies the product input to be updated.

Only API data sources are supported.

Format: accounts/{account}/dataSources/{datasource}.

string data_source = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dataSource.

getProductInput()

public abstract ProductInput getProductInput()

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

.google.shopping.merchant.products.v1beta.ProductInput product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductInput

The productInput.

getProductInputOrBuilder()

public abstract ProductInputOrBuilder getProductInputOrBuilder()

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

.google.shopping.merchant.products.v1beta.ProductInput product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProductInputOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Optional. The list of 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 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 product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The list of 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 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 product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasProductInput()

public abstract boolean hasProductInput()

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

.google.shopping.merchant.products.v1beta.ProductInput product_input = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the productInput field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Optional. The list of 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 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 product replacement is not supported.

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.