Class Experiment.Definition.Builder (0.24.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.24.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  Experiment . Definition . Builder   extends   GeneratedMessageV3 . Builder<Experiment . Definition . Builder >  implements   Experiment . DefinitionOrBuilder  
   Definition of the experiment.
 Protobuf type google.cloud.dialogflow.cx.v3beta1.Experiment.Definition
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   Experiment . Definition . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   Experiment . Definition   build ()  
  
  buildPartial() 
  
    
public   Experiment . Definition   buildPartial ()  
  
  clear() 
  
    
public   Experiment . Definition . Builder   clear ()  
  
  Overrides 
  
  clearCondition() 
  
    
public   Experiment . Definition . Builder   clearCondition ()  
   The condition defines which subset of sessions are selected for
 this experiment. If not specified, all sessions are eligible. E.g.
 "query_input.language_code=en" See the conditions
 reference .
 string condition = 1;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   Experiment . Definition . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   Experiment . Definition . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearVariants() 
  
    
public   Experiment . Definition . Builder   clearVariants ()  
  
  clearVersionVariants() 
  
    
public   Experiment . Definition . Builder   clearVersionVariants ()  
   The flow versions as the variants of this experiment.
 .google.cloud.dialogflow.cx.v3beta1.VersionVariants version_variants = 2;
clone() 
  
    
public   Experiment . Definition . Builder   clone ()  
  
  Overrides 
  
  getCondition() 
  
    
public   String   getCondition ()  
   The condition defines which subset of sessions are selected for
 this experiment. If not specified, all sessions are eligible. E.g.
 "query_input.language_code=en" See the conditions
 reference .
 string condition = 1;
    
      
        Returns  
      
        Type Description  
      
        String The condition.
 
     
  
  getConditionBytes() 
  
    
public   ByteString   getConditionBytes ()  
   The condition defines which subset of sessions are selected for
 this experiment. If not specified, all sessions are eligible. E.g.
 "query_input.language_code=en" See the conditions
 reference .
 string condition = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for condition.
 
     
  
  getDefaultInstanceForType() 
  
    
public   Experiment . Definition   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getVariantsCase() 
  
    
public   Experiment . Definition . VariantsCase   getVariantsCase ()  
  
  getVersionVariants() 
  
    
public   VersionVariants   getVersionVariants ()  
   The flow versions as the variants of this experiment.
 .google.cloud.dialogflow.cx.v3beta1.VersionVariants version_variants = 2;
getVersionVariantsBuilder() 
  
    
public   VersionVariants . Builder   getVersionVariantsBuilder ()  
   The flow versions as the variants of this experiment.
 .google.cloud.dialogflow.cx.v3beta1.VersionVariants version_variants = 2;
getVersionVariantsOrBuilder() 
  
    
public   VersionVariantsOrBuilder   getVersionVariantsOrBuilder ()  
   The flow versions as the variants of this experiment.
 .google.cloud.dialogflow.cx.v3beta1.VersionVariants version_variants = 2;
hasVersionVariants() 
  
    
public   boolean   hasVersionVariants ()  
   The flow versions as the variants of this experiment.
 .google.cloud.dialogflow.cx.v3beta1.VersionVariants version_variants = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the versionVariants field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(Experiment.Definition other) 
  
    
public   Experiment . Definition . Builder   mergeFrom ( Experiment . Definition   other )  
  
  
  
    
public   Experiment . Definition . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   Experiment . Definition . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   Experiment . Definition . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  mergeVersionVariants(VersionVariants value) 
  
    
public   Experiment . Definition . Builder   mergeVersionVariants ( VersionVariants   value )  
   The flow versions as the variants of this experiment.
 .google.cloud.dialogflow.cx.v3beta1.VersionVariants version_variants = 2;
setCondition(String value) 
  
    
public   Experiment . Definition . Builder   setCondition ( String   value )  
   The condition defines which subset of sessions are selected for
 this experiment. If not specified, all sessions are eligible. E.g.
 "query_input.language_code=en" See the conditions
 reference .
 string condition = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueString The condition to set.
 
     
  
  
  setConditionBytes(ByteString value) 
  
    
public   Experiment . Definition . Builder   setConditionBytes ( ByteString   value )  
   The condition defines which subset of sessions are selected for
 this experiment. If not specified, all sessions are eligible. E.g.
 "query_input.language_code=en" See the conditions
 reference .
 string condition = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for condition to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   Experiment . Definition . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   Experiment . Definition . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   Experiment . Definition . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setVersionVariants(VersionVariants value) 
  
    
public   Experiment . Definition . Builder   setVersionVariants ( VersionVariants   value )  
   The flow versions as the variants of this experiment.
 .google.cloud.dialogflow.cx.v3beta1.VersionVariants version_variants = 2;
setVersionVariants(VersionVariants.Builder builderForValue) 
  
    
public   Experiment . Definition . Builder   setVersionVariants ( VersionVariants . Builder   builderForValue )  
   The flow versions as the variants of this experiment.
 .google.cloud.dialogflow.cx.v3beta1.VersionVariants version_variants = 2;
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]