Class ExperimentArm.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExperimentArm.Builder>
com.google.ads.googleads.v24.resources.ExperimentArm.Builder
All Implemented Interfaces:
ExperimentArmOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExperimentArm

public static final class ExperimentArm.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExperimentArm.Builder> implements ExperimentArmOrBuilder
 A Google ads experiment for users to experiment changes on multiple
 campaigns, compare the performance, and apply the effective changes.
 
Protobuf type google.ads.googleads.v24.resources.ExperimentArm
  • Method Details

    • getDescriptor

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

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

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

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

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

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

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

      public ExperimentArm.Builder mergeFrom(ExperimentArm other)
    • isInitialized

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

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

      public String getResourceName()
       Immutable. The resource name of the experiment arm.
       Experiment arm resource names have the form:
      
       `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface ExperimentArmOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Immutable. The resource name of the experiment arm.
       Experiment arm resource names have the form:
      
       `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface ExperimentArmOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public ExperimentArm.Builder setResourceName(String value)
       Immutable. The resource name of the experiment arm.
       Experiment arm resource names have the form:
      
       `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_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 ExperimentArm.Builder clearResourceName()
       Immutable. The resource name of the experiment arm.
       Experiment arm resource names have the form:
      
       `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}`
       
      string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public ExperimentArm.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       Immutable. The resource name of the experiment arm.
       Experiment arm resource names have the form:
      
       `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_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.
    • getExperiment

      public String getExperiment()
       Immutable. The experiment to which the ExperimentArm belongs.
       
      string experiment = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getExperiment in interface ExperimentArmOrBuilder
      Returns:
      The experiment.
    • getExperimentBytes

      public com.google.protobuf.ByteString getExperimentBytes()
       Immutable. The experiment to which the ExperimentArm belongs.
       
      string experiment = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Specified by:
      getExperimentBytes in interface ExperimentArmOrBuilder
      Returns:
      The bytes for experiment.
    • setExperiment

      public ExperimentArm.Builder setExperiment(String value)
       Immutable. The experiment to which the ExperimentArm belongs.
       
      string experiment = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The experiment to set.
      Returns:
      This builder for chaining.
    • clearExperiment

      public ExperimentArm.Builder clearExperiment()
       Immutable. The experiment to which the ExperimentArm belongs.
       
      string experiment = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setExperimentBytes

      public ExperimentArm.Builder setExperimentBytes(com.google.protobuf.ByteString value)
       Immutable. The experiment to which the ExperimentArm belongs.
       
      string experiment = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for experiment to set.
      Returns:
      This builder for chaining.
    • getName

      public String getName()
       Required. The name of the experiment arm. It must have a minimum length of
       1 and maximum length of 1024. It must be unique under an experiment.
       
      string name = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface ExperimentArmOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the experiment arm. It must have a minimum length of
       1 and maximum length of 1024. It must be unique under an experiment.
       
      string name = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface ExperimentArmOrBuilder
      Returns:
      The bytes for name.
    • setName

      public ExperimentArm.Builder setName(String value)
       Required. The name of the experiment arm. It must have a minimum length of
       1 and maximum length of 1024. It must be unique under an experiment.
       
      string name = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public ExperimentArm.Builder clearName()
       Required. The name of the experiment arm. It must have a minimum length of
       1 and maximum length of 1024. It must be unique under an experiment.
       
      string name = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public ExperimentArm.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the experiment arm. It must have a minimum length of
       1 and maximum length of 1024. It must be unique under an experiment.
       
      string name = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getControl

      public boolean getControl()
       Whether this arm is a control arm. A control arm is the arm against
       which the other arms are compared.
       
      bool control = 4;
      Specified by:
      getControl in interface ExperimentArmOrBuilder
      Returns:
      The control.
    • setControl

      public ExperimentArm.Builder setControl(boolean value)
       Whether this arm is a control arm. A control arm is the arm against
       which the other arms are compared.
       
      bool control = 4;
      Parameters:
      value - The control to set.
      Returns:
      This builder for chaining.
    • clearControl

      public ExperimentArm.Builder clearControl()
       Whether this arm is a control arm. A control arm is the arm against
       which the other arms are compared.
       
      bool control = 4;
      Returns:
      This builder for chaining.
    • getTrafficSplit

      public long getTrafficSplit()
       Traffic split of the trial arm. The value should be between 1 and 100
       and must total 100 between the two trial arms.
       
      int64 traffic_split = 5;
      Specified by:
      getTrafficSplit in interface ExperimentArmOrBuilder
      Returns:
      The trafficSplit.
    • setTrafficSplit

      public ExperimentArm.Builder setTrafficSplit(long value)
       Traffic split of the trial arm. The value should be between 1 and 100
       and must total 100 between the two trial arms.
       
      int64 traffic_split = 5;
      Parameters:
      value - The trafficSplit to set.
      Returns:
      This builder for chaining.
    • clearTrafficSplit

      public ExperimentArm.Builder clearTrafficSplit()
       Traffic split of the trial arm. The value should be between 1 and 100
       and must total 100 between the two trial arms.
       
      int64 traffic_split = 5;
      Returns:
      This builder for chaining.
    • getCampaignsList

      public com.google.protobuf.ProtocolStringList getCampaignsList()
       List of campaigns in the trial arm. The max length is one.
       
      repeated string campaigns = 6 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignsList in interface ExperimentArmOrBuilder
      Returns:
      A list containing the campaigns.
    • getCampaignsCount

      public int getCampaignsCount()
       List of campaigns in the trial arm. The max length is one.
       
      repeated string campaigns = 6 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignsCount in interface ExperimentArmOrBuilder
      Returns:
      The count of campaigns.
    • getCampaigns

      public String getCampaigns(int index)
       List of campaigns in the trial arm. The max length is one.
       
      repeated string campaigns = 6 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCampaigns in interface ExperimentArmOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The campaigns at the given index.
    • getCampaignsBytes

      public com.google.protobuf.ByteString getCampaignsBytes(int index)
       List of campaigns in the trial arm. The max length is one.
       
      repeated string campaigns = 6 [(.google.api.resource_reference) = { ... }
      Specified by:
      getCampaignsBytes in interface ExperimentArmOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the campaigns at the given index.
    • setCampaigns

      public ExperimentArm.Builder setCampaigns(int index, String value)
       List of campaigns in the trial arm. The max length is one.
       
      repeated string campaigns = 6 [(.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The campaigns to set.
      Returns:
      This builder for chaining.
    • addCampaigns

      public ExperimentArm.Builder addCampaigns(String value)
       List of campaigns in the trial arm. The max length is one.
       
      repeated string campaigns = 6 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The campaigns to add.
      Returns:
      This builder for chaining.
    • addAllCampaigns

      public ExperimentArm.Builder addAllCampaigns(Iterable<String> values)
       List of campaigns in the trial arm. The max length is one.
       
      repeated string campaigns = 6 [(.google.api.resource_reference) = { ... }
      Parameters:
      values - The campaigns to add.
      Returns:
      This builder for chaining.
    • clearCampaigns

      public ExperimentArm.Builder clearCampaigns()
       List of campaigns in the trial arm. The max length is one.
       
      repeated string campaigns = 6 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addCampaignsBytes

      public ExperimentArm.Builder addCampaignsBytes(com.google.protobuf.ByteString value)
       List of campaigns in the trial arm. The max length is one.
       
      repeated string campaigns = 6 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the campaigns to add.
      Returns:
      This builder for chaining.
    • getInDesignCampaignsList

      public com.google.protobuf.ProtocolStringList getInDesignCampaignsList()
       Output only. The in design campaigns in the treatment experiment arm.
       
      repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getInDesignCampaignsList in interface ExperimentArmOrBuilder
      Returns:
      A list containing the inDesignCampaigns.
    • getInDesignCampaignsCount

      public int getInDesignCampaignsCount()
       Output only. The in design campaigns in the treatment experiment arm.
       
      repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getInDesignCampaignsCount in interface ExperimentArmOrBuilder
      Returns:
      The count of inDesignCampaigns.
    • getInDesignCampaigns

      public String getInDesignCampaigns(int index)
       Output only. The in design campaigns in the treatment experiment arm.
       
      repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getInDesignCampaigns in interface ExperimentArmOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The inDesignCampaigns at the given index.
    • getInDesignCampaignsBytes

      public com.google.protobuf.ByteString getInDesignCampaignsBytes(int index)
       Output only. The in design campaigns in the treatment experiment arm.
       
      repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getInDesignCampaignsBytes in interface ExperimentArmOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the inDesignCampaigns at the given index.
    • setInDesignCampaigns

      public ExperimentArm.Builder setInDesignCampaigns(int index, String value)
       Output only. The in design campaigns in the treatment experiment arm.
       
      repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index to set the value at.
      value - The inDesignCampaigns to set.
      Returns:
      This builder for chaining.
    • addInDesignCampaigns

      public ExperimentArm.Builder addInDesignCampaigns(String value)
       Output only. The in design campaigns in the treatment experiment arm.
       
      repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The inDesignCampaigns to add.
      Returns:
      This builder for chaining.
    • addAllInDesignCampaigns

      public ExperimentArm.Builder addAllInDesignCampaigns(Iterable<String> values)
       Output only. The in design campaigns in the treatment experiment arm.
       
      repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      values - The inDesignCampaigns to add.
      Returns:
      This builder for chaining.
    • clearInDesignCampaigns

      public ExperimentArm.Builder clearInDesignCampaigns()
       Output only. The in design campaigns in the treatment experiment arm.
       
      repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • addInDesignCampaignsBytes

      public ExperimentArm.Builder addInDesignCampaignsBytes(com.google.protobuf.ByteString value)
       Output only. The in design campaigns in the treatment experiment arm.
       
      repeated string in_design_campaigns = 7 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes of the inDesignCampaigns to add.
      Returns:
      This builder for chaining.
    • hasAssetTestingInfo

      public boolean hasAssetTestingInfo()
       Details of assets under experiment.
       
      .google.ads.googleads.v24.resources.ExperimentArm.AssetTestingInfo asset_testing_info = 9;
      Specified by:
      hasAssetTestingInfo in interface ExperimentArmOrBuilder
      Returns:
      Whether the assetTestingInfo field is set.
    • getAssetTestingInfo

      public ExperimentArm.AssetTestingInfo getAssetTestingInfo()
       Details of assets under experiment.
       
      .google.ads.googleads.v24.resources.ExperimentArm.AssetTestingInfo asset_testing_info = 9;
      Specified by:
      getAssetTestingInfo in interface ExperimentArmOrBuilder
      Returns:
      The assetTestingInfo.
    • setAssetTestingInfo

      public ExperimentArm.Builder setAssetTestingInfo(ExperimentArm.AssetTestingInfo value)
       Details of assets under experiment.
       
      .google.ads.googleads.v24.resources.ExperimentArm.AssetTestingInfo asset_testing_info = 9;
    • setAssetTestingInfo

      public ExperimentArm.Builder setAssetTestingInfo(ExperimentArm.AssetTestingInfo.Builder builderForValue)
       Details of assets under experiment.
       
      .google.ads.googleads.v24.resources.ExperimentArm.AssetTestingInfo asset_testing_info = 9;
    • mergeAssetTestingInfo

      public ExperimentArm.Builder mergeAssetTestingInfo(ExperimentArm.AssetTestingInfo value)
       Details of assets under experiment.
       
      .google.ads.googleads.v24.resources.ExperimentArm.AssetTestingInfo asset_testing_info = 9;
    • clearAssetTestingInfo

      public ExperimentArm.Builder clearAssetTestingInfo()
       Details of assets under experiment.
       
      .google.ads.googleads.v24.resources.ExperimentArm.AssetTestingInfo asset_testing_info = 9;
    • getAssetTestingInfoBuilder

      public ExperimentArm.AssetTestingInfo.Builder getAssetTestingInfoBuilder()
       Details of assets under experiment.
       
      .google.ads.googleads.v24.resources.ExperimentArm.AssetTestingInfo asset_testing_info = 9;
    • getAssetTestingInfoOrBuilder

      public ExperimentArm.AssetTestingInfoOrBuilder getAssetTestingInfoOrBuilder()
       Details of assets under experiment.
       
      .google.ads.googleads.v24.resources.ExperimentArm.AssetTestingInfo asset_testing_info = 9;
      Specified by:
      getAssetTestingInfoOrBuilder in interface ExperimentArmOrBuilder
    • getAssetGroupsList

      public List<ExperimentArm.AssetGroupInfo> getAssetGroupsList()
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
      Specified by:
      getAssetGroupsList in interface ExperimentArmOrBuilder
    • getAssetGroupsCount

      public int getAssetGroupsCount()
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
      Specified by:
      getAssetGroupsCount in interface ExperimentArmOrBuilder
    • getAssetGroups

      public ExperimentArm.AssetGroupInfo getAssetGroups(int index)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
      Specified by:
      getAssetGroups in interface ExperimentArmOrBuilder
    • setAssetGroups

      public ExperimentArm.Builder setAssetGroups(int index, ExperimentArm.AssetGroupInfo value)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • setAssetGroups

      public ExperimentArm.Builder setAssetGroups(int index, ExperimentArm.AssetGroupInfo.Builder builderForValue)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • addAssetGroups

      public ExperimentArm.Builder addAssetGroups(ExperimentArm.AssetGroupInfo value)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • addAssetGroups

      public ExperimentArm.Builder addAssetGroups(int index, ExperimentArm.AssetGroupInfo value)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • addAssetGroups

      public ExperimentArm.Builder addAssetGroups(ExperimentArm.AssetGroupInfo.Builder builderForValue)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • addAssetGroups

      public ExperimentArm.Builder addAssetGroups(int index, ExperimentArm.AssetGroupInfo.Builder builderForValue)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • addAllAssetGroups

      public ExperimentArm.Builder addAllAssetGroups(Iterable<? extends ExperimentArm.AssetGroupInfo> values)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • clearAssetGroups

      public ExperimentArm.Builder clearAssetGroups()
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • removeAssetGroups

      public ExperimentArm.Builder removeAssetGroups(int index)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • getAssetGroupsBuilder

      public ExperimentArm.AssetGroupInfo.Builder getAssetGroupsBuilder(int index)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • getAssetGroupsOrBuilder

      public ExperimentArm.AssetGroupInfoOrBuilder getAssetGroupsOrBuilder(int index)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
      Specified by:
      getAssetGroupsOrBuilder in interface ExperimentArmOrBuilder
    • getAssetGroupsOrBuilderList

      public List<? extends ExperimentArm.AssetGroupInfoOrBuilder> getAssetGroupsOrBuilderList()
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
      Specified by:
      getAssetGroupsOrBuilderList in interface ExperimentArmOrBuilder
    • addAssetGroupsBuilder

      public ExperimentArm.AssetGroupInfo.Builder addAssetGroupsBuilder()
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • addAssetGroupsBuilder

      public ExperimentArm.AssetGroupInfo.Builder addAssetGroupsBuilder(int index)
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • getAssetGroupsBuilderList

      public List<ExperimentArm.AssetGroupInfo.Builder> getAssetGroupsBuilderList()
       List of asset groups in the experiment arm. The max length is one. In the
       Optimize Assets experiment construction, the control arm and treatment arm
       should both contain the same asset group ID.
       
      repeated .google.ads.googleads.v24.resources.ExperimentArm.AssetGroupInfo asset_groups = 10;
    • hasPerformanceMaxExperimentArmInfo

      public boolean hasPerformanceMaxExperimentArmInfo()
       Immutable. Information specific to the control or treatment campaign of a
       Performance Max experiment.
      
       This field is specific to experiments of type PMAX_REPLACEMENT_SHOPPING.
       For example, the treatment experiment arm contains the
       information of treatment Performance Max campaign settings for
       PMAX_REPLACEMENT_SHOPPING experiments.
       
      .google.ads.googleads.v24.resources.ExperimentArm.PerformanceMaxExperimentArmInfo performance_max_experiment_arm_info = 11 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      hasPerformanceMaxExperimentArmInfo in interface ExperimentArmOrBuilder
      Returns:
      Whether the performanceMaxExperimentArmInfo field is set.
    • getPerformanceMaxExperimentArmInfo

      public ExperimentArm.PerformanceMaxExperimentArmInfo getPerformanceMaxExperimentArmInfo()
       Immutable. Information specific to the control or treatment campaign of a
       Performance Max experiment.
      
       This field is specific to experiments of type PMAX_REPLACEMENT_SHOPPING.
       For example, the treatment experiment arm contains the
       information of treatment Performance Max campaign settings for
       PMAX_REPLACEMENT_SHOPPING experiments.
       
      .google.ads.googleads.v24.resources.ExperimentArm.PerformanceMaxExperimentArmInfo performance_max_experiment_arm_info = 11 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPerformanceMaxExperimentArmInfo in interface ExperimentArmOrBuilder
      Returns:
      The performanceMaxExperimentArmInfo.
    • setPerformanceMaxExperimentArmInfo

      public ExperimentArm.Builder setPerformanceMaxExperimentArmInfo(ExperimentArm.PerformanceMaxExperimentArmInfo value)
       Immutable. Information specific to the control or treatment campaign of a
       Performance Max experiment.
      
       This field is specific to experiments of type PMAX_REPLACEMENT_SHOPPING.
       For example, the treatment experiment arm contains the
       information of treatment Performance Max campaign settings for
       PMAX_REPLACEMENT_SHOPPING experiments.
       
      .google.ads.googleads.v24.resources.ExperimentArm.PerformanceMaxExperimentArmInfo performance_max_experiment_arm_info = 11 [(.google.api.field_behavior) = IMMUTABLE];
    • setPerformanceMaxExperimentArmInfo

      public ExperimentArm.Builder setPerformanceMaxExperimentArmInfo(ExperimentArm.PerformanceMaxExperimentArmInfo.Builder builderForValue)
       Immutable. Information specific to the control or treatment campaign of a
       Performance Max experiment.
      
       This field is specific to experiments of type PMAX_REPLACEMENT_SHOPPING.
       For example, the treatment experiment arm contains the
       information of treatment Performance Max campaign settings for
       PMAX_REPLACEMENT_SHOPPING experiments.
       
      .google.ads.googleads.v24.resources.ExperimentArm.PerformanceMaxExperimentArmInfo performance_max_experiment_arm_info = 11 [(.google.api.field_behavior) = IMMUTABLE];
    • mergePerformanceMaxExperimentArmInfo

      public ExperimentArm.Builder mergePerformanceMaxExperimentArmInfo(ExperimentArm.PerformanceMaxExperimentArmInfo value)
       Immutable. Information specific to the control or treatment campaign of a
       Performance Max experiment.
      
       This field is specific to experiments of type PMAX_REPLACEMENT_SHOPPING.
       For example, the treatment experiment arm contains the
       information of treatment Performance Max campaign settings for
       PMAX_REPLACEMENT_SHOPPING experiments.
       
      .google.ads.googleads.v24.resources.ExperimentArm.PerformanceMaxExperimentArmInfo performance_max_experiment_arm_info = 11 [(.google.api.field_behavior) = IMMUTABLE];
    • clearPerformanceMaxExperimentArmInfo

      public ExperimentArm.Builder clearPerformanceMaxExperimentArmInfo()
       Immutable. Information specific to the control or treatment campaign of a
       Performance Max experiment.
      
       This field is specific to experiments of type PMAX_REPLACEMENT_SHOPPING.
       For example, the treatment experiment arm contains the
       information of treatment Performance Max campaign settings for
       PMAX_REPLACEMENT_SHOPPING experiments.
       
      .google.ads.googleads.v24.resources.ExperimentArm.PerformanceMaxExperimentArmInfo performance_max_experiment_arm_info = 11 [(.google.api.field_behavior) = IMMUTABLE];
    • getPerformanceMaxExperimentArmInfoBuilder

      public ExperimentArm.PerformanceMaxExperimentArmInfo.Builder getPerformanceMaxExperimentArmInfoBuilder()
       Immutable. Information specific to the control or treatment campaign of a
       Performance Max experiment.
      
       This field is specific to experiments of type PMAX_REPLACEMENT_SHOPPING.
       For example, the treatment experiment arm contains the
       information of treatment Performance Max campaign settings for
       PMAX_REPLACEMENT_SHOPPING experiments.
       
      .google.ads.googleads.v24.resources.ExperimentArm.PerformanceMaxExperimentArmInfo performance_max_experiment_arm_info = 11 [(.google.api.field_behavior) = IMMUTABLE];
    • getPerformanceMaxExperimentArmInfoOrBuilder

      public ExperimentArm.PerformanceMaxExperimentArmInfoOrBuilder getPerformanceMaxExperimentArmInfoOrBuilder()
       Immutable. Information specific to the control or treatment campaign of a
       Performance Max experiment.
      
       This field is specific to experiments of type PMAX_REPLACEMENT_SHOPPING.
       For example, the treatment experiment arm contains the
       information of treatment Performance Max campaign settings for
       PMAX_REPLACEMENT_SHOPPING experiments.
       
      .google.ads.googleads.v24.resources.ExperimentArm.PerformanceMaxExperimentArmInfo performance_max_experiment_arm_info = 11 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getPerformanceMaxExperimentArmInfoOrBuilder in interface ExperimentArmOrBuilder