Class AutomaticImprovements.Builder (0.16.0)

public static final class AutomaticImprovements.Builder extends GeneratedMessageV3.Builder<AutomaticImprovements.Builder> implements AutomaticImprovementsOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AutomaticImprovements build()
Returns
Type Description
AutomaticImprovements

buildPartial()

public AutomaticImprovements buildPartial()
Returns
Type Description
AutomaticImprovements

clear()

public AutomaticImprovements.Builder clear()
Returns
Type Description
AutomaticImprovements.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearImageImprovements()

public AutomaticImprovements.Builder clearImageImprovements()

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
AutomaticImprovements.Builder

clearItemUpdates()

public AutomaticImprovements.Builder clearItemUpdates()

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
AutomaticImprovements.Builder

clearName()

public AutomaticImprovements.Builder clearName()

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

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

Returns
Type Description
AutomaticImprovements.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearShippingImprovements()

public AutomaticImprovements.Builder clearShippingImprovements()

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
AutomaticImprovements.Builder

clone()

public AutomaticImprovements.Builder clone()
Returns
Type Description
AutomaticImprovements.Builder
Overrides

getDefaultInstanceForType()

public AutomaticImprovements getDefaultInstanceForType()
Returns
Type Description
AutomaticImprovements

getDescriptorForType()

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

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.

getImageImprovementsBuilder()

public AutomaticImageImprovements.Builder getImageImprovementsBuilder()

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.Builder

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.

getItemUpdatesBuilder()

public AutomaticItemUpdates.Builder getItemUpdatesBuilder()

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.Builder

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.

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.

getShippingImprovementsBuilder()

public AutomaticShippingImprovements.Builder getShippingImprovementsBuilder()

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.Builder

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.

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 AutomaticImprovements.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomaticImprovements.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(AutomaticImprovements other)

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

mergeImageImprovements(AutomaticImageImprovements value)

public AutomaticImprovements.Builder mergeImageImprovements(AutomaticImageImprovements value)

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;

Parameter
Name Description
value AutomaticImageImprovements
Returns
Type Description
AutomaticImprovements.Builder

mergeItemUpdates(AutomaticItemUpdates value)

public AutomaticImprovements.Builder mergeItemUpdates(AutomaticItemUpdates value)

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;

Parameter
Name Description
value AutomaticItemUpdates
Returns
Type Description
AutomaticImprovements.Builder

mergeShippingImprovements(AutomaticShippingImprovements value)

public AutomaticImprovements.Builder mergeShippingImprovements(AutomaticShippingImprovements value)

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;

Parameter
Name Description
value AutomaticShippingImprovements
Returns
Type Description
AutomaticImprovements.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setImageImprovements(AutomaticImageImprovements value)

public AutomaticImprovements.Builder setImageImprovements(AutomaticImageImprovements value)

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;

Parameter
Name Description
value AutomaticImageImprovements
Returns
Type Description
AutomaticImprovements.Builder

setImageImprovements(AutomaticImageImprovements.Builder builderForValue)

public AutomaticImprovements.Builder setImageImprovements(AutomaticImageImprovements.Builder builderForValue)

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;

Parameter
Name Description
builderForValue AutomaticImageImprovements.Builder
Returns
Type Description
AutomaticImprovements.Builder

setItemUpdates(AutomaticItemUpdates value)

public AutomaticImprovements.Builder setItemUpdates(AutomaticItemUpdates value)

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;

Parameter
Name Description
value AutomaticItemUpdates
Returns
Type Description
AutomaticImprovements.Builder

setItemUpdates(AutomaticItemUpdates.Builder builderForValue)

public AutomaticImprovements.Builder setItemUpdates(AutomaticItemUpdates.Builder builderForValue)

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;

Parameter
Name Description
builderForValue AutomaticItemUpdates.Builder
Returns
Type Description
AutomaticImprovements.Builder

setName(String value)

public AutomaticImprovements.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AutomaticImprovements.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AutomaticImprovements.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AutomaticImprovements.Builder

This builder for chaining.

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

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

setShippingImprovements(AutomaticShippingImprovements value)

public AutomaticImprovements.Builder setShippingImprovements(AutomaticShippingImprovements value)

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;

Parameter
Name Description
value AutomaticShippingImprovements
Returns
Type Description
AutomaticImprovements.Builder

setShippingImprovements(AutomaticShippingImprovements.Builder builderForValue)

public AutomaticImprovements.Builder setShippingImprovements(AutomaticShippingImprovements.Builder builderForValue)

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;

Parameter
Name Description
builderForValue AutomaticShippingImprovements.Builder
Returns
Type Description
AutomaticImprovements.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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