Class AssetGroup.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
- com.google.ads.googleads.v10.resources.AssetGroup.Builder
-
- All Implemented Interfaces:
AssetGroupOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- AssetGroup
public static final class AssetGroup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder> implements AssetGroupOrBuilder
An asset group. AssetGroupAsset will be used to link an asset to the asset group. AssetGroupHint will be used to associate a hint to an asset group.
Protobuf typegoogle.ads.googleads.v10.resources.AssetGroup
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetGroup.BuilderaddAllFinalMobileUrls(java.lang.Iterable<java.lang.String> values)A list of final mobile URLs after all cross domain redirects.AssetGroup.BuilderaddAllFinalUrls(java.lang.Iterable<java.lang.String> values)A list of final URLs after all cross domain redirects.AssetGroup.BuilderaddFinalMobileUrls(java.lang.String value)A list of final mobile URLs after all cross domain redirects.AssetGroup.BuilderaddFinalMobileUrlsBytes(com.google.protobuf.ByteString value)A list of final mobile URLs after all cross domain redirects.AssetGroup.BuilderaddFinalUrls(java.lang.String value)A list of final URLs after all cross domain redirects.AssetGroup.BuilderaddFinalUrlsBytes(com.google.protobuf.ByteString value)A list of final URLs after all cross domain redirects.AssetGroup.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AssetGroupbuild()AssetGroupbuildPartial()AssetGroup.Builderclear()AssetGroup.BuilderclearCampaign()Immutable.AssetGroup.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AssetGroup.BuilderclearFinalMobileUrls()A list of final mobile URLs after all cross domain redirects.AssetGroup.BuilderclearFinalUrls()A list of final URLs after all cross domain redirects.AssetGroup.BuilderclearId()Output only.AssetGroup.BuilderclearName()Required.AssetGroup.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AssetGroup.BuilderclearPath1()First part of text that may appear appended to the url displayed in the ad.AssetGroup.BuilderclearPath2()Second part of text that may appear appended to the url displayed in the ad.AssetGroup.BuilderclearResourceName()Immutable.AssetGroup.BuilderclearStatus()The status of the asset group.AssetGroup.Builderclone()java.lang.StringgetCampaign()Immutable.com.google.protobuf.ByteStringgetCampaignBytes()Immutable.AssetGroupgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetFinalMobileUrls(int index)A list of final mobile URLs after all cross domain redirects.com.google.protobuf.ByteStringgetFinalMobileUrlsBytes(int index)A list of final mobile URLs after all cross domain redirects.intgetFinalMobileUrlsCount()A list of final mobile URLs after all cross domain redirects.com.google.protobuf.ProtocolStringListgetFinalMobileUrlsList()A list of final mobile URLs after all cross domain redirects.java.lang.StringgetFinalUrls(int index)A list of final URLs after all cross domain redirects.com.google.protobuf.ByteStringgetFinalUrlsBytes(int index)A list of final URLs after all cross domain redirects.intgetFinalUrlsCount()A list of final URLs after all cross domain redirects.com.google.protobuf.ProtocolStringListgetFinalUrlsList()A list of final URLs after all cross domain redirects.longgetId()Output only.java.lang.StringgetName()Required.com.google.protobuf.ByteStringgetNameBytes()Required.java.lang.StringgetPath1()First part of text that may appear appended to the url displayed in the ad.com.google.protobuf.ByteStringgetPath1Bytes()First part of text that may appear appended to the url displayed in the ad.java.lang.StringgetPath2()Second part of text that may appear appended to the url displayed in the ad.com.google.protobuf.ByteStringgetPath2Bytes()Second part of text that may appear appended to the url displayed in the ad.java.lang.StringgetResourceName()Immutable.com.google.protobuf.ByteStringgetResourceNameBytes()Immutable.AssetGroupStatusEnum.AssetGroupStatusgetStatus()The status of the asset group.intgetStatusValue()The status of the asset group.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AssetGroup.BuildermergeFrom(AssetGroup other)AssetGroup.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AssetGroup.BuildermergeFrom(com.google.protobuf.Message other)AssetGroup.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AssetGroup.BuildersetCampaign(java.lang.String value)Immutable.AssetGroup.BuildersetCampaignBytes(com.google.protobuf.ByteString value)Immutable.AssetGroup.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)AssetGroup.BuildersetFinalMobileUrls(int index, java.lang.String value)A list of final mobile URLs after all cross domain redirects.AssetGroup.BuildersetFinalUrls(int index, java.lang.String value)A list of final URLs after all cross domain redirects.AssetGroup.BuildersetId(long value)Output only.AssetGroup.BuildersetName(java.lang.String value)Required.AssetGroup.BuildersetNameBytes(com.google.protobuf.ByteString value)Required.AssetGroup.BuildersetPath1(java.lang.String value)First part of text that may appear appended to the url displayed in the ad.AssetGroup.BuildersetPath1Bytes(com.google.protobuf.ByteString value)First part of text that may appear appended to the url displayed in the ad.AssetGroup.BuildersetPath2(java.lang.String value)Second part of text that may appear appended to the url displayed in the ad.AssetGroup.BuildersetPath2Bytes(com.google.protobuf.ByteString value)Second part of text that may appear appended to the url displayed in the ad.AssetGroup.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)AssetGroup.BuildersetResourceName(java.lang.String value)Immutable.AssetGroup.BuildersetResourceNameBytes(com.google.protobuf.ByteString value)Immutable.AssetGroup.BuildersetStatus(AssetGroupStatusEnum.AssetGroupStatus value)The status of the asset group.AssetGroup.BuildersetStatusValue(int value)The status of the asset group.AssetGroup.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
clear
public AssetGroup.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<AssetGroup.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.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
getDefaultInstanceForType
public AssetGroup getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AssetGroup build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AssetGroup buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AssetGroup.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<AssetGroup.Builder>
-
setField
public AssetGroup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
clearField
public AssetGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
clearOneof
public AssetGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
setRepeatedField
public AssetGroup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
addRepeatedField
public AssetGroup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
mergeFrom
public AssetGroup.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AssetGroup.Builder>
-
mergeFrom
public AssetGroup.Builder mergeFrom(AssetGroup other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
mergeFrom
public AssetGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AssetGroup.Builder>- Throws:
java.io.IOException
-
getResourceName
public java.lang.String getResourceName()
Immutable. The resource name of the asset group. Asset group resource names have the form: `customers/{customer_id}/assetGroups/{asset_group_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNamein interfaceAssetGroupOrBuilder- Returns:
- The resourceName.
-
getResourceNameBytes
public com.google.protobuf.ByteString getResourceNameBytes()
Immutable. The resource name of the asset group. Asset group resource names have the form: `customers/{customer_id}/assetGroups/{asset_group_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getResourceNameBytesin interfaceAssetGroupOrBuilder- Returns:
- The bytes for resourceName.
-
setResourceName
public AssetGroup.Builder setResourceName(java.lang.String value)
Immutable. The resource name of the asset group. Asset group resource names have the form: `customers/{customer_id}/assetGroups/{asset_group_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The resourceName to set.- Returns:
- This builder for chaining.
-
clearResourceName
public AssetGroup.Builder clearResourceName()
Immutable. The resource name of the asset group. Asset group resource names have the form: `customers/{customer_id}/assetGroups/{asset_group_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setResourceNameBytes
public AssetGroup.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
Immutable. The resource name of the asset group. Asset group resource names have the form: `customers/{customer_id}/assetGroups/{asset_group_id}`string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for resourceName to set.- Returns:
- This builder for chaining.
-
getId
public long getId()
Output only. The ID of the asset group.
int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceAssetGroupOrBuilder- Returns:
- The id.
-
setId
public AssetGroup.Builder setId(long value)
Output only. The ID of the asset group.
int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public AssetGroup.Builder clearId()
Output only. The ID of the asset group.
int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getCampaign
public java.lang.String getCampaign()
Immutable. The campaign with which this asset group is associated. The asset which is linked to the asset group.
string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignin interfaceAssetGroupOrBuilder- Returns:
- The campaign.
-
getCampaignBytes
public com.google.protobuf.ByteString getCampaignBytes()
Immutable. The campaign with which this asset group is associated. The asset which is linked to the asset group.
string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Specified by:
getCampaignBytesin interfaceAssetGroupOrBuilder- Returns:
- The bytes for campaign.
-
setCampaign
public AssetGroup.Builder setCampaign(java.lang.String value)
Immutable. The campaign with which this asset group is associated. The asset which is linked to the asset group.
string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The campaign to set.- Returns:
- This builder for chaining.
-
clearCampaign
public AssetGroup.Builder clearCampaign()
Immutable. The campaign with which this asset group is associated. The asset which is linked to the asset group.
string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setCampaignBytes
public AssetGroup.Builder setCampaignBytes(com.google.protobuf.ByteString value)
Immutable. The campaign with which this asset group is associated. The asset which is linked to the asset group.
string campaign = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for campaign to set.- Returns:
- This builder for chaining.
-
getName
public java.lang.String getName()
Required. Name of the asset group. Required. It must have a minimum length of 1 and maximum length of 128. It must be unique under a campaign.
string name = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceAssetGroupOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Required. Name of the asset group. Required. It must have a minimum length of 1 and maximum length of 128. It must be unique under a campaign.
string name = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNameBytesin interfaceAssetGroupOrBuilder- Returns:
- The bytes for name.
-
setName
public AssetGroup.Builder setName(java.lang.String value)
Required. Name of the asset group. Required. It must have a minimum length of 1 and maximum length of 128. It must be unique under a campaign.
string name = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AssetGroup.Builder clearName()
Required. Name of the asset group. Required. It must have a minimum length of 1 and maximum length of 128. It must be unique under a campaign.
string name = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNameBytes
public AssetGroup.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. Name of the asset group. Required. It must have a minimum length of 1 and maximum length of 128. It must be unique under a campaign.
string name = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFinalUrlsList
public com.google.protobuf.ProtocolStringList getFinalUrlsList()
A list of final URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_urls = 4;- Specified by:
getFinalUrlsListin interfaceAssetGroupOrBuilder- Returns:
- A list containing the finalUrls.
-
getFinalUrlsCount
public int getFinalUrlsCount()
A list of final URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_urls = 4;- Specified by:
getFinalUrlsCountin interfaceAssetGroupOrBuilder- Returns:
- The count of finalUrls.
-
getFinalUrls
public java.lang.String getFinalUrls(int index)
A list of final URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_urls = 4;- Specified by:
getFinalUrlsin interfaceAssetGroupOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The finalUrls at the given index.
-
getFinalUrlsBytes
public com.google.protobuf.ByteString getFinalUrlsBytes(int index)
A list of final URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_urls = 4;- Specified by:
getFinalUrlsBytesin interfaceAssetGroupOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalUrls at the given index.
-
setFinalUrls
public AssetGroup.Builder setFinalUrls(int index, java.lang.String value)
A list of final URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_urls = 4;- Parameters:
index- The index to set the value at.value- The finalUrls to set.- Returns:
- This builder for chaining.
-
addFinalUrls
public AssetGroup.Builder addFinalUrls(java.lang.String value)
A list of final URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_urls = 4;- Parameters:
value- The finalUrls to add.- Returns:
- This builder for chaining.
-
addAllFinalUrls
public AssetGroup.Builder addAllFinalUrls(java.lang.Iterable<java.lang.String> values)
A list of final URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_urls = 4;- Parameters:
values- The finalUrls to add.- Returns:
- This builder for chaining.
-
clearFinalUrls
public AssetGroup.Builder clearFinalUrls()
A list of final URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_urls = 4;- Returns:
- This builder for chaining.
-
addFinalUrlsBytes
public AssetGroup.Builder addFinalUrlsBytes(com.google.protobuf.ByteString value)
A list of final URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_urls = 4;- Parameters:
value- The bytes of the finalUrls to add.- Returns:
- This builder for chaining.
-
getFinalMobileUrlsList
public com.google.protobuf.ProtocolStringList getFinalMobileUrlsList()
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Specified by:
getFinalMobileUrlsListin interfaceAssetGroupOrBuilder- Returns:
- A list containing the finalMobileUrls.
-
getFinalMobileUrlsCount
public int getFinalMobileUrlsCount()
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Specified by:
getFinalMobileUrlsCountin interfaceAssetGroupOrBuilder- Returns:
- The count of finalMobileUrls.
-
getFinalMobileUrls
public java.lang.String getFinalMobileUrls(int index)
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Specified by:
getFinalMobileUrlsin interfaceAssetGroupOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The finalMobileUrls at the given index.
-
getFinalMobileUrlsBytes
public com.google.protobuf.ByteString getFinalMobileUrlsBytes(int index)
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Specified by:
getFinalMobileUrlsBytesin interfaceAssetGroupOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the finalMobileUrls at the given index.
-
setFinalMobileUrls
public AssetGroup.Builder setFinalMobileUrls(int index, java.lang.String value)
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Parameters:
index- The index to set the value at.value- The finalMobileUrls to set.- Returns:
- This builder for chaining.
-
addFinalMobileUrls
public AssetGroup.Builder addFinalMobileUrls(java.lang.String value)
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Parameters:
value- The finalMobileUrls to add.- Returns:
- This builder for chaining.
-
addAllFinalMobileUrls
public AssetGroup.Builder addAllFinalMobileUrls(java.lang.Iterable<java.lang.String> values)
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Parameters:
values- The finalMobileUrls to add.- Returns:
- This builder for chaining.
-
clearFinalMobileUrls
public AssetGroup.Builder clearFinalMobileUrls()
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Returns:
- This builder for chaining.
-
addFinalMobileUrlsBytes
public AssetGroup.Builder addFinalMobileUrlsBytes(com.google.protobuf.ByteString value)
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls will be eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Parameters:
value- The bytes of the finalMobileUrls to add.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
The status of the asset group.
.google.ads.googleads.v10.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6;- Specified by:
getStatusValuein interfaceAssetGroupOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public AssetGroup.Builder setStatusValue(int value)
The status of the asset group.
.google.ads.googleads.v10.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
public AssetGroupStatusEnum.AssetGroupStatus getStatus()
The status of the asset group.
.google.ads.googleads.v10.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6;- Specified by:
getStatusin interfaceAssetGroupOrBuilder- Returns:
- The status.
-
setStatus
public AssetGroup.Builder setStatus(AssetGroupStatusEnum.AssetGroupStatus value)
The status of the asset group.
.google.ads.googleads.v10.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public AssetGroup.Builder clearStatus()
The status of the asset group.
.google.ads.googleads.v10.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6;- Returns:
- This builder for chaining.
-
getPath1
public java.lang.String getPath1()
First part of text that may appear appended to the url displayed in the ad.
string path1 = 7;- Specified by:
getPath1in interfaceAssetGroupOrBuilder- Returns:
- The path1.
-
getPath1Bytes
public com.google.protobuf.ByteString getPath1Bytes()
First part of text that may appear appended to the url displayed in the ad.
string path1 = 7;- Specified by:
getPath1Bytesin interfaceAssetGroupOrBuilder- Returns:
- The bytes for path1.
-
setPath1
public AssetGroup.Builder setPath1(java.lang.String value)
First part of text that may appear appended to the url displayed in the ad.
string path1 = 7;- Parameters:
value- The path1 to set.- Returns:
- This builder for chaining.
-
clearPath1
public AssetGroup.Builder clearPath1()
First part of text that may appear appended to the url displayed in the ad.
string path1 = 7;- Returns:
- This builder for chaining.
-
setPath1Bytes
public AssetGroup.Builder setPath1Bytes(com.google.protobuf.ByteString value)
First part of text that may appear appended to the url displayed in the ad.
string path1 = 7;- Parameters:
value- The bytes for path1 to set.- Returns:
- This builder for chaining.
-
getPath2
public java.lang.String getPath2()
Second part of text that may appear appended to the url displayed in the ad. This field can only be set when path1 is set.
string path2 = 8;- Specified by:
getPath2in interfaceAssetGroupOrBuilder- Returns:
- The path2.
-
getPath2Bytes
public com.google.protobuf.ByteString getPath2Bytes()
Second part of text that may appear appended to the url displayed in the ad. This field can only be set when path1 is set.
string path2 = 8;- Specified by:
getPath2Bytesin interfaceAssetGroupOrBuilder- Returns:
- The bytes for path2.
-
setPath2
public AssetGroup.Builder setPath2(java.lang.String value)
Second part of text that may appear appended to the url displayed in the ad. This field can only be set when path1 is set.
string path2 = 8;- Parameters:
value- The path2 to set.- Returns:
- This builder for chaining.
-
clearPath2
public AssetGroup.Builder clearPath2()
Second part of text that may appear appended to the url displayed in the ad. This field can only be set when path1 is set.
string path2 = 8;- Returns:
- This builder for chaining.
-
setPath2Bytes
public AssetGroup.Builder setPath2Bytes(com.google.protobuf.ByteString value)
Second part of text that may appear appended to the url displayed in the ad. This field can only be set when path1 is set.
string path2 = 8;- Parameters:
value- The bytes for path2 to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AssetGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
mergeUnknownFields
public final AssetGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
-