org.graylog2.plugin.cluster.AutoValue_ClusterId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graylog2-plugin Show documentation
Show all versions of graylog2-plugin Show documentation
Graylog interfaces for plugin development
package org.graylog2.plugin.cluster;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ClusterId extends ClusterId {
private final String clusterId;
AutoValue_ClusterId(
String clusterId) {
if (clusterId == null) {
throw new NullPointerException("Null clusterId");
}
this.clusterId = clusterId;
}
@com.fasterxml.jackson.annotation.JsonProperty
@Override
public String clusterId() {
return clusterId;
}
@Override
public String toString() {
return "ClusterId{"
+ "clusterId=" + clusterId
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ClusterId) {
ClusterId that = (ClusterId) o;
return (this.clusterId.equals(that.clusterId()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= clusterId.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy