Interface StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueConditionOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getValues​(int index)
      Required.
      com.google.protobuf.ByteString getValuesBytes​(int index)
      Required.
      int getValuesCount()
      Required.
      List<String> getValuesList()
      Required.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getValuesList

        List<String> 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];
        Returns:
        A list containing the values.
      • getValuesCount

        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:
        The count of values.
      • getValues

        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];
        Parameters:
        index - The index of the element to return.
        Returns:
        The values at the given index.
      • getValuesBytes

        com.google.protobuf.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];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the values at the given index.