Class AssetGroupAsset.Builder

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

public static final class AssetGroupAsset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AssetGroupAsset.Builder> implements AssetGroupAssetOrBuilder
 AssetGroupAsset is the link between an asset and an asset group.
 Adding an AssetGroupAsset links an asset with an asset group.
 
Protobuf type google.ads.googleads.v18.resources.AssetGroupAsset
  • 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<AssetGroupAsset.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public AssetGroupAsset.Builder mergeFrom(AssetGroupAsset other)
    • isInitialized

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

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

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

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

      public AssetGroupAsset.Builder setResourceName(String value)
       Immutable. The resource name of the asset group asset.
       Asset group asset resource name have the form:
      
       `customers/{customer_id}/assetGroupAssets/{asset_group_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 AssetGroupAsset.Builder clearResourceName()
       Immutable. The resource name of the asset group asset.
       Asset group asset resource name have the form:
      
       `customers/{customer_id}/assetGroupAssets/{asset_group_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 AssetGroupAsset.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Immutable. The resource name of the asset group asset.
       Asset group asset resource name have the form:
      
       `customers/{customer_id}/assetGroupAssets/{asset_group_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.
    • getAssetGroup

      public String getAssetGroup()
       Immutable. The asset group which this asset group asset is linking.
       
      string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getAssetGroup in interface AssetGroupAssetOrBuilder
      Returns:
      The assetGroup.
    • getAssetGroupBytes

      public com.google.protobuf.ByteString getAssetGroupBytes()
       Immutable. The asset group which this asset group asset is linking.
       
      string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getAssetGroupBytes in interface AssetGroupAssetOrBuilder
      Returns:
      The bytes for assetGroup.
    • setAssetGroup

      public AssetGroupAsset.Builder setAssetGroup(String value)
       Immutable. The asset group which this asset group asset is linking.
       
      string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The assetGroup to set.
      Returns:
      This builder for chaining.
    • clearAssetGroup

      public AssetGroupAsset.Builder clearAssetGroup()
       Immutable. The asset group which this asset group asset is linking.
       
      string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setAssetGroupBytes

      public AssetGroupAsset.Builder setAssetGroupBytes(com.google.protobuf.ByteString value)
       Immutable. The asset group which this asset group asset is linking.
       
      string asset_group = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for assetGroup to set.
      Returns:
      This builder for chaining.
    • getAsset

      public String getAsset()
       Immutable. The asset which this asset group asset is linking.
       
      string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getAsset in interface AssetGroupAssetOrBuilder
      Returns:
      The asset.
    • getAssetBytes

      public com.google.protobuf.ByteString getAssetBytes()
       Immutable. The asset which this asset group asset is linking.
       
      string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getAssetBytes in interface AssetGroupAssetOrBuilder
      Returns:
      The bytes for asset.
    • setAsset

      public AssetGroupAsset.Builder setAsset(String value)
       Immutable. The asset which this asset group asset is linking.
       
      string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The asset to set.
      Returns:
      This builder for chaining.
    • clearAsset

      public AssetGroupAsset.Builder clearAsset()
       Immutable. The asset which this asset group asset is linking.
       
      string asset = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setAssetBytes

      public AssetGroupAsset.Builder setAssetBytes(com.google.protobuf.ByteString value)
       Immutable. The asset which this asset group asset is linking.
       
      string asset = 3 [(.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()
       The description of the placement of the asset within the asset group. For
       example: HEADLINE, YOUTUBE_VIDEO etc
       
      .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4;
      Specified by:
      getFieldTypeValue in interface AssetGroupAssetOrBuilder
      Returns:
      The enum numeric value on the wire for fieldType.
    • setFieldTypeValue

      public AssetGroupAsset.Builder setFieldTypeValue(int value)
       The description of the placement of the asset within the asset group. For
       example: HEADLINE, YOUTUBE_VIDEO etc
       
      .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4;
      Parameters:
      value - The enum numeric value on the wire for fieldType to set.
      Returns:
      This builder for chaining.
    • getFieldType

      public AssetFieldTypeEnum.AssetFieldType getFieldType()
       The description of the placement of the asset within the asset group. For
       example: HEADLINE, YOUTUBE_VIDEO etc
       
      .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4;
      Specified by:
      getFieldType in interface AssetGroupAssetOrBuilder
      Returns:
      The fieldType.
    • setFieldType

       The description of the placement of the asset within the asset group. For
       example: HEADLINE, YOUTUBE_VIDEO etc
       
      .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4;
      Parameters:
      value - The fieldType to set.
      Returns:
      This builder for chaining.
    • clearFieldType

      public AssetGroupAsset.Builder clearFieldType()
       The description of the placement of the asset within the asset group. For
       example: HEADLINE, YOUTUBE_VIDEO etc
       
      .google.ads.googleads.v18.enums.AssetFieldTypeEnum.AssetFieldType field_type = 4;
      Returns:
      This builder for chaining.
    • getStatusValue

      public int getStatusValue()
       The status of the link between an asset and asset group.
       
      .google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;
      Specified by:
      getStatusValue in interface AssetGroupAssetOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public AssetGroupAsset.Builder setStatusValue(int value)
       The status of the link between an asset and asset group.
       
      .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

       The status of the link between an asset and asset group.
       
      .google.ads.googleads.v18.enums.AssetLinkStatusEnum.AssetLinkStatus status = 5;
      Specified by:
      getStatus in interface AssetGroupAssetOrBuilder
      Returns:
      The status.
    • setStatus

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

      public AssetGroupAsset.Builder clearStatus()
       The status of the link between an asset and asset group.
       
      .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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusValue in interface AssetGroupAssetOrBuilder
      Returns:
      The enum numeric value on the wire for primaryStatus.
    • setPrimaryStatusValue

      public AssetGroupAsset.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 = 8 [(.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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatus in interface AssetGroupAssetOrBuilder
      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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The primaryStatus to set.
      Returns:
      This builder for chaining.
    • clearPrimaryStatus

      public AssetGroupAsset.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 = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsList in interface AssetGroupAssetOrBuilder
      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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsCount in interface AssetGroupAssetOrBuilder
      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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasons in interface AssetGroupAssetOrBuilder
      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 = 9 [(.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 = 9 [(.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The primaryStatusReasons to add.
      Returns:
      This builder for chaining.
    • clearPrimaryStatusReasons

      public AssetGroupAsset.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 = 9 [(.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsValueList in interface AssetGroupAssetOrBuilder
      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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPrimaryStatusReasonsValue in interface AssetGroupAssetOrBuilder
      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 AssetGroupAsset.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 = 9 [(.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 AssetGroupAsset.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 = 9 [(.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 AssetGroupAsset.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 = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      values - The enum numeric values on the wire for primaryStatusReasons to add.
      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 AssetGroupAssetOrBuilder
    • 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 AssetGroupAssetOrBuilder
    • 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 AssetGroupAssetOrBuilder
    • setPrimaryStatusDetails

      public AssetGroupAsset.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 AssetGroupAsset.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 AssetGroupAsset.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 AssetGroupAsset.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 AssetGroupAsset.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 AssetGroupAsset.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 AssetGroupAsset.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 AssetGroupAsset.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 AssetGroupAsset.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 AssetGroupAssetOrBuilder
    • 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 AssetGroupAssetOrBuilder
    • 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];
    • getPerformanceLabelValue

      public int getPerformanceLabelValue()
       Output only. The performance of this asset group asset.
       
      .google.ads.googleads.v18.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceLabelValue in interface AssetGroupAssetOrBuilder
      Returns:
      The enum numeric value on the wire for performanceLabel.
    • setPerformanceLabelValue

      public AssetGroupAsset.Builder setPerformanceLabelValue(int value)
       Output only. The performance of this asset group asset.
       
      .google.ads.googleads.v18.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for performanceLabel to set.
      Returns:
      This builder for chaining.
    • getPerformanceLabel

       Output only. The performance of this asset group asset.
       
      .google.ads.googleads.v18.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPerformanceLabel in interface AssetGroupAssetOrBuilder
      Returns:
      The performanceLabel.
    • setPerformanceLabel

       Output only. The performance of this asset group asset.
       
      .google.ads.googleads.v18.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The performanceLabel to set.
      Returns:
      This builder for chaining.
    • clearPerformanceLabel

      public AssetGroupAsset.Builder clearPerformanceLabel()
       Output only. The performance of this asset group asset.
       
      .google.ads.googleads.v18.enums.AssetPerformanceLabelEnum.AssetPerformanceLabel performance_label = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasPolicySummary

      public boolean hasPolicySummary()
       Output only. The policy information for this asset group asset.
       
      .google.ads.googleads.v18.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasPolicySummary in interface AssetGroupAssetOrBuilder
      Returns:
      Whether the policySummary field is set.
    • getPolicySummary

      public PolicySummary getPolicySummary()
       Output only. The policy information for this asset group asset.
       
      .google.ads.googleads.v18.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPolicySummary in interface AssetGroupAssetOrBuilder
      Returns:
      The policySummary.
    • setPolicySummary

      public AssetGroupAsset.Builder setPolicySummary(PolicySummary value)
       Output only. The policy information for this asset group asset.
       
      .google.ads.googleads.v18.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPolicySummary

      public AssetGroupAsset.Builder setPolicySummary(PolicySummary.Builder builderForValue)
       Output only. The policy information for this asset group asset.
       
      .google.ads.googleads.v18.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergePolicySummary

      public AssetGroupAsset.Builder mergePolicySummary(PolicySummary value)
       Output only. The policy information for this asset group asset.
       
      .google.ads.googleads.v18.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPolicySummary

      public AssetGroupAsset.Builder clearPolicySummary()
       Output only. The policy information for this asset group asset.
       
      .google.ads.googleads.v18.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPolicySummaryBuilder

      public PolicySummary.Builder getPolicySummaryBuilder()
       Output only. The policy information for this asset group asset.
       
      .google.ads.googleads.v18.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPolicySummaryOrBuilder

      public PolicySummaryOrBuilder getPolicySummaryOrBuilder()
       Output only. The policy information for this asset group asset.
       
      .google.ads.googleads.v18.common.PolicySummary policy_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPolicySummaryOrBuilder in interface AssetGroupAssetOrBuilder
    • getSourceValue

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

      public AssetGroupAsset.Builder setSourceValue(int value)
       Output only. Source of the asset group asset.
       
      .google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 11 [(.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 asset group asset.
       
      .google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSource in interface AssetGroupAssetOrBuilder
      Returns:
      The source.
    • setSource

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

      public AssetGroupAsset.Builder clearSource()
       Output only. Source of the asset group asset.
       
      .google.ads.googleads.v18.enums.AssetSourceEnum.AssetSource source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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