All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.gerrit.server.account.externalids.$AutoValue_ExternalId Maven / Gradle / Ivy

The newest version!
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")
abstract class $AutoValue_ExternalId extends ExternalId {

  private final ExternalId.Key key;

  private final Account.Id accountId;

  private final boolean isCaseInsensitive;

  @Nullable
  private final String email;

  @Nullable
  private final String password;

  @Nullable
  private final ObjectId blobId;

  $AutoValue_ExternalId(
      ExternalId.Key key,
      Account.Id accountId,
      boolean isCaseInsensitive,
      @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.isCaseInsensitive = isCaseInsensitive;
    this.email = email;
    this.password = password;
    this.blobId = blobId;
  }

  @Override
  public ExternalId.Key key() {
    return key;
  }

  @Override
  public Account.Id accountId() {
    return accountId;
  }

  @Override
  public boolean isCaseInsensitive() {
    return isCaseInsensitive;
  }

  @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