
com.google.zetasql.AutoValue_EvaluatorTableModifyResponse_Row 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_Row extends EvaluatorTableModifyResponse.Row {
private final EvaluatorTableModifyResponse.Row.Operation operation;
private final ImmutableList content;
private final ImmutableList originalPrimaryKeysValues;
AutoValue_EvaluatorTableModifyResponse_Row(
EvaluatorTableModifyResponse.Row.Operation operation,
ImmutableList content,
ImmutableList originalPrimaryKeysValues) {
if (operation == null) {
throw new NullPointerException("Null operation");
}
this.operation = operation;
if (content == null) {
throw new NullPointerException("Null content");
}
this.content = content;
if (originalPrimaryKeysValues == null) {
throw new NullPointerException("Null originalPrimaryKeysValues");
}
this.originalPrimaryKeysValues = originalPrimaryKeysValues;
}
@Override
public EvaluatorTableModifyResponse.Row.Operation getOperation() {
return operation;
}
@Override
public ImmutableList getContent() {
return content;
}
@Override
public ImmutableList getOriginalPrimaryKeysValues() {
return originalPrimaryKeysValues;
}
@Override
public String toString() {
return "Row{"
+ "operation=" + operation + ", "
+ "content=" + content + ", "
+ "originalPrimaryKeysValues=" + originalPrimaryKeysValues
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof EvaluatorTableModifyResponse.Row) {
EvaluatorTableModifyResponse.Row that = (EvaluatorTableModifyResponse.Row) o;
return this.operation.equals(that.getOperation())
&& this.content.equals(that.getContent())
&& this.originalPrimaryKeysValues.equals(that.getOriginalPrimaryKeysValues());
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= operation.hashCode();
h$ *= 1000003;
h$ ^= content.hashCode();
h$ *= 1000003;
h$ ^= originalPrimaryKeysValues.hashCode();
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy