All Downloads are FREE. Search and download functionalities are using the official Maven repository.

annotations.com.cognite.client.AutoValue_ApiBase_FanOutIterator Maven / Gradle / Ivy

There is a newer version: 2.3.3
Show newest version
package com.cognite.client;

import com.cognite.client.servicesV1.ResponseItems;
import com.google.common.collect.ImmutableList;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import javax.annotation.processing.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ApiBase_FanOutIterator extends ApiBase.FanOutIterator {

  private final ImmutableList>>> inputIterators;

  private AutoValue_ApiBase_FanOutIterator(
      ImmutableList>>> inputIterators) {
    this.inputIterators = inputIterators;
  }

  @Override
  ImmutableList>>> getInputIterators() {
    return inputIterators;
  }

  @Override
  public String toString() {
    return "FanOutIterator{"
        + "inputIterators=" + inputIterators
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof ApiBase.FanOutIterator) {
      ApiBase.FanOutIterator that = (ApiBase.FanOutIterator) o;
      return this.inputIterators.equals(that.getInputIterators());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= inputIterators.hashCode();
    return h$;
  }

  static final class Builder extends ApiBase.FanOutIterator.Builder {
    private ImmutableList>>> inputIterators;
    Builder() {
    }
    @Override
    ApiBase.FanOutIterator.Builder setInputIterators(List>>> inputIterators) {
      this.inputIterators = ImmutableList.copyOf(inputIterators);
      return this;
    }
    @Override
    ApiBase.FanOutIterator build() {
      if (this.inputIterators == null) {
        String missing = " inputIterators";
        throw new IllegalStateException("Missing required properties:" + missing);
      }
      return new AutoValue_ApiBase_FanOutIterator(
          this.inputIterators);
    }
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy