com.google.gerrit.server.account.externalids.AutoValue_ExternalId Maven / Gradle / Ivy
package com.google.gerrit.server.account.externalids;
import com.google.gerrit.common.Nullable;
import com.google.gerrit.entities.Account;
import javax.annotation.processing.Generated;
import org.eclipse.jgit.lib.ObjectId;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ExternalId extends ExternalId {
private final ExternalId.Key key;
private final Account.Id accountId;
private final String email;
private final String password;
private final ObjectId blobId;
AutoValue_ExternalId(
ExternalId.Key key,
Account.Id accountId,
@Nullable String email,
@Nullable String password,
@Nullable ObjectId blobId) {
if (key == null) {
throw new NullPointerException("Null key");
}
this.key = key;
if (accountId == null) {
throw new NullPointerException("Null accountId");
}
this.accountId = accountId;
this.email = email;
this.password = password;
this.blobId = blobId;
}
@Override
public ExternalId.Key key() {
return key;
}
@Override
public Account.Id accountId() {
return accountId;
}
@Nullable
@Override
public String email() {
return email;
}
@Nullable
@Override
public String password() {
return password;
}
@Nullable
@Override
public ObjectId blobId() {
return blobId;
}
private static final long serialVersionUID = 1L;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy