Class CampaignAsset.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder>
com.google.ads.googleads.v18.resources.CampaignAsset.Builder
All Implemented Interfaces:
CampaignAssetOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CampaignAsset

public static final class CampaignAsset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CampaignAsset.Builder> implements CampaignAssetOrBuilder
 A link between a Campaign and an Asset.
 
Protobuf type google.ads.googleads.v18.resources.CampaignAsset
  • 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<CampaignAsset.Builder>
    • clear

      public CampaignAsset.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<CampaignAsset.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<CampaignAsset.Builder>
    • getDefaultInstanceForType

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

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

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

      public CampaignAsset.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<CampaignAsset.Builder>
    • setField

      public CampaignAsset.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<CampaignAsset.Builder>
    • clearField

      public CampaignAsset.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<CampaignAsset.Builder>
    • clearOneof

      public CampaignAsset.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<CampaignAsset.Builder>
    • setRepeatedField

      public CampaignAsset.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<CampaignAsset.Builder>
    • addRepeatedField

      public CampaignAsset.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<CampaignAsset.Builder>
    • mergeFrom

      public CampaignAsset.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<CampaignAsset.Builder>
    • mergeFrom

      public CampaignAsset.Builder mergeFrom(CampaignAsset other)
    • isInitialized

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

      public CampaignAsset.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<CampaignAsset.Builder>
      Throws:
      IOException
    • getResourceName

      public String getResourceName()
       Immutable. The resource name of the campaign asset.
       CampaignAsset resource names have the form:
      
       `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface CampaignAssetOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the campaign asset.
       CampaignAsset resource names have the form:
      
       `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface CampaignAssetOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public CampaignAsset.Builder setResourceName(String value)
       Immutable. The resource name of the campaign asset.
       CampaignAsset resource names have the form:
      
       `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`
       
      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 CampaignAsset.Builder clearResourceName()
       Immutable. The resource name of the campaign asset.
       CampaignAsset resource names have the form:
      
       `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public CampaignAsset.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Immutable. The resource name of the campaign asset.
       CampaignAsset resource names have the form:
      
       `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}`
       
      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.
    • hasCampaign

      public boolean hasCampaign()
       Immutable. The campaign to which the asset is linked.
       
      optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      hasCampaign in interface CampaignAssetOrBuilder
      Returns:
      Whether the campaign field is set.
    • getCampaign

      public String getCampaign()
       Immutable. The campaign to which the asset is linked.
       
      optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaign in interface CampaignAssetOrBuilder
      Returns:
      The campaign.
    • getCampaignBytes

      public com.google.protobuf.ByteString getCampaignBytes()
       Immutable. The campaign to which the asset is linked.
       
      optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignBytes in interface CampaignAssetOrBuilder
      Returns:
      The bytes for campaign.
    • setCampaign

      public CampaignAsset.Builder setCampaign(String value)
       Immutable. The campaign to which the asset is linked.
       
      optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The campaign to set.
      Returns:
      This builder for chaining.
    • clearCampaign

      public CampaignAsset.Builder clearCampaign()
       Immutable. The campaign to which the asset is linked.
       
      optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setCampaignBytes

      public CampaignAsset.Builder setCampaignBytes(com.google.protobuf.ByteString value)
       Immutable. The campaign to which the asset is linked.
       
      optional string campaign = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for campaign to set.
      Returns:
      This builder for chaining.
    • hasAsset

      public boolean hasAsset()
       Immutable. The asset which is linked to the campaign.
       
      optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      hasAsset in interface CampaignAssetOrBuilder
      Returns:
      Whether the asset field is set.
    • getAsset

      public String getAsset()
       Immutable. The asset which is linked to the campaign.
       
      optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getAsset in interface CampaignAssetOrBuilder
      Returns:
      The asset.
    • getAssetBytes

      public com.google.protobuf.ByteString getAssetBytes()
       Immutable. The asset which is linked to the campaign.
       
      optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getAssetBytes in interface CampaignAssetOrBuilder
      Returns:
      The bytes for asset.
    • setAsset

      public CampaignAsset.Builder setAsset(String value)
       Immutable. The asset which is linked to the campaign.
       
      optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The asset to set.
      Returns:
      This builder for chaining.
    • clearAsset

      public CampaignAsset.Builder clearAsset()
       Immutable. The asset which is linked to the campaign.
       
      optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setAssetBytes

      public CampaignAsset.Builder setAssetBytes(com.google.protobuf.ByteString value)
       Immutable. The asset which is linked to the campaign.
       
      optional string asset = 7 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for asset to set.
      Returns:
      This builder for chaining.
    • getFieldTypeValue

      public int getFieldTypeValue()
       Immutable. Role that the asset takes under the linked campaign.
       Required.
       
      .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFieldTypeValue in interface CampaignAssetOrBuilder
      Returns:
      The enum numeric value on the wire for fieldType.
    • setFieldTypeValue

      public CampaignAsset.Builder setFieldTypeValue(int value)
       Immutable. Role that the asset takes under the linked campaign.
       Required.
       
      .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The enum numeric value on the wire for fieldType to set.
      Returns:
      This builder for chaining.
    • getFieldType

      public AssetFieldTypeEnum.AssetFieldType getFieldType()
       Immutable. Role that the asset takes under the linked campaign.
       Required.
       
      .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getFieldType in interface CampaignAssetOrBuilder
      Returns:
      The fieldType.
    • setFieldType

       Immutable. Role that the asset takes under the linked campaign.
       Required.
       
      .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The fieldType to set.
      Returns:
      This builder for chaining.
    • clearFieldType

      public CampaignAsset.Builder clearFieldType()
       Immutable. Role that the asset takes under the linked campaign.
       Required.
       
      .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • getSourceValue

      public int getSourceValue()
       Output only. Source of the campaign asset link.
       
      .google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSourceValue in interface CampaignAssetOrBuilder
      Returns:
      The enum numeric value on the wire for source.
    • setSourceValue

      public CampaignAsset.Builder setSourceValue(int value)
       Output only. Source of the campaign asset link.
       
      .google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for source to set.
      Returns:
      This builder for chaining.
    • getSource

      public AssetSourceEnum.AssetSource getSource()
       Output only. Source of the campaign asset link.
       
      .google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSource in interface CampaignAssetOrBuilder
      Returns:
      The source.
    • setSource

       Output only. Source of the campaign asset link.
       
      .google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public CampaignAsset.Builder clearSource()
       Output only. Source of the campaign asset link.
       
      .google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getStatusValue

      public int getStatusValue()
       Status of the campaign asset.
       
      .google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;
      Specified by:
      getStatusValue in interface CampaignAssetOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public CampaignAsset.Builder setStatusValue(int value)
       Status of the campaign asset.
       
      .google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

       Status of the campaign asset.
       
      .google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;
      Specified by:
      getStatus in interface CampaignAssetOrBuilder
      Returns:
      The status.
    • setStatus

       Status of the campaign asset.
       
      .google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public CampaignAsset.Builder clearStatus()
       Status of the campaign asset.
       
      .google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;
      Returns:
      This builder for chaining.
    • getPrimaryStatusValue

      public int getPrimaryStatusValue()
       Output only. Provides the PrimaryStatus of this asset link.
       Primary status is meant essentially to differentiate between the plain
       "status" field, which has advertiser set values of enabled, paused, or
       removed.  The primary status takes into account other signals (for assets
       its mainly policy and quality approvals) to come up with a more
       comprehensive status to indicate its serving state.
       
      .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusValue in interface CampaignAssetOrBuilder
      Returns:
      The enum numeric value on the wire for primaryStatus.
    • setPrimaryStatusValue

      public CampaignAsset.Builder setPrimaryStatusValue(int value)
       Output only. Provides the PrimaryStatus of this asset link.
       Primary status is meant essentially to differentiate between the plain
       "status" field, which has advertiser set values of enabled, paused, or
       removed.  The primary status takes into account other signals (for assets
       its mainly policy and quality approvals) to come up with a more
       comprehensive status to indicate its serving state.
       
      .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.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. Provides the PrimaryStatus of this asset link.
       Primary status is meant essentially to differentiate between the plain
       "status" field, which has advertiser set values of enabled, paused, or
       removed.  The primary status takes into account other signals (for assets
       its mainly policy and quality approvals) to come up with a more
       comprehensive status to indicate its serving state.
       
      .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatus in interface CampaignAssetOrBuilder
      Returns:
      The primaryStatus.
    • setPrimaryStatus

       Output only. Provides the PrimaryStatus of this asset link.
       Primary status is meant essentially to differentiate between the plain
       "status" field, which has advertiser set values of enabled, paused, or
       removed.  The primary status takes into account other signals (for assets
       its mainly policy and quality approvals) to come up with a more
       comprehensive status to indicate its serving state.
       
      .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The primaryStatus to set.
      Returns:
      This builder for chaining.
    • clearPrimaryStatus

      public CampaignAsset.Builder clearPrimaryStatus()
       Output only. Provides the PrimaryStatus of this asset link.
       Primary status is meant essentially to differentiate between the plain
       "status" field, which has advertiser set values of enabled, paused, or
       removed.  The primary status takes into account other signals (for assets
       its mainly policy and quality approvals) to come up with a more
       comprehensive status to indicate its serving state.
       
      .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusEnum.AssetLinkPrimaryStatus primary_status = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getPrimaryStatusDetailsList

      public List<AssetLinkPrimaryStatusDetails> getPrimaryStatusDetailsList()
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusDetailsList in interface CampaignAssetOrBuilder
    • getPrimaryStatusDetailsCount

      public int getPrimaryStatusDetailsCount()
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusDetailsCount in interface CampaignAssetOrBuilder
    • getPrimaryStatusDetails

      public AssetLinkPrimaryStatusDetails getPrimaryStatusDetails(int index)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusDetails in interface CampaignAssetOrBuilder
    • setPrimaryStatusDetails

      public CampaignAsset.Builder setPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails value)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPrimaryStatusDetails

      public CampaignAsset.Builder setPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails.Builder builderForValue)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPrimaryStatusDetails

      public CampaignAsset.Builder addPrimaryStatusDetails(AssetLinkPrimaryStatusDetails value)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPrimaryStatusDetails

      public CampaignAsset.Builder addPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails value)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPrimaryStatusDetails

      public CampaignAsset.Builder addPrimaryStatusDetails(AssetLinkPrimaryStatusDetails.Builder builderForValue)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPrimaryStatusDetails

      public CampaignAsset.Builder addPrimaryStatusDetails(int index, AssetLinkPrimaryStatusDetails.Builder builderForValue)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllPrimaryStatusDetails

      public CampaignAsset.Builder addAllPrimaryStatusDetails(Iterable<? extends AssetLinkPrimaryStatusDetails> values)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPrimaryStatusDetails

      public CampaignAsset.Builder clearPrimaryStatusDetails()
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removePrimaryStatusDetails

      public CampaignAsset.Builder removePrimaryStatusDetails(int index)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPrimaryStatusDetailsBuilder

      public AssetLinkPrimaryStatusDetails.Builder getPrimaryStatusDetailsBuilder(int index)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPrimaryStatusDetailsOrBuilder

      public AssetLinkPrimaryStatusDetailsOrBuilder getPrimaryStatusDetailsOrBuilder(int index)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusDetailsOrBuilder in interface CampaignAssetOrBuilder
    • getPrimaryStatusDetailsOrBuilderList

      public List<? extends AssetLinkPrimaryStatusDetailsOrBuilder> getPrimaryStatusDetailsOrBuilderList()
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusDetailsOrBuilderList in interface CampaignAssetOrBuilder
    • addPrimaryStatusDetailsBuilder

      public AssetLinkPrimaryStatusDetails.Builder addPrimaryStatusDetailsBuilder()
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPrimaryStatusDetailsBuilder

      public AssetLinkPrimaryStatusDetails.Builder addPrimaryStatusDetailsBuilder(int index)
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPrimaryStatusDetailsBuilderList

      public List<AssetLinkPrimaryStatusDetails.Builder> getPrimaryStatusDetailsBuilderList()
       Output only. Provides the details of the primary status and its associated
       reasons.
       
      repeated .google.ads.googleads.v18.common.AssetLinkPrimaryStatusDetails primary_status_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPrimaryStatusReasonsList

       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsList in interface CampaignAssetOrBuilder
      Returns:
      A list containing the primaryStatusReasons.
    • getPrimaryStatusReasonsCount

      public int getPrimaryStatusReasonsCount()
       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsCount in interface CampaignAssetOrBuilder
      Returns:
      The count of primaryStatusReasons.
    • getPrimaryStatusReasons

      public AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason getPrimaryStatusReasons(int index)
       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasons in interface CampaignAssetOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The primaryStatusReasons at the given index.
    • setPrimaryStatusReasons

       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.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 a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The primaryStatusReasons to add.
      Returns:
      This builder for chaining.
    • addAllPrimaryStatusReasons

       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The primaryStatusReasons to add.
      Returns:
      This builder for chaining.
    • clearPrimaryStatusReasons

      public CampaignAsset.Builder clearPrimaryStatusReasons()
       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getPrimaryStatusReasonsValueList

      public List<Integer> getPrimaryStatusReasonsValueList()
       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsValueList in interface CampaignAssetOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for primaryStatusReasons.
    • getPrimaryStatusReasonsValue

      public int getPrimaryStatusReasonsValue(int index)
       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsValue in interface CampaignAssetOrBuilder
      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 CampaignAsset.Builder setPrimaryStatusReasonsValue(int index, int value)
       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.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 CampaignAsset.Builder addPrimaryStatusReasonsValue(int value)
       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.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 CampaignAsset.Builder addAllPrimaryStatusReasonsValue(Iterable<Integer> values)
       Output only. Provides a list of reasons for why an asset is not serving or
       not serving at full capacity.
       
      repeated .google.ads.googleads.v18.enums.AssetLinkPrimaryStatusReasonEnum.AssetLinkPrimaryStatusReason primary_status_reasons = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The enum numeric values on the wire for primaryStatusReasons to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final CampaignAsset.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<CampaignAsset.Builder>
    • mergeUnknownFields

      public final CampaignAsset.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<CampaignAsset.Builder>