Class AutomaticImageImprovements (0.16.0)

public final class AutomaticImageImprovements extends GeneratedMessageV3 implements AutomaticImageImprovementsOrBuilder

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

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

Static Fields

ACCOUNT_IMAGE_IMPROVEMENTS_SETTINGS_FIELD_NUMBER

public static final int ACCOUNT_IMAGE_IMPROVEMENTS_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

EFFECTIVE_ALLOW_AUTOMATIC_IMAGE_IMPROVEMENTS_FIELD_NUMBER

public static final int EFFECTIVE_ALLOW_AUTOMATIC_IMAGE_IMPROVEMENTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutomaticImageImprovements getDefaultInstance()
Returns
Type Description
AutomaticImageImprovements

getDescriptor()

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

newBuilder()

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

newBuilder(AutomaticImageImprovements prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAccountImageImprovementsSettings()

public AutomaticImageImprovements.ImageImprovementsAccountLevelSettings getAccountImageImprovementsSettings()

Optional. Determines how the images 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.

optional .google.shopping.merchant.accounts.v1beta.AutomaticImageImprovements.ImageImprovementsAccountLevelSettings account_image_improvements_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutomaticImageImprovements.ImageImprovementsAccountLevelSettings

The accountImageImprovementsSettings.

getAccountImageImprovementsSettingsOrBuilder()

public AutomaticImageImprovements.ImageImprovementsAccountLevelSettingsOrBuilder getAccountImageImprovementsSettingsOrBuilder()

Optional. Determines how the images 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.

optional .google.shopping.merchant.accounts.v1beta.AutomaticImageImprovements.ImageImprovementsAccountLevelSettings account_image_improvements_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutomaticImageImprovements.ImageImprovementsAccountLevelSettingsOrBuilder

getDefaultInstanceForType()

public AutomaticImageImprovements getDefaultInstanceForType()
Returns
Type Description
AutomaticImageImprovements

getEffectiveAllowAutomaticImageImprovements()

public boolean getEffectiveAllowAutomaticImageImprovements()

Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.

bool effective_allow_automatic_image_improvements = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The effectiveAllowAutomaticImageImprovements.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAccountImageImprovementsSettings()

public boolean hasAccountImageImprovementsSettings()

Optional. Determines how the images 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.

optional .google.shopping.merchant.accounts.v1beta.AutomaticImageImprovements.ImageImprovementsAccountLevelSettings account_image_improvements_settings = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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