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

com.google.cloud.storage.contrib.nio.AutoValue_OptionAcl Maven / Gradle / Ivy

There is a newer version: 0.127.26
Show newest version
package com.google.cloud.storage.contrib.nio;

import com.google.cloud.storage.Acl;
import javax.annotation.Generated;

@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_OptionAcl extends OptionAcl {

  private final Acl acl;

  AutoValue_OptionAcl(
      Acl acl) {
    if (acl == null) {
      throw new NullPointerException("Null acl");
    }
    this.acl = acl;
  }

  @Override
  Acl acl() {
    return acl;
  }

  @Override
  public String toString() {
    return "OptionAcl{"
        + "acl=" + acl
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof OptionAcl) {
      OptionAcl that = (OptionAcl) o;
      return this.acl.equals(that.acl());
    }
    return false;
  }

  @Override
  public int hashCode() {
    int h$ = 1;
    h$ *= 1000003;
    h$ ^= acl.hashCode();
    return h$;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy