Interface ExperimentArmOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ExperimentArm, ExperimentArm.Builder

public interface ExperimentArmOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getResourceName

      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) = { ... }
      Returns:
      The resourceName.
    • getResourceNameBytes

      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) = { ... }
      Returns:
      The bytes for resourceName.
    • getExperiment

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

      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) = { ... }
      Returns:
      The bytes for experiment.
    • getName

      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];
      Returns:
      The name.
    • getNameBytes

      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];
      Returns:
      The bytes for name.
    • getControl

      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;
      Returns:
      The control.
    • getTrafficSplit

      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;
      Returns:
      The trafficSplit.
    • getCampaignsList

      List<String> getCampaignsList()
       List of campaigns in the trial arm. The max length is one.
       
      repeated string campaigns = 6 [(.google.api.resource_reference) = { ... }
      Returns:
      A list containing the campaigns.
    • getCampaignsCount

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

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

      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) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the campaigns at the given index.
    • getInDesignCampaignsList

      List<String> 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) = { ... }
      Returns:
      A list containing the inDesignCampaigns.
    • getInDesignCampaignsCount

      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) = { ... }
      Returns:
      The count of inDesignCampaigns.
    • getInDesignCampaigns

      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) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The inDesignCampaigns at the given index.
    • getInDesignCampaignsBytes

      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) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the inDesignCampaigns at the given index.