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

dev.cel.runtime.AutoValue_CelUnknownSet Maven / Gradle / Ivy

package dev.cel.runtime;

import com.google.common.collect.ImmutableSet;

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_CelUnknownSet extends CelUnknownSet {

  private final ImmutableSet attributes;

  AutoValue_CelUnknownSet(
      ImmutableSet attributes) {
    if (attributes == null) {
      throw new NullPointerException("Null attributes");
    }
    this.attributes = attributes;
  }

  @Override
  public ImmutableSet attributes() {
    return attributes;
  }

  @Override
  public String toString() {
    return "CelUnknownSet{"
        + "attributes=" + attributes
        + "}";
  }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy