public static final class AutomaticImageImprovements.Builder extends GeneratedMessage.Builder<AutomaticImageImprovements.Builder> implements AutomaticImageImprovementsOrBuilderThis 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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AutomaticImageImprovements.BuilderImplements
AutomaticImageImprovementsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AutomaticImageImprovements build()| Returns | |
|---|---|
| Type | Description |
AutomaticImageImprovements |
|
buildPartial()
public AutomaticImageImprovements buildPartial()| Returns | |
|---|---|
| Type | Description |
AutomaticImageImprovements |
|
clear()
public AutomaticImageImprovements.Builder clear()| Returns | |
|---|---|
| Type | Description |
AutomaticImageImprovements.Builder |
|
clearAccountImageImprovementsSettings()
public AutomaticImageImprovements.Builder clearAccountImageImprovementsSettings()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.Builder |
|
clearEffectiveAllowAutomaticImageImprovements()
public AutomaticImageImprovements.Builder clearEffectiveAllowAutomaticImageImprovements()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 |
AutomaticImageImprovements.Builder |
This builder for chaining. |
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. |
getAccountImageImprovementsSettingsBuilder()
public AutomaticImageImprovements.ImageImprovementsAccountLevelSettings.Builder getAccountImageImprovementsSettingsBuilder()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.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAccountImageImprovementsSettings(AutomaticImageImprovements.ImageImprovementsAccountLevelSettings value)
public AutomaticImageImprovements.Builder mergeAccountImageImprovementsSettings(AutomaticImageImprovements.ImageImprovementsAccountLevelSettings value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
AutomaticImageImprovements.ImageImprovementsAccountLevelSettings |
| Returns | |
|---|---|
| Type | Description |
AutomaticImageImprovements.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutomaticImageImprovements.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutomaticImageImprovements.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AutomaticImageImprovements.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AutomaticImageImprovements.Builder |
|
mergeFrom(AutomaticImageImprovements other)
public AutomaticImageImprovements.Builder mergeFrom(AutomaticImageImprovements other)| Parameter | |
|---|---|
| Name | Description |
other |
AutomaticImageImprovements |
| Returns | |
|---|---|
| Type | Description |
AutomaticImageImprovements.Builder |
|
setAccountImageImprovementsSettings(AutomaticImageImprovements.ImageImprovementsAccountLevelSettings value)
public AutomaticImageImprovements.Builder setAccountImageImprovementsSettings(AutomaticImageImprovements.ImageImprovementsAccountLevelSettings value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
AutomaticImageImprovements.ImageImprovementsAccountLevelSettings |
| Returns | |
|---|---|
| Type | Description |
AutomaticImageImprovements.Builder |
|
setAccountImageImprovementsSettings(AutomaticImageImprovements.ImageImprovementsAccountLevelSettings.Builder builderForValue)
public AutomaticImageImprovements.Builder setAccountImageImprovementsSettings(AutomaticImageImprovements.ImageImprovementsAccountLevelSettings.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AutomaticImageImprovements.ImageImprovementsAccountLevelSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
AutomaticImageImprovements.Builder |
|
setEffectiveAllowAutomaticImageImprovements(boolean value)
public AutomaticImageImprovements.Builder setEffectiveAllowAutomaticImageImprovements(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe effectiveAllowAutomaticImageImprovements to set. |
| Returns | |
|---|---|
| Type | Description |
AutomaticImageImprovements.Builder |
This builder for chaining. |