public static final class AutomaticItemUpdates.Builder extends GeneratedMessageV3.Builder<AutomaticItemUpdates.Builder> implements AutomaticItemUpdatesOrBuilder
Turning on item updates allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren't shown.
Protobuf type google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutomaticItemUpdates.BuilderImplements
AutomaticItemUpdatesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutomaticItemUpdates.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
build()
public AutomaticItemUpdates build()
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates |
buildPartial()
public AutomaticItemUpdates buildPartial()
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates |
clear()
public AutomaticItemUpdates.Builder clear()
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
clearAccountItemUpdatesSettings()
public AutomaticItemUpdates.Builder clearAccountItemUpdatesSettings()
Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
.google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings account_item_updates_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
clearEffectiveAllowAvailabilityUpdates()
public AutomaticItemUpdates.Builder clearEffectiveAllowAvailabilityUpdates()
Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_availability_updates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
This builder for chaining. |
clearEffectiveAllowConditionUpdates()
public AutomaticItemUpdates.Builder clearEffectiveAllowConditionUpdates()
Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_condition_updates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
This builder for chaining. |
clearEffectiveAllowPriceUpdates()
public AutomaticItemUpdates.Builder clearEffectiveAllowPriceUpdates()
Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_price_updates = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
This builder for chaining. |
clearEffectiveAllowStrictAvailabilityUpdates()
public AutomaticItemUpdates.Builder clearEffectiveAllowStrictAvailabilityUpdates()
Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_strict_availability_updates = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AutomaticItemUpdates.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutomaticItemUpdates.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
clone()
public AutomaticItemUpdates.Builder clone()
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
getAccountItemUpdatesSettings()
public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings getAccountItemUpdatesSettings()
Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
.google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings account_item_updates_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings |
The accountItemUpdatesSettings. |
getAccountItemUpdatesSettingsBuilder()
public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder getAccountItemUpdatesSettingsBuilder()
Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
.google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings account_item_updates_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder |
getAccountItemUpdatesSettingsOrBuilder()
public AutomaticItemUpdates.ItemUpdatesAccountLevelSettingsOrBuilder getAccountItemUpdatesSettingsOrBuilder()
Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
.google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings account_item_updates_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.ItemUpdatesAccountLevelSettingsOrBuilder |
getDefaultInstanceForType()
public AutomaticItemUpdates getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEffectiveAllowAvailabilityUpdates()
public boolean getEffectiveAllowAvailabilityUpdates()
Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_availability_updates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The effectiveAllowAvailabilityUpdates. |
getEffectiveAllowConditionUpdates()
public boolean getEffectiveAllowConditionUpdates()
Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_condition_updates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The effectiveAllowConditionUpdates. |
getEffectiveAllowPriceUpdates()
public boolean getEffectiveAllowPriceUpdates()
Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_price_updates = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The effectiveAllowPriceUpdates. |
getEffectiveAllowStrictAvailabilityUpdates()
public boolean getEffectiveAllowStrictAvailabilityUpdates()
Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_strict_availability_updates = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
The effectiveAllowStrictAvailabilityUpdates. |
hasAccountItemUpdatesSettings()
public boolean hasAccountItemUpdatesSettings()
Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
.google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings account_item_updates_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the accountItemUpdatesSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAccountItemUpdatesSettings(AutomaticItemUpdates.ItemUpdatesAccountLevelSettings value)
public AutomaticItemUpdates.Builder mergeAccountItemUpdatesSettings(AutomaticItemUpdates.ItemUpdatesAccountLevelSettings value)
Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
.google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings account_item_updates_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutomaticItemUpdates.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AutomaticItemUpdates.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
mergeFrom(AutomaticItemUpdates other)
public AutomaticItemUpdates.Builder mergeFrom(AutomaticItemUpdates other)
Parameter | |
---|---|
Name | Description |
other |
AutomaticItemUpdates |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutomaticItemUpdates.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
setAccountItemUpdatesSettings(AutomaticItemUpdates.ItemUpdatesAccountLevelSettings value)
public AutomaticItemUpdates.Builder setAccountItemUpdatesSettings(AutomaticItemUpdates.ItemUpdatesAccountLevelSettings value)
Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
.google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings account_item_updates_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
setAccountItemUpdatesSettings(AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder builderForValue)
public AutomaticItemUpdates.Builder setAccountItemUpdatesSettings(AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder builderForValue)
Optional. Determines which attributes of the items should be automatically updated. If this field is not present and provided in the update mask, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
.google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings account_item_updates_settings = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
setEffectiveAllowAvailabilityUpdates(boolean value)
public AutomaticItemUpdates.Builder setEffectiveAllowAvailabilityUpdates(boolean value)
Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_availability_updates = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The effectiveAllowAvailabilityUpdates to set. |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
This builder for chaining. |
setEffectiveAllowConditionUpdates(boolean value)
public AutomaticItemUpdates.Builder setEffectiveAllowConditionUpdates(boolean value)
Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_condition_updates = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The effectiveAllowConditionUpdates to set. |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
This builder for chaining. |
setEffectiveAllowPriceUpdates(boolean value)
public AutomaticItemUpdates.Builder setEffectiveAllowPriceUpdates(boolean value)
Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_price_updates = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The effectiveAllowPriceUpdates to set. |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
This builder for chaining. |
setEffectiveAllowStrictAvailabilityUpdates(boolean value)
public AutomaticItemUpdates.Builder setEffectiveAllowStrictAvailabilityUpdates(boolean value)
Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. The default value is true if no settings are present. Read-only.
bool effective_allow_strict_availability_updates = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
boolean The effectiveAllowStrictAvailabilityUpdates to set. |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AutomaticItemUpdates.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutomaticItemUpdates.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutomaticItemUpdates.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutomaticItemUpdates.Builder |