org.graylog2.indexer.esplugin.AutoValue_IndicesReopenedEvent Maven / Gradle / Ivy
package org.graylog2.indexer.esplugin;
import java.util.Set;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_IndicesReopenedEvent extends IndicesReopenedEvent {
private final Set indices;
AutoValue_IndicesReopenedEvent(
Set indices) {
if (indices == null) {
throw new NullPointerException("Null indices");
}
this.indices = indices;
}
@Override
public Set indices() {
return indices;
}
@Override
public String toString() {
return "IndicesReopenedEvent{"
+ "indices=" + indices
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof IndicesReopenedEvent) {
IndicesReopenedEvent that = (IndicesReopenedEvent) o;
return (this.indices.equals(that.indices()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.indices.hashCode();
return h;
}
}