Class StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition.Builder (3.77.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.77.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   extends   GeneratedMessageV3 . Builder<StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder >  implements   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueConditionOrBuilder  
   Represents the spec to match categorical values from parent parameter.
 Protobuf type 
 google.cloud.aiplatform.v1beta1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueCondition
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      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
   
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   addAllValues ( Iterable<String>   values )  
   Required. Matches values of the parent parameter of 'CATEGORICAL'
 type. All values must exist in categorical_value_spec of parent
 parameter.
 repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   addValues ( String   value )  
   Required. Matches values of the parent parameter of 'CATEGORICAL'
 type. All values must exist in categorical_value_spec of parent
 parameter.
 repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueString The values to add.
 
     
  
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   addValuesBytes ( ByteString   value )  
   Required. Matches values of the parent parameter of 'CATEGORICAL'
 type. All values must exist in categorical_value_spec of parent
 parameter.
 repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes of the values to add.
 
     
  
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition   build ()  
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition   buildPartial ()  
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   clear ()  
  
  Overrides 
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   clearValues ()  
   Required. Matches values of the parent parameter of 'CATEGORICAL'
 type. All values must exist in categorical_value_spec of parent
 parameter.
 repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   clone ()  
  
  Overrides 
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition   getDefaultInstanceForType ()  
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
    
public   String   getValues ( int   index )  
   Required. Matches values of the parent parameter of 'CATEGORICAL'
 type. All values must exist in categorical_value_spec of parent
 parameter.
 repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The values at the given index.
 
     
  
  
    
public   ByteString   getValuesBytes ( int   index )  
   Required. Matches values of the parent parameter of 'CATEGORICAL'
 type. All values must exist in categorical_value_spec of parent
 parameter.
 repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the values at the given index.
 
     
  
  
    
public   int   getValuesCount ()  
   Required. Matches values of the parent parameter of 'CATEGORICAL'
 type. All values must exist in categorical_value_spec of parent
 parameter.
 repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        int The count of values.
 
     
  
  
    
public   ProtocolStringList   getValuesList ()  
   Required. Matches values of the parent parameter of 'CATEGORICAL'
 type. All values must exist in categorical_value_spec of parent
 parameter.
 repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   mergeFrom ( StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition   other )  
  
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
    
public   final   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
    
public   final   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
    
public   StudySpec . ParameterSpec . ConditionalParameterSpec . CategoricalValueCondition . Builder   setValues ( int   index ,   String   value )  
   Required. Matches values of the parent parameter of 'CATEGORICAL'
 type. All values must exist in categorical_value_spec of parent
 parameter.
 repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameters  
      
        Name Description  
      
        indexint The index to set the value at.
 
      
        valueString The values to set.
 
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-29 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-29 UTC."],[],[]]