Class AutomaticItemUpdates (0.16.0)

public final class AutomaticItemUpdates extends GeneratedMessageV3 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

Static Fields

ACCOUNT_ITEM_UPDATES_SETTINGS_FIELD_NUMBER

public static final int ACCOUNT_ITEM_UPDATES_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

EFFECTIVE_ALLOW_AVAILABILITY_UPDATES_FIELD_NUMBER

public static final int EFFECTIVE_ALLOW_AVAILABILITY_UPDATES_FIELD_NUMBER
Field Value
Type Description
int

EFFECTIVE_ALLOW_CONDITION_UPDATES_FIELD_NUMBER

public static final int EFFECTIVE_ALLOW_CONDITION_UPDATES_FIELD_NUMBER
Field Value
Type Description
int

EFFECTIVE_ALLOW_PRICE_UPDATES_FIELD_NUMBER

public static final int EFFECTIVE_ALLOW_PRICE_UPDATES_FIELD_NUMBER
Field Value
Type Description
int

EFFECTIVE_ALLOW_STRICT_AVAILABILITY_UPDATES_FIELD_NUMBER

public static final int EFFECTIVE_ALLOW_STRICT_AVAILABILITY_UPDATES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutomaticItemUpdates getDefaultInstance()
Returns
Type Description
AutomaticItemUpdates

getDescriptor()

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

newBuilder()

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

newBuilder(AutomaticItemUpdates prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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.

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.Builder newBuilderForType()
Returns
Type Description
AutomaticItemUpdates.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AutomaticItemUpdates.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AutomaticItemUpdates.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.Builder toBuilder()
Returns
Type Description
AutomaticItemUpdates.Builder

writeTo(CodedOutputStream output)

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