Class AutomaticImprovements (0.16.0)

public final class AutomaticImprovements extends GeneratedMessageV3 implements AutomaticImprovementsOrBuilder

Collection of information related to the automatic improvements of an account.

Protobuf type google.shopping.merchant.accounts.v1beta.AutomaticImprovements

Static Fields

IMAGE_IMPROVEMENTS_FIELD_NUMBER

public static final int IMAGE_IMPROVEMENTS_FIELD_NUMBER
Field Value
Type Description
int

ITEM_UPDATES_FIELD_NUMBER

public static final int ITEM_UPDATES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

SHIPPING_IMPROVEMENTS_FIELD_NUMBER

public static final int SHIPPING_IMPROVEMENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutomaticImprovements getDefaultInstance()
Returns
Type Description
AutomaticImprovements

getDescriptor()

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

newBuilder()

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

newBuilder(AutomaticImprovements prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AutomaticImprovements getDefaultInstanceForType()
Returns
Type Description
AutomaticImprovements

getImageImprovements()

public AutomaticImageImprovements getImageImprovements()

This improvement will attempt to automatically correct submitted images if they don't meet the image requirements, for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: Automatic image improvements This field is only updated (cleared) if provided in the update mask.

optional .google.shopping.merchant.accounts.v1beta.AutomaticImageImprovements image_improvements = 3;

Returns
Type Description
AutomaticImageImprovements

The imageImprovements.

getImageImprovementsOrBuilder()

public AutomaticImageImprovementsOrBuilder getImageImprovementsOrBuilder()

This improvement will attempt to automatically correct submitted images if they don't meet the image requirements, for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: Automatic image improvements This field is only updated (cleared) if provided in the update mask.

optional .google.shopping.merchant.accounts.v1beta.AutomaticImageImprovements image_improvements = 3;

Returns
Type Description
AutomaticImageImprovementsOrBuilder

getItemUpdates()

public AutomaticItemUpdates getItemUpdates()

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. This field is only updated (cleared) if provided in the update mask.

optional .google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates item_updates = 2;

Returns
Type Description
AutomaticItemUpdates

The itemUpdates.

getItemUpdatesOrBuilder()

public AutomaticItemUpdatesOrBuilder getItemUpdatesOrBuilder()

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. This field is only updated (cleared) if provided in the update mask.

optional .google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates item_updates = 2;

Returns
Type Description
AutomaticItemUpdatesOrBuilder

getName()

public String getName()

Identifier. The resource name of the automatic improvements. Format: accounts/{account}/automaticImprovements.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the automatic improvements. Format: accounts/{account}/automaticImprovements.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getShippingImprovements()

public AutomaticShippingImprovements getShippingImprovements()

Not available for MCAs accounts. By turning on automatic shipping improvements, you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors:

  • Delivery address of an order
  • Current handling time and shipping time settings
  • Estimated weekdays or business days
  • Parcel tracking data This field is only updated (cleared) if provided in the update mask.

optional .google.shopping.merchant.accounts.v1beta.AutomaticShippingImprovements shipping_improvements = 4;

Returns
Type Description
AutomaticShippingImprovements

The shippingImprovements.

getShippingImprovementsOrBuilder()

public AutomaticShippingImprovementsOrBuilder getShippingImprovementsOrBuilder()

Not available for MCAs accounts. By turning on automatic shipping improvements, you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors:

  • Delivery address of an order
  • Current handling time and shipping time settings
  • Estimated weekdays or business days
  • Parcel tracking data This field is only updated (cleared) if provided in the update mask.

optional .google.shopping.merchant.accounts.v1beta.AutomaticShippingImprovements shipping_improvements = 4;

Returns
Type Description
AutomaticShippingImprovementsOrBuilder

hasImageImprovements()

public boolean hasImageImprovements()

This improvement will attempt to automatically correct submitted images if they don't meet the image requirements, for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: Automatic image improvements This field is only updated (cleared) if provided in the update mask.

optional .google.shopping.merchant.accounts.v1beta.AutomaticImageImprovements image_improvements = 3;

Returns
Type Description
boolean

Whether the imageImprovements field is set.

hasItemUpdates()

public boolean hasItemUpdates()

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. This field is only updated (cleared) if provided in the update mask.

optional .google.shopping.merchant.accounts.v1beta.AutomaticItemUpdates item_updates = 2;

Returns
Type Description
boolean

Whether the itemUpdates field is set.

hasShippingImprovements()

public boolean hasShippingImprovements()

Not available for MCAs accounts. By turning on automatic shipping improvements, you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors:

  • Delivery address of an order
  • Current handling time and shipping time settings
  • Estimated weekdays or business days
  • Parcel tracking data This field is only updated (cleared) if provided in the update mask.

optional .google.shopping.merchant.accounts.v1beta.AutomaticShippingImprovements shipping_improvements = 4;

Returns
Type Description
boolean

Whether the shippingImprovements 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 AutomaticImprovements.Builder newBuilderForType()
Returns
Type Description
AutomaticImprovements.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public AutomaticImprovements.Builder toBuilder()
Returns
Type Description
AutomaticImprovements.Builder

writeTo(CodedOutputStream output)

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