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 Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AssetGroup.Builder>
    • clear

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

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

      public AssetGroup getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

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

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

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

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

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

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

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

      public AssetGroup.Builder mergeFrom(AssetGroup other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AssetGroup.Builder>
      Throws:
      IOException
    • getResourceName

      public 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:
      getResourceName in interface AssetGroupOrBuilder
      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:
      getResourceNameBytes in interface AssetGroupOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public AssetGroup.Builder setResourceName(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:
      getId in interface AssetGroupOrBuilder
      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 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:
      getCampaign in interface AssetGroupOrBuilder
      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:
      getCampaignBytes in interface AssetGroupOrBuilder
      Returns:
      The bytes for campaign.
    • setCampaign

      public AssetGroup.Builder setCampaign(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 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:
      getName in interface AssetGroupOrBuilder
      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:
      getNameBytes in interface AssetGroupOrBuilder
      Returns:
      The bytes for name.
    • setName

      public AssetGroup.Builder setName(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 are eligible for expansion unless opted out.
       
      repeated string final_urls = 4;
      Specified by:
      getFinalUrlsList in interface AssetGroupOrBuilder
      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:
      getFinalUrlsCount in interface AssetGroupOrBuilder
      Returns:
      The count of finalUrls.
    • getFinalUrls

      public String getFinalUrls(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:
      getFinalUrls in interface AssetGroupOrBuilder
      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:
      getFinalUrlsBytes in interface AssetGroupOrBuilder
      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, String value)
       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

      public AssetGroup.Builder addFinalUrls(String value)
       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

      public AssetGroup.Builder addAllFinalUrls(Iterable<String> values)
       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

      public AssetGroup.Builder 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

      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 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:
      getFinalMobileUrlsList in interface AssetGroupOrBuilder
      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:
      getFinalMobileUrlsCount in interface AssetGroupOrBuilder
      Returns:
      The count of finalMobileUrls.
    • getFinalMobileUrls

      public String getFinalMobileUrls(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:
      getFinalMobileUrls in interface AssetGroupOrBuilder
      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:
      getFinalMobileUrlsBytes in interface AssetGroupOrBuilder
      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, String value)
       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

      public AssetGroup.Builder addFinalMobileUrls(String value)
       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

      public AssetGroup.Builder addAllFinalMobileUrls(Iterable<String> values)
       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

      public AssetGroup.Builder 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

      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 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:
      getStatusValue in interface AssetGroupOrBuilder
      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.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:
      getStatus in interface AssetGroupOrBuilder
      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

      public AssetGroup.Builder 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:
      getPrimaryStatusValue in interface AssetGroupOrBuilder
      Returns:
      The enum numeric value on the wire for primaryStatus.
    • setPrimaryStatusValue

      public AssetGroup.Builder setPrimaryStatusValue(int 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 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:
      getPrimaryStatus in interface AssetGroupOrBuilder
      Returns:
      The primaryStatus.
    • setPrimaryStatus

       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

      public AssetGroup.Builder 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

       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:
      getPrimaryStatusReasonsList in interface AssetGroupOrBuilder
      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:
      getPrimaryStatusReasonsCount in interface AssetGroupOrBuilder
      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:
      getPrimaryStatusReasons in interface AssetGroupOrBuilder
      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

       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

       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

      public AssetGroup.Builder 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

      public List<Integer> 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:
      getPrimaryStatusReasonsValueList in interface AssetGroupOrBuilder
      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:
      getPrimaryStatusReasonsValue in interface AssetGroupOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of primaryStatusReasons at the given index.
    • setPrimaryStatusReasonsValue

      public AssetGroup.Builder setPrimaryStatusReasonsValue(int index, int 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 enum numeric value on the wire for primaryStatusReasons to set.
      Returns:
      This builder for chaining.
    • addPrimaryStatusReasonsValue

      public AssetGroup.Builder addPrimaryStatusReasonsValue(int 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 enum numeric value on the wire for primaryStatusReasons to add.
      Returns:
      This builder for chaining.
    • addAllPrimaryStatusReasonsValue

      public AssetGroup.Builder addAllPrimaryStatusReasonsValue(Iterable<Integer> 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 enum numeric values on the wire for primaryStatusReasons to add.
      Returns:
      This builder for chaining.
    • getPath1

      public String getPath1()
       First part of text that may appear appended to the url displayed in
       the ad.
       
      string path1 = 7;
      Specified by:
      getPath1 in interface AssetGroupOrBuilder
      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:
      getPath1Bytes in interface AssetGroupOrBuilder
      Returns:
      The bytes for path1.
    • setPath1

      public AssetGroup.Builder setPath1(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 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:
      getPath2 in interface AssetGroupOrBuilder
      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:
      getPath2Bytes in interface AssetGroupOrBuilder
      Returns:
      The bytes for path2.
    • setPath2

      public AssetGroup.Builder setPath2(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.
    • 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:
      getAdStrengthValue in interface AssetGroupOrBuilder
      Returns:
      The enum numeric value on the wire for adStrength.
    • setAdStrengthValue

      public AssetGroup.Builder setAdStrengthValue(int value)
       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

      public AdStrengthEnum.AdStrength 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:
      getAdStrength in interface AssetGroupOrBuilder
      Returns:
      The adStrength.
    • setAdStrength

      public AssetGroup.Builder setAdStrength(AdStrengthEnum.AdStrength value)
       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

      public AssetGroup.Builder 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

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

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