com.google.gerrit.server.AutoValue_StarredChangesUtil_StarField Maven / Gradle / Ivy
package com.google.gerrit.server;
import com.google.gerrit.reviewdb.client.Account;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_StarredChangesUtil_StarField extends StarredChangesUtil.StarField {
private final Account.Id accountId;
private final String label;
AutoValue_StarredChangesUtil_StarField(
Account.Id accountId,
String label) {
if (accountId == null) {
throw new NullPointerException("Null accountId");
}
this.accountId = accountId;
if (label == null) {
throw new NullPointerException("Null label");
}
this.label = label;
}
@Override
public Account.Id accountId() {
return accountId;
}
@Override
public String label() {
return label;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof StarredChangesUtil.StarField) {
StarredChangesUtil.StarField that = (StarredChangesUtil.StarField) o;
return (this.accountId.equals(that.accountId()))
&& (this.label.equals(that.label()));
}
return false;
}
@Override
public int hashCode() {
int h = 1;
h *= 1000003;
h ^= this.accountId.hashCode();
h *= 1000003;
h ^= this.label.hashCode();
return h;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy