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

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

package dev.cel.runtime;

import com.google.common.collect.ImmutableList;

// Generated by com.google.auto.value.processor.AutoValueProcessor
final class AutoValue_CelAttributePattern extends CelAttributePattern {

  private final ImmutableList qualifiers;

  AutoValue_CelAttributePattern(
      ImmutableList qualifiers) {
    if (qualifiers == null) {
      throw new NullPointerException("Null qualifiers");
    }
    this.qualifiers = qualifiers;
  }

  @Override
  public ImmutableList qualifiers() {
    return qualifiers;
  }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy