com.google.cloud.bigquery.AutoValue_BiEngineStats Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-cloud-bigquery Show documentation
Show all versions of google-cloud-bigquery Show documentation
Java idiomatic client for Google Cloud BigQuery.
package com.google.cloud.bigquery;
import java.util.List;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_BiEngineStats extends BiEngineStats {
@Nullable
private final String biEngineMode;
@Nullable
private final List biEngineReasons;
private AutoValue_BiEngineStats(
@Nullable String biEngineMode,
@Nullable List biEngineReasons) {
this.biEngineMode = biEngineMode;
this.biEngineReasons = biEngineReasons;
}
@Nullable
@Override
public String getBiEngineMode() {
return biEngineMode;
}
@Nullable
@Override
public List getBiEngineReasons() {
return biEngineReasons;
}
@Override
public String toString() {
return "BiEngineStats{"
+ "biEngineMode=" + biEngineMode + ", "
+ "biEngineReasons=" + biEngineReasons
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof BiEngineStats) {
BiEngineStats that = (BiEngineStats) o;
return (this.biEngineMode == null ? that.getBiEngineMode() == null : this.biEngineMode.equals(that.getBiEngineMode()))
&& (this.biEngineReasons == null ? that.getBiEngineReasons() == null : this.biEngineReasons.equals(that.getBiEngineReasons()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= (biEngineMode == null) ? 0 : biEngineMode.hashCode();
h$ *= 1000003;
h$ ^= (biEngineReasons == null) ? 0 : biEngineReasons.hashCode();
return h$;
}
@Override
public BiEngineStats.Builder toBuilder() {
return new AutoValue_BiEngineStats.Builder(this);
}
static final class Builder extends BiEngineStats.Builder {
private String biEngineMode;
private List biEngineReasons;
Builder() {
}
Builder(BiEngineStats source) {
this.biEngineMode = source.getBiEngineMode();
this.biEngineReasons = source.getBiEngineReasons();
}
@Override
public BiEngineStats.Builder setBiEngineMode(String biEngineMode) {
this.biEngineMode = biEngineMode;
return this;
}
@Override
public BiEngineStats.Builder setBiEngineReasons(List biEngineReasons) {
this.biEngineReasons = biEngineReasons;
return this;
}
@Override
public BiEngineStats build() {
return new AutoValue_BiEngineStats(
this.biEngineMode,
this.biEngineReasons);
}
}
}