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 Summary
Modifier and TypeMethodDescriptionaddAllAssetFieldTypes(Iterable<? extends AssetFieldTypeEnum.AssetFieldType> values) Optional.addAllAssetFieldTypesValue(Iterable<Integer> values) Optional.Optional.addAssetFieldTypesValue(int value) Optional.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional.Optional.Required.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional.Optional.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional.clone()Optional.intOptional.getAssetFieldTypes(int index) Optional.intOptional.Optional.intgetAssetFieldTypesValue(int index) Optional.Optional.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.booleanOptional.booleanOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanOptional.Optional.mergeFrom(GenerateImagesRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Optional.setAdvertisingChannelTypeValue(int value) Optional.setAssetFieldTypes(int index, AssetFieldTypeEnum.AssetFieldType value) Optional.setAssetFieldTypesValue(int index, int value) Optional.setCustomerId(String value) Required.setCustomerIdBytes(com.google.protobuf.ByteString value) Required.Optional.setFinalUrlGeneration(FinalUrlImageGenerationInput.Builder builderForValue) Optional.Optional.setFreeformGeneration(FreeformImageGenerationInput.Builder builderForValue) Optional.Optional.Optional.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getParentForChildrenMethods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension, setExtension, setExtensionMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
getOneofFieldDescriptor, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, hasExtension, hasExtensionMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Overrides:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GenerateImagesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
-
setField
public GenerateImagesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
-
clearField
public GenerateImagesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
-
clearOneof
public GenerateImagesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
-
setRepeatedField
public GenerateImagesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
-
addRepeatedField
public GenerateImagesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateImagesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GenerateImagesRequest.Builder>- Throws:
IOException
-
getContextCase
- Specified by:
getContextCasein interfaceGenerateImagesRequestOrBuilder
-
clearContext
-
getGenerationTypeCase
- Specified by:
getGenerationTypeCasein interfaceGenerateImagesRequestOrBuilder
-
clearGenerationType
-
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:
getCustomerIdin interfaceGenerateImagesRequestOrBuilder- 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:
getCustomerIdBytesin interfaceGenerateImagesRequestOrBuilder- Returns:
- The bytes for customerId.
-
setCustomerId
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
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
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
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:
getAssetFieldTypesListin interfaceGenerateImagesRequestOrBuilder- 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:
getAssetFieldTypesCountin interfaceGenerateImagesRequestOrBuilder- Returns:
- The count of assetFieldTypes.
-
getAssetFieldTypes
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:
getAssetFieldTypesin interfaceGenerateImagesRequestOrBuilder- 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
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
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:
getAssetFieldTypesValueListin interfaceGenerateImagesRequestOrBuilder- 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:
getAssetFieldTypesValuein interfaceGenerateImagesRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of assetFieldTypes at the given index.
-
setAssetFieldTypesValue
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
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
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:
hasAdvertisingChannelTypein interfaceGenerateImagesRequestOrBuilder- 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:
getAdvertisingChannelTypeValuein interfaceGenerateImagesRequestOrBuilder- Returns:
- The enum numeric value on the wire for advertisingChannelType.
-
setAdvertisingChannelTypeValue
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
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:
getAdvertisingChannelTypein interfaceGenerateImagesRequestOrBuilder- Returns:
- The advertisingChannelType.
-
setAdvertisingChannelType
public GenerateImagesRequest.Builder setAdvertisingChannelType(AdvertisingChannelTypeEnum.AdvertisingChannelType 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 advertisingChannelType to set.- Returns:
- This builder for chaining.
-
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:
hasFinalUrlGenerationin interfaceGenerateImagesRequestOrBuilder- Returns:
- Whether the finalUrlGeneration field is set.
-
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:
getFinalUrlGenerationin interfaceGenerateImagesRequestOrBuilder- Returns:
- The finalUrlGeneration.
-
setFinalUrlGeneration
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
Optional. Generate images from a final url.
.google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearFinalUrlGeneration
Optional. Generate images from a final url.
.google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getFinalUrlGenerationBuilder
Optional. Generate images from a final url.
.google.ads.googleads.v22.services.FinalUrlImageGenerationInput final_url_generation = 5 [(.google.api.field_behavior) = OPTIONAL]; -
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:
getFinalUrlGenerationOrBuilderin interfaceGenerateImagesRequestOrBuilder
-
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:
hasFreeformGenerationin interfaceGenerateImagesRequestOrBuilder- Returns:
- Whether the freeformGeneration field is set.
-
getFreeformGeneration
Optional. Generate images from a freeform prompt.
.google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFreeformGenerationin interfaceGenerateImagesRequestOrBuilder- Returns:
- The freeformGeneration.
-
setFreeformGeneration
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
Optional. Generate images from a freeform prompt.
.google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL]; -
clearFreeformGeneration
Optional. Generate images from a freeform prompt.
.google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getFreeformGenerationBuilder
Optional. Generate images from a freeform prompt.
.google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getFreeformGenerationOrBuilder
Optional. Generate images from a freeform prompt.
.google.ads.googleads.v22.services.FreeformImageGenerationInput freeform_generation = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFreeformGenerationOrBuilderin interfaceGenerateImagesRequestOrBuilder
-
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:
hasProductRecontextGenerationin interfaceGenerateImagesRequestOrBuilder- Returns:
- Whether the productRecontextGeneration field is set.
-
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:
getProductRecontextGenerationin interfaceGenerateImagesRequestOrBuilder- 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
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
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
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:
getProductRecontextGenerationOrBuilderin interfaceGenerateImagesRequestOrBuilder
-
setUnknownFields
public final GenerateImagesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
-
mergeUnknownFields
public final GenerateImagesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GenerateImagesRequest.Builder>
-