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