Class AutomaticItemUpdates.ItemUpdatesAccountLevelSettings (0.16.0)

public static final class AutomaticItemUpdates.ItemUpdatesAccountLevelSettings extends GeneratedMessageV3 implements AutomaticItemUpdates.ItemUpdatesAccountLevelSettingsOrBuilder

Settings for the Automatic Item Updates.

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

Inheritance

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

Static Fields

ALLOW_AVAILABILITY_UPDATES_FIELD_NUMBER

public static final int ALLOW_AVAILABILITY_UPDATES_FIELD_NUMBER
Field Value
Type Description
int

ALLOW_CONDITION_UPDATES_FIELD_NUMBER

public static final int ALLOW_CONDITION_UPDATES_FIELD_NUMBER
Field Value
Type Description
int

ALLOW_PRICE_UPDATES_FIELD_NUMBER

public static final int ALLOW_PRICE_UPDATES_FIELD_NUMBER
Field Value
Type Description
int

ALLOW_STRICT_AVAILABILITY_UPDATES_FIELD_NUMBER

public static final int ALLOW_STRICT_AVAILABILITY_UPDATES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings getDefaultInstance()
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings

getDescriptor()

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

newBuilder()

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder newBuilder()
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

newBuilder(AutomaticItemUpdates.ItemUpdatesAccountLevelSettings prototype)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder newBuilder(AutomaticItemUpdates.ItemUpdatesAccountLevelSettings prototype)
Parameter
Name Description
prototype AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

parseDelimitedFrom(InputStream input)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AutomaticItemUpdates.ItemUpdatesAccountLevelSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AutomaticItemUpdates.ItemUpdatesAccountLevelSettings> parser()
Returns
Type Description
Parser<ItemUpdatesAccountLevelSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<AutomaticItemUpdates.ItemUpdatesAccountLevelSettings> getParserForType()
Returns
Type Description
Parser<ItemUpdatesAccountLevelSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder newBuilderForType()
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder toBuilder()
Returns
Type Description
AutomaticItemUpdates.ItemUpdatesAccountLevelSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException