Class AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder (0.16.0)

public static final class AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder extends GeneratedMessageV3.Builder<AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder> implements AutomaticItemUpdates.ItemUpdatesAccountLevelSettingsOrBuilder

Settings for the Automatic Item Updates.

Protobuf type google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates.ItemUpdatesAccountLevelSettings

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder
Overrides

build()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings build()
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings

buildPartial()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings buildPartial()
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings

clear()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder clear()
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder
Overrides

clearAllowAvailabilityUpdates()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder clearAllowAvailabilityUpdates()

If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer's page. If additionally allow_strict_availability_updates field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.

optional bool allow_availability_updates = 2;

Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

This builder for chaining.

clearAllowConditionUpdates()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder clearAllowConditionUpdates()

If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.

optional bool allow_condition_updates = 4;

Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

This builder for chaining.

clearAllowPriceUpdates()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder clearAllowPriceUpdates()

If price updates are enabled, Google always updates the active price with the crawled information.

optional bool allow_price_updates = 1;

Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

This builder for chaining.

clearAllowStrictAvailabilityUpdates()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder clearAllowStrictAvailabilityUpdates()

If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also set allow_availability_updates.

optional bool allow_strict_availability_updates = 3;

Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder
Overrides

clone()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder clone()
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder
Overrides

getAllowAvailabilityUpdates()

public boolean getAllowAvailabilityUpdates()

If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer's page. If additionally allow_strict_availability_updates field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.

optional bool allow_availability_updates = 2;

Returns
Type Description
boolean

The allowAvailabilityUpdates.

getAllowConditionUpdates()

public boolean getAllowConditionUpdates()

If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.

optional bool allow_condition_updates = 4;

Returns
Type Description
boolean

The allowConditionUpdates.

getAllowPriceUpdates()

public boolean getAllowPriceUpdates()

If price updates are enabled, Google always updates the active price with the crawled information.

optional bool allow_price_updates = 1;

Returns
Type Description
boolean

The allowPriceUpdates.

getAllowStrictAvailabilityUpdates()

public boolean getAllowStrictAvailabilityUpdates()

If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also set allow_availability_updates.

optional bool allow_strict_availability_updates = 3;

Returns
Type Description
boolean

The allowStrictAvailabilityUpdates.

getDefaultInstanceForType()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings getDefaultInstanceForType()
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings

getDescriptorForType()

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

hasAllowAvailabilityUpdates()

public boolean hasAllowAvailabilityUpdates()

If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer's page. If additionally allow_strict_availability_updates field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.

optional bool allow_availability_updates = 2;

Returns
Type Description
boolean

Whether the allowAvailabilityUpdates field is set.

hasAllowConditionUpdates()

public boolean hasAllowConditionUpdates()

If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.

optional bool allow_condition_updates = 4;

Returns
Type Description
boolean

Whether the allowConditionUpdates field is set.

hasAllowPriceUpdates()

public boolean hasAllowPriceUpdates()

If price updates are enabled, Google always updates the active price with the crawled information.

optional bool allow_price_updates = 1;

Returns
Type Description
boolean

Whether the allowPriceUpdates field is set.

hasAllowStrictAvailabilityUpdates()

public boolean hasAllowStrictAvailabilityUpdates()

If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also set allow_availability_updates.

optional bool allow_strict_availability_updates = 3;

Returns
Type Description
boolean

Whether the allowStrictAvailabilityUpdates field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(AutomaticItemUpdates.ItemUpdatesAccountLevelSettings other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder
Overrides

setAllowAvailabilityUpdates(boolean value)

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder setAllowAvailabilityUpdates(boolean value)

If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer's page. If additionally allow_strict_availability_updates field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.

optional bool allow_availability_updates = 2;

Parameter
Name Description
value boolean

The allowAvailabilityUpdates to set.

Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

This builder for chaining.

setAllowConditionUpdates(boolean value)

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder setAllowConditionUpdates(boolean value)

If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.

optional bool allow_condition_updates = 4;

Parameter
Name Description
value boolean

The allowConditionUpdates to set.

Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

This builder for chaining.

setAllowPriceUpdates(boolean value)

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder setAllowPriceUpdates(boolean value)

If price updates are enabled, Google always updates the active price with the crawled information.

optional bool allow_price_updates = 1;

Parameter
Name Description
value boolean

The allowPriceUpdates to set.

Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

This builder for chaining.

setAllowStrictAvailabilityUpdates(boolean value)

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder setAllowStrictAvailabilityUpdates(boolean value)

If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are 'out of stock' on your website but 'in stock' on Shopping. Set this to true to also update items that are 'in stock' on your website, but 'out of stock' on Google Shopping. In order for this field to have an effect, you must also set allow_availability_updates.

optional bool allow_strict_availability_updates = 3;

Parameter
Name Description
value boolean

The allowStrictAvailabilityUpdates to set.

Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder
Overrides

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

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder
Overrides