annotations.com.cognite.client.AutoValue_ApiBase_FanOutIterator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdf-sdk-java Show documentation
Show all versions of cdf-sdk-java Show documentation
Java SDK for reading and writing from/to CDF resources.
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