public static final class AutomaticImageImprovements.Builder extends GeneratedMessageV3.Builder<AutomaticImageImprovements.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public AutomaticImageImprovements.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AutomaticImageImprovements build()
public AutomaticImageImprovements buildPartial()
public AutomaticImageImprovements.Builder clear()
Overrides
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];
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];
public AutomaticImageImprovements.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public AutomaticImageImprovements.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public AutomaticImageImprovements.Builder clone()
Overrides
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];
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];
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];
public AutomaticImageImprovements getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
public AutomaticImageImprovements.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public AutomaticImageImprovements.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public AutomaticImageImprovements.Builder mergeFrom(AutomaticImageImprovements other)
public final AutomaticImageImprovements.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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 |
boolean
The effectiveAllowAutomaticImageImprovements to set.
|
public AutomaticImageImprovements.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public AutomaticImageImprovements.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final AutomaticImageImprovements.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides