com.google.zetasql.AutoValue_ParseLocationRange Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zetasql-client Show documentation
Show all versions of zetasql-client Show documentation
Analyzer Framework for SQL
The newest version!
package com.google.zetasql;
import javax.annotation.Generated;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_ParseLocationRange extends ParseLocationRange {
private final String fileName;
private final int start;
private final int end;
AutoValue_ParseLocationRange(
String fileName,
int start,
int end) {
if (fileName == null) {
throw new NullPointerException("Null fileName");
}
this.fileName = fileName;
this.start = start;
this.end = end;
}
@Override
public String fileName() {
return fileName;
}
@Override
public int start() {
return start;
}
@Override
public int end() {
return end;
}
@Override
public String toString() {
return "ParseLocationRange{"
+ "fileName=" + fileName + ", "
+ "start=" + start + ", "
+ "end=" + end
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof ParseLocationRange) {
ParseLocationRange that = (ParseLocationRange) o;
return this.fileName.equals(that.fileName())
&& this.start == that.start()
&& this.end == that.end();
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= fileName.hashCode();
h$ *= 1000003;
h$ ^= start;
h$ *= 1000003;
h$ ^= end;
return h$;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy