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