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