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

com.google.zetasql.AutoValue_EvaluatorTableModifyResponse Maven / Gradle / Ivy

package com.google.zetasql;

import com.google.common.collect.ImmutableList;
import javax.annotation.Generated;

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

  private final String tableName;

  private final ImmutableList content;

  AutoValue_EvaluatorTableModifyResponse(
      String tableName,
      ImmutableList content) {
    if (tableName == null) {
      throw new NullPointerException("Null tableName");
    }
    this.tableName = tableName;
    if (content == null) {
      throw new NullPointerException("Null content");
    }
    this.content = content;
  }

  @Override
  public String getTableName() {
    return tableName;
  }

  @Override
  public ImmutableList getContent() {
    return content;
  }

  @Override
  public String toString() {
    return "EvaluatorTableModifyResponse{"
        + "tableName=" + tableName + ", "
        + "content=" + content
        + "}";
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof EvaluatorTableModifyResponse) {
      EvaluatorTableModifyResponse that = (EvaluatorTableModifyResponse) o;
      return this.tableName.equals(that.getTableName())
          && this.content.equals(that.getContent());
    }
    return false;
  }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy