Class AssetGroup.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
com.google.ads.googleads.v18.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,Cloneable
- Enclosing class:
- AssetGroup
public static final class AssetGroup.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
implements AssetGroupOrBuilder
An asset group. AssetGroupAsset is used to link an asset to the asset group. AssetGroupSignal is used to associate a signal to an asset group.Protobuf type
google.ads.googleads.v18.resources.AssetGroup-
Method Summary
Modifier and TypeMethodDescriptionaddAllFinalMobileUrls(Iterable<String> values) A list of final mobile URLs after all cross domain redirects.addAllFinalUrls(Iterable<String> values) A list of final URLs after all cross domain redirects.addAllPrimaryStatusReasons(Iterable<? extends AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason> values) Output only.Output only.addFinalMobileUrls(String value) A list of final mobile URLs after all cross domain redirects.addFinalMobileUrlsBytes(com.google.protobuf.ByteString value) A list of final mobile URLs after all cross domain redirects.addFinalUrls(String value) A list of final URLs after all cross domain redirects.addFinalUrlsBytes(com.google.protobuf.ByteString value) A list of final URLs after all cross domain redirects.Output only.addPrimaryStatusReasonsValue(int value) Output only.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Output only.Immutable.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A list of final mobile URLs after all cross domain redirects.A list of final URLs after all cross domain redirects.clearId()Output only.Required.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) First part of text that may appear appended to the url displayed in the ad.Second part of text that may appear appended to the url displayed in the ad.Output only.Output only.Immutable.The status of the asset group.clone()Output only.intOutput only.Immutable.com.google.protobuf.ByteStringImmutable.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFinalMobileUrls(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.intA list of final mobile URLs after all cross domain redirects.com.google.protobuf.ProtocolStringListA list of final mobile URLs after all cross domain redirects.getFinalUrls(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.intA list of final URLs after all cross domain redirects.com.google.protobuf.ProtocolStringListA list of final URLs after all cross domain redirects.longgetId()Output only.getName()Required.com.google.protobuf.ByteStringRequired.getPath1()First part of text that may appear appended to the url displayed in the ad.com.google.protobuf.ByteStringFirst part of text that may appear appended to the url displayed in the ad.getPath2()Second part of text that may appear appended to the url displayed in the ad.com.google.protobuf.ByteStringSecond part of text that may appear appended to the url displayed in the ad.Output only.getPrimaryStatusReasons(int index) Output only.intOutput only.Output only.intgetPrimaryStatusReasonsValue(int index) Output only.Output only.intOutput only.Immutable.com.google.protobuf.ByteStringImmutable.The status of the asset group.intThe status of the asset group.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(AssetGroup other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) final AssetGroup.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Output only.setAdStrengthValue(int value) Output only.setCampaign(String value) Immutable.setCampaignBytes(com.google.protobuf.ByteString value) Immutable.setFinalMobileUrls(int index, String value) A list of final mobile URLs after all cross domain redirects.setFinalUrls(int index, String value) A list of final URLs after all cross domain redirects.setId(long value) Output only.Required.setNameBytes(com.google.protobuf.ByteString value) Required.First part of text that may appear appended to the url displayed in the ad.setPath1Bytes(com.google.protobuf.ByteString value) First part of text that may appear appended to the url displayed in the ad.Second part of text that may appear appended to the url displayed in the ad.setPath2Bytes(com.google.protobuf.ByteString value) Second part of text that may appear appended to the url displayed in the ad.Output only.setPrimaryStatusReasons(int index, AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason value) Output only.setPrimaryStatusReasonsValue(int index, int value) Output only.setPrimaryStatusValue(int value) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceName(String value) Immutable.setResourceNameBytes(com.google.protobuf.ByteString value) Immutable.The status of the asset group.setStatusValue(int value) The status of the asset group.final 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, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.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()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<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
- 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<AssetGroup.Builder>
-
setField
public AssetGroup.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<AssetGroup.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
clearOneof
- 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AssetGroup.Builder>
-
mergeFrom
-
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 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:
IOException
-
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
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
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
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
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
Output only. The ID of the asset group.
int64 id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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
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
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
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
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
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
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
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 are 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 are eligible for expansion unless opted out.
repeated string final_urls = 4;- Specified by:
getFinalUrlsCountin interfaceAssetGroupOrBuilder- Returns:
- The count of finalUrls.
-
getFinalUrls
A list of final URLs after all cross domain redirects. In performance max, by default, the urls are 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 are 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
A list of final URLs after all cross domain redirects. In performance max, by default, the urls are 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
A list of final URLs after all cross domain redirects. In performance max, by default, the urls are eligible for expansion unless opted out.
repeated string final_urls = 4;- Parameters:
value- The finalUrls to add.- Returns:
- This builder for chaining.
-
addAllFinalUrls
A list of final URLs after all cross domain redirects. In performance max, by default, the urls are eligible for expansion unless opted out.
repeated string final_urls = 4;- Parameters:
values- The finalUrls to add.- Returns:
- This builder for chaining.
-
clearFinalUrls
A list of final URLs after all cross domain redirects. In performance max, by default, the urls are eligible for expansion unless opted out.
repeated string final_urls = 4;- Returns:
- This builder for chaining.
-
addFinalUrlsBytes
A list of final URLs after all cross domain redirects. In performance max, by default, the urls are 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 are 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 are eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Specified by:
getFinalMobileUrlsCountin interfaceAssetGroupOrBuilder- Returns:
- The count of finalMobileUrls.
-
getFinalMobileUrls
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls are 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 are 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
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls are 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
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls are eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Parameters:
value- The finalMobileUrls to add.- Returns:
- This builder for chaining.
-
addAllFinalMobileUrls
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls are eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Parameters:
values- The finalMobileUrls to add.- Returns:
- This builder for chaining.
-
clearFinalMobileUrls
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls are eligible for expansion unless opted out.
repeated string final_mobile_urls = 5;- Returns:
- This builder for chaining.
-
addFinalMobileUrlsBytes
A list of final mobile URLs after all cross domain redirects. In performance max, by default, the urls are 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.v18.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6;- Specified by:
getStatusValuein interfaceAssetGroupOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
The status of the asset group.
.google.ads.googleads.v18.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
getStatus
The status of the asset group.
.google.ads.googleads.v18.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6;- Specified by:
getStatusin interfaceAssetGroupOrBuilder- Returns:
- The status.
-
setStatus
The status of the asset group.
.google.ads.googleads.v18.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
The status of the asset group.
.google.ads.googleads.v18.enums.AssetGroupStatusEnum.AssetGroupStatus status = 6;- Returns:
- This builder for chaining.
-
getPrimaryStatusValue
public int getPrimaryStatusValue()Output only. The primary status of the asset group. Provides insights into why an asset group is not serving or not serving optimally.
.google.ads.googleads.v18.enums.AssetGroupPrimaryStatusEnum.AssetGroupPrimaryStatus primary_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusValuein interfaceAssetGroupOrBuilder- Returns:
- The enum numeric value on the wire for primaryStatus.
-
setPrimaryStatusValue
Output only. The primary status of the asset group. Provides insights into why an asset group is not serving or not serving optimally.
.google.ads.googleads.v18.enums.AssetGroupPrimaryStatusEnum.AssetGroupPrimaryStatus primary_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for primaryStatus to set.- Returns:
- This builder for chaining.
-
getPrimaryStatus
Output only. The primary status of the asset group. Provides insights into why an asset group is not serving or not serving optimally.
.google.ads.googleads.v18.enums.AssetGroupPrimaryStatusEnum.AssetGroupPrimaryStatus primary_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusin interfaceAssetGroupOrBuilder- Returns:
- The primaryStatus.
-
setPrimaryStatus
public AssetGroup.Builder setPrimaryStatus(AssetGroupPrimaryStatusEnum.AssetGroupPrimaryStatus value) Output only. The primary status of the asset group. Provides insights into why an asset group is not serving or not serving optimally.
.google.ads.googleads.v18.enums.AssetGroupPrimaryStatusEnum.AssetGroupPrimaryStatus primary_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The primaryStatus to set.- Returns:
- This builder for chaining.
-
clearPrimaryStatus
Output only. The primary status of the asset group. Provides insights into why an asset group is not serving or not serving optimally.
.google.ads.googleads.v18.enums.AssetGroupPrimaryStatusEnum.AssetGroupPrimaryStatus primary_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getPrimaryStatusReasonsList
public List<AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason> getPrimaryStatusReasonsList()Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsListin interfaceAssetGroupOrBuilder- Returns:
- A list containing the primaryStatusReasons.
-
getPrimaryStatusReasonsCount
public int getPrimaryStatusReasonsCount()Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsCountin interfaceAssetGroupOrBuilder- Returns:
- The count of primaryStatusReasons.
-
getPrimaryStatusReasons
public AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason getPrimaryStatusReasons(int index) Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsin interfaceAssetGroupOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The primaryStatusReasons at the given index.
-
setPrimaryStatusReasons
public AssetGroup.Builder setPrimaryStatusReasons(int index, AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason value) Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The primaryStatusReasons to set.- Returns:
- This builder for chaining.
-
addPrimaryStatusReasons
public AssetGroup.Builder addPrimaryStatusReasons(AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason value) Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
addAllPrimaryStatusReasons
public AssetGroup.Builder addAllPrimaryStatusReasons(Iterable<? extends AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason> values) Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
clearPrimaryStatusReasons
Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getPrimaryStatusReasonsValueList
Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsValueListin interfaceAssetGroupOrBuilder- Returns:
- A list containing the enum numeric values on the wire for primaryStatusReasons.
-
getPrimaryStatusReasonsValue
public int getPrimaryStatusReasonsValue(int index) Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPrimaryStatusReasonsValuein interfaceAssetGroupOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of primaryStatusReasons at the given index.
-
setPrimaryStatusReasonsValue
Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for primaryStatusReasons to set.- Returns:
- This builder for chaining.
-
addPrimaryStatusReasonsValue
Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
addAllPrimaryStatusReasonsValue
Output only. Provides reasons into why an asset group is not serving or not serving optimally. It will be empty when the asset group is serving without issues.
repeated .google.ads.googleads.v18.enums.AssetGroupPrimaryStatusReasonEnum.AssetGroupPrimaryStatusReason primary_status_reasons = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
values- The enum numeric values on the wire for primaryStatusReasons to add.- Returns:
- This builder for chaining.
-
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
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
First part of text that may appear appended to the url displayed in the ad.
string path1 = 7;- Returns:
- This builder for chaining.
-
setPath1Bytes
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
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
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
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
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.
-
getAdStrengthValue
public int getAdStrengthValue()Output only. Overall ad strength of this asset group.
.google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdStrengthValuein interfaceAssetGroupOrBuilder- Returns:
- The enum numeric value on the wire for adStrength.
-
setAdStrengthValue
Output only. Overall ad strength of this asset group.
.google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for adStrength to set.- Returns:
- This builder for chaining.
-
getAdStrength
Output only. Overall ad strength of this asset group.
.google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAdStrengthin interfaceAssetGroupOrBuilder- Returns:
- The adStrength.
-
setAdStrength
Output only. Overall ad strength of this asset group.
.google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The adStrength to set.- Returns:
- This builder for chaining.
-
clearAdStrength
Output only. Overall ad strength of this asset group.
.google.ads.googleads.v18.enums.AdStrengthEnum.AdStrength ad_strength = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUnknownFields
- 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>
-