public Builder removeUnitTypes(int index) {
        if (unitTypesBuilder_ == null) {
          ensureUnitTypesIsMutable();
          unitTypes_.remove(index);
          onChanged();
        } else {
          unitTypesBuilder_.remove(index);
        }
        return this;
      }