com.google.gerrit.server.git.AutoValue_ValidationError Maven / Gradle / Ivy
package com.google.gerrit.server.git;
import javax.annotation.processing.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ValidationError extends ValidationError {
private final String message;
AutoValue_ValidationError(
String message) {
if (message == null) {
throw new NullPointerException("Null message");
}
this.message = message;
}
@Override
public String getMessage() {
return message;
}
@Override
public String toString() {
return "ValidationError{"
+ "message=" + message
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ValidationError) {
ValidationError that = (ValidationError) o;
return this.message.equals(that.getMessage());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= message.hashCode();
return h$;
}
}