docs: public BatchCheckLayerAvailabilityResult withFailures(LayerFailure... failures) {
          if (this.failures == null) {
              setFailures(new java.util.ArrayList<LayerFailure>(failures.length));
          }
          for (LayerFailure ele : failures) {
              this.failures.add(ele);
          }
          return this;
      }