Class GenerateImagesRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
com.google.ads.googleads.v22.services.GenerateImagesRequest.Builder
All Implemented Interfaces:
GenerateImagesRequestOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GenerateImagesRequest

public static final class GenerateImagesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder> implements GenerateImagesRequestOrBuilder
 Request message for
 [AssetGenerationService.GenerateImages][google.ads.googleads.v22.services.AssetGenerationService.GenerateImages]
 
Protobuf type google.ads.googleads.v22.services.GenerateImagesRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GenerateImagesRequest.Builder>
    • getDefaultInstanceForType

      public GenerateImagesRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GenerateImagesRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GenerateImagesRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
    • setField

      public GenerateImagesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
    • clearField

      public GenerateImagesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
    • clearOneof

      public GenerateImagesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
    • setRepeatedField

      public GenerateImagesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
    • addRepeatedField

      public GenerateImagesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
    • mergeFrom

      public GenerateImagesRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateImagesRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<com.google.protobuf.GeneratedMessageV3,GenerateImagesRequest.Builder>
    • mergeFrom

      public GenerateImagesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateImagesRequest.Builder>
      Throws:
      IOException
    • getContextCase

      public GenerateImagesRequest.ContextCase getContextCase()
      Specified by:
      getContextCase in interface GenerateImagesRequestOrBuilder
    • clearContext

      public GenerateImagesRequest.Builder clearContext()
    • getGenerationTypeCase

      public GenerateImagesRequest.GenerationTypeCase getGenerationTypeCase()
      Specified by:
      getGenerationTypeCase in interface GenerateImagesRequestOrBuilder
    • clearGenerationType

      public GenerateImagesRequest.Builder clearGenerationType()
    • getCustomerId

      public String getCustomerId()
       Required. The ID of the customer for whom the images are being generated.
       Required.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerId in interface GenerateImagesRequestOrBuilder
      Returns:
      The customerId.
    • getCustomerIdBytes

      public com.google.protobuf.ByteString getCustomerIdBytes()
       Required. The ID of the customer for whom the images are being generated.
       Required.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCustomerIdBytes in interface GenerateImagesRequestOrBuilder
      Returns:
      The bytes for customerId.
    • setCustomerId

      public GenerateImagesRequest.Builder setCustomerId(String value)
       Required. The ID of the customer for whom the images are being generated.
       Required.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The customerId to set.
      Returns:
      This builder for chaining.
    • clearCustomerId

      public GenerateImagesRequest.Builder clearCustomerId()
       Required. The ID of the customer for whom the images are being generated.
       Required.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setCustomerIdBytes

      public GenerateImagesRequest.Builder setCustomerIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the customer for whom the images are being generated.
       Required.
       
      string customer_id = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for customerId to set.
      Returns:
      This builder for chaining.
    • getAssetFieldTypesList

      public List<AssetFieldTypeEnum.AssetFieldType> getAssetFieldTypesList()
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssetFieldTypesList in interface GenerateImagesRequestOrBuilder
      Returns:
      A list containing the assetFieldTypes.
    • getAssetFieldTypesCount

      public int getAssetFieldTypesCount()
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssetFieldTypesCount in interface GenerateImagesRequestOrBuilder
      Returns:
      The count of assetFieldTypes.
    • getAssetFieldTypes

      public AssetFieldTypeEnum.AssetFieldType getAssetFieldTypes(int index)
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssetFieldTypes in interface GenerateImagesRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The assetFieldTypes at the given index.
    • setAssetFieldTypes

      public GenerateImagesRequest.Builder setAssetFieldTypes(int index, AssetFieldTypeEnum.AssetFieldType value)
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The assetFieldTypes to set.
      Returns:
      This builder for chaining.
    • addAssetFieldTypes

       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The assetFieldTypes to add.
      Returns:
      This builder for chaining.
    • addAllAssetFieldTypes

      public GenerateImagesRequest.Builder addAllAssetFieldTypes(Iterable<? extends AssetFieldTypeEnum.AssetFieldType> values)
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The assetFieldTypes to add.
      Returns:
      This builder for chaining.
    • clearAssetFieldTypes

      public GenerateImagesRequest.Builder clearAssetFieldTypes()
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getAssetFieldTypesValueList

      public List<Integer> getAssetFieldTypesValueList()
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssetFieldTypesValueList in interface GenerateImagesRequestOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for assetFieldTypes.
    • getAssetFieldTypesValue

      public int getAssetFieldTypesValue(int index)
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAssetFieldTypesValue in interface GenerateImagesRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of assetFieldTypes at the given index.
    • setAssetFieldTypesValue

      public GenerateImagesRequest.Builder setAssetFieldTypesValue(int index, int value)
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for assetFieldTypes to set.
      Returns:
      This builder for chaining.
    • addAssetFieldTypesValue

      public GenerateImagesRequest.Builder addAssetFieldTypesValue(int value)
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for assetFieldTypes to add.
      Returns:
      This builder for chaining.
    • addAllAssetFieldTypesValue

      public GenerateImagesRequest.Builder addAllAssetFieldTypesValue(Iterable<Integer> values)
       Optional. Output field types for generated images. Supported values are
       MARKETING_IMAGE, SQUARE_MARKETING_IMAGE, PORTRAIT_MARKETING_IMAGE, and
       TALL_PORTRAIT_MARKETING_IMAGE. All specified field types must be
       compatible with the `advertising_channel_type` or
       `existing_generation_context` (whichever is set). If no field types are
       provided, images will be generated for all compatible field types.
       
      repeated .google.ads.googleads.v22.enums.AssetFieldTypeEnum.AssetFieldType asset_field_types = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      values - The enum numeric values on the wire for assetFieldTypes to add.
      Returns:
      This builder for chaining.
    • hasAdvertisingChannelType

      public boolean hasAdvertisingChannelType()
       Optional. The advertising channel type for which the images are being
       generated. This field is required if `existing_generation_context` is not
       provided. Supported channel types include SEARCH, PERFORMANCE_MAX,
       DISPLAY, and DEMAND_GEN.
       
      .google.ads.googleads.v22.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasAdvertisingChannelType in interface GenerateImagesRequestOrBuilder
      Returns:
      Whether the advertisingChannelType field is set.
    • getAdvertisingChannelTypeValue

      public int getAdvertisingChannelTypeValue()
       Optional. The advertising channel type for which the images are being
       generated. This field is required if `existing_generation_context` is not
       provided. Supported channel types include SEARCH, PERFORMANCE_MAX,
       DISPLAY, and DEMAND_GEN.
       
      .google.ads.googleads.v22.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdvertisingChannelTypeValue in interface GenerateImagesRequestOrBuilder
      Returns:
      The enum numeric value on the wire for advertisingChannelType.
    • setAdvertisingChannelTypeValue

      public GenerateImagesRequest.Builder setAdvertisingChannelTypeValue(int value)
       Optional. The advertising channel type for which the images are being
       generated. This field is required if `existing_generation_context` is not
       provided. Supported channel types include SEARCH, PERFORMANCE_MAX,
       DISPLAY, and DEMAND_GEN.
       
      .google.ads.googleads.v22.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for advertisingChannelType to set.
      Returns:
      This builder for chaining.
    • getAdvertisingChannelType

      public AdvertisingChannelTypeEnum.AdvertisingChannelType getAdvertisingChannelType()
       Optional. The advertising channel type for which the images are being
       generated. This field is required if `existing_generation_context` is not
       provided. Supported channel types include SEARCH, PERFORMANCE_MAX,
       DISPLAY, and DEMAND_GEN.
       
      .google.ads.googleads.v22.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAdvertisingChannelType in interface GenerateImagesRequestOrBuilder
      Returns:
      The advertisingChannelType.
    • setAdvertisingChannelType

       Optional. The advertising channel type for which the images are being
       generated. This field is required if `existing_generation_context` is not
       provided. Supported channel types include SEARCH, PERFORMANCE_MAX,
       DISPLAY, and DEMAND_GEN.
       
      .google.ads.googleads.v22.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The advertisingChannelType to set.
      Returns:
      This builder for chaining.
    • clearAdvertisingChannelType

      public GenerateImagesRequest.Builder clearAdvertisingChannelType()
       Optional. The advertising channel type for which the images are being
       generated. This field is required if `existing_generation_context` is not
       provided. Supported channel types include SEARCH, PERFORMANCE_MAX,
       DISPLAY, and DEMAND_GEN.
       
      .google.ads.googleads.v22.enums.AdvertisingChannelTypeEnum.AdvertisingChannelType advertising_channel_type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasFinalUrlGeneration

      public boolean hasFinalUrlGeneration()
       Optional. Generate images from a final url.
       
      .google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasFinalUrlGeneration in interface GenerateImagesRequestOrBuilder
      Returns:
      Whether the finalUrlGeneration field is set.
    • getFinalUrlGeneration

      public FinalUrlImageGenerationInput getFinalUrlGeneration()
       Optional. Generate images from a final url.
       
      .google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFinalUrlGeneration in interface GenerateImagesRequestOrBuilder
      Returns:
      The finalUrlGeneration.
    • setFinalUrlGeneration

      public GenerateImagesRequest.Builder setFinalUrlGeneration(FinalUrlImageGenerationInput value)
       Optional. Generate images from a final url.
       
      .google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL];
    • setFinalUrlGeneration

      public GenerateImagesRequest.Builder setFinalUrlGeneration(FinalUrlImageGenerationInput.Builder builderForValue)
       Optional. Generate images from a final url.
       
      .google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL];
    • mergeFinalUrlGeneration

      public GenerateImagesRequest.Builder mergeFinalUrlGeneration(FinalUrlImageGenerationInput value)
       Optional. Generate images from a final url.
       
      .google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL];
    • clearFinalUrlGeneration

      public GenerateImagesRequest.Builder clearFinalUrlGeneration()
       Optional. Generate images from a final url.
       
      .google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getFinalUrlGenerationBuilder

      public FinalUrlImageGenerationInput.Builder getFinalUrlGenerationBuilder()
       Optional. Generate images from a final url.
       
      .google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL];
    • getFinalUrlGenerationOrBuilder

      public FinalUrlImageGenerationInputOrBuilder getFinalUrlGenerationOrBuilder()
       Optional. Generate images from a final url.
       
      .google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFinalUrlGenerationOrBuilder in interface GenerateImagesRequestOrBuilder
    • hasFreeformGeneration

      public boolean hasFreeformGeneration()
       Optional. Generate images from a freeform prompt.
       
      .google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasFreeformGeneration in interface GenerateImagesRequestOrBuilder
      Returns:
      Whether the freeformGeneration field is set.
    • getFreeformGeneration

      public FreeformImageGenerationInput getFreeformGeneration()
       Optional. Generate images from a freeform prompt.
       
      .google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFreeformGeneration in interface GenerateImagesRequestOrBuilder
      Returns:
      The freeformGeneration.
    • setFreeformGeneration

      public GenerateImagesRequest.Builder setFreeformGeneration(FreeformImageGenerationInput value)
       Optional. Generate images from a freeform prompt.
       
      .google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setFreeformGeneration

      public GenerateImagesRequest.Builder setFreeformGeneration(FreeformImageGenerationInput.Builder builderForValue)
       Optional. Generate images from a freeform prompt.
       
      .google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL];
    • mergeFreeformGeneration

      public GenerateImagesRequest.Builder mergeFreeformGeneration(FreeformImageGenerationInput value)
       Optional. Generate images from a freeform prompt.
       
      .google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearFreeformGeneration

      public GenerateImagesRequest.Builder clearFreeformGeneration()
       Optional. Generate images from a freeform prompt.
       
      .google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getFreeformGenerationBuilder

      public FreeformImageGenerationInput.Builder getFreeformGenerationBuilder()
       Optional. Generate images from a freeform prompt.
       
      .google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getFreeformGenerationOrBuilder

      public FreeformImageGenerationInputOrBuilder getFreeformGenerationOrBuilder()
       Optional. Generate images from a freeform prompt.
       
      .google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFreeformGenerationOrBuilder in interface GenerateImagesRequestOrBuilder
    • hasProductRecontextGeneration

      public boolean hasProductRecontextGeneration()
       Optional. Generate new images by recontextualizing existing product
       images.
       
      .google.ads.googleads.v22.services.ProductRecontextGenerationImageInput product_recontext_generation = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasProductRecontextGeneration in interface GenerateImagesRequestOrBuilder
      Returns:
      Whether the productRecontextGeneration field is set.
    • getProductRecontextGeneration

      public ProductRecontextGenerationImageInput getProductRecontextGeneration()
       Optional. Generate new images by recontextualizing existing product
       images.
       
      .google.ads.googleads.v22.services.ProductRecontextGenerationImageInput product_recontext_generation = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProductRecontextGeneration in interface GenerateImagesRequestOrBuilder
      Returns:
      The productRecontextGeneration.
    • setProductRecontextGeneration

      public GenerateImagesRequest.Builder setProductRecontextGeneration(ProductRecontextGenerationImageInput value)
       Optional. Generate new images by recontextualizing existing product
       images.
       
      .google.ads.googleads.v22.services.ProductRecontextGenerationImageInput product_recontext_generation = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setProductRecontextGeneration

      public GenerateImagesRequest.Builder setProductRecontextGeneration(ProductRecontextGenerationImageInput.Builder builderForValue)
       Optional. Generate new images by recontextualizing existing product
       images.
       
      .google.ads.googleads.v22.services.ProductRecontextGenerationImageInput product_recontext_generation = 7 [(.google.api.field_behavior) = OPTIONAL];
    • mergeProductRecontextGeneration

      public GenerateImagesRequest.Builder mergeProductRecontextGeneration(ProductRecontextGenerationImageInput value)
       Optional. Generate new images by recontextualizing existing product
       images.
       
      .google.ads.googleads.v22.services.ProductRecontextGenerationImageInput product_recontext_generation = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearProductRecontextGeneration

      public GenerateImagesRequest.Builder clearProductRecontextGeneration()
       Optional. Generate new images by recontextualizing existing product
       images.
       
      .google.ads.googleads.v22.services.ProductRecontextGenerationImageInput product_recontext_generation = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getProductRecontextGenerationBuilder

      public ProductRecontextGenerationImageInput.Builder getProductRecontextGenerationBuilder()
       Optional. Generate new images by recontextualizing existing product
       images.
       
      .google.ads.googleads.v22.services.ProductRecontextGenerationImageInput product_recontext_generation = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getProductRecontextGenerationOrBuilder

      public ProductRecontextGenerationImageInputOrBuilder getProductRecontextGenerationOrBuilder()
       Optional. Generate new images by recontextualizing existing product
       images.
       
      .google.ads.googleads.v22.services.ProductRecontextGenerationImageInput product_recontext_generation = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProductRecontextGenerationOrBuilder in interface GenerateImagesRequestOrBuilder
    • setUnknownFields

      public final GenerateImagesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
    • mergeUnknownFields

      public final GenerateImagesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>