com.cognite.client.servicesV1.response.AutoValue_TSPointsResponseParser 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.servicesV1.response;
import com.cognite.client.Request;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_TSPointsResponseParser extends TSPointsResponseParser {
private final Request request;
private AutoValue_TSPointsResponseParser(
Request request) {
this.request = request;
}
@Override
public Request getRequest() {
return request;
}
@Override
public String toString() {
return "TSPointsResponseParser{"
+ "request=" + request
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof TSPointsResponseParser) {
TSPointsResponseParser that = (TSPointsResponseParser) o;
return this.request.equals(that.getRequest());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= request.hashCode();
return h$;
}
@Override
public TSPointsResponseParser.Builder toBuilder() {
return new Builder(this);
}
static final class Builder extends TSPointsResponseParser.Builder {
private Request request;
Builder() {
}
private Builder(TSPointsResponseParser source) {
this.request = source.getRequest();
}
@Override
public TSPointsResponseParser.Builder setRequest(Request request) {
if (request == null) {
throw new NullPointerException("Null request");
}
this.request = request;
return this;
}
@Override
public TSPointsResponseParser build() {
if (this.request == null) {
String missing = " request";
throw new IllegalStateException("Missing required properties:" + missing);
}
return new AutoValue_TSPointsResponseParser(
this.request);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy