docs: public ListTypesResult withTypes(Type... types) {
          if (this.types == null) {
              setTypes(new java.util.ArrayList<Type>(types.length));
          }
          for (Type ele : types) {
              this.types.add(ele);
          }
          return this;
      }