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

org.graylog.plugins.netflow.v9.AutoValue_NetFlowV9ScopeDef Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version


package org.graylog.plugins.netflow.v9;

import javax.annotation.Generated;

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

  private final int type;

  private final int length;

  AutoValue_NetFlowV9ScopeDef(
      int type,
      int length) {
    this.type = type;
    this.length = length;
  }

  @Override
  public int type() {
    return type;
  }

  @Override
  public int length() {
    return length;
  }

  @Override
  public String toString() {
    return "NetFlowV9ScopeDef{"
         + "type=" + type + ", "
         + "length=" + length
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof NetFlowV9ScopeDef) {
      NetFlowV9ScopeDef that = (NetFlowV9ScopeDef) o;
      return (this.type == that.type())
           && (this.length == that.length());
    }
    return false;
  }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy