com.google.cloud.bigquery.AutoValue_MetadataCacheStats 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_MetadataCacheStats extends MetadataCacheStats {
@Nullable
private final List tableMetadataCacheUsage;
private AutoValue_MetadataCacheStats(
@Nullable List tableMetadataCacheUsage) {
this.tableMetadataCacheUsage = tableMetadataCacheUsage;
}
@Nullable
@Override
public List getTableMetadataCacheUsage() {
return tableMetadataCacheUsage;
}
@Override
public String toString() {
return "MetadataCacheStats{"
+ "tableMetadataCacheUsage=" + tableMetadataCacheUsage
+ "}";
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof MetadataCacheStats) {
MetadataCacheStats that = (MetadataCacheStats) o;
return (this.tableMetadataCacheUsage == null ? that.getTableMetadataCacheUsage() == null : this.tableMetadataCacheUsage.equals(that.getTableMetadataCacheUsage()));
}
return false;
}
@Override
public int hashCode() {
int h$ = 1;
h$ *= 1000003;
h$ ^= (tableMetadataCacheUsage == null) ? 0 : tableMetadataCacheUsage.hashCode();
return h$;
}
private static final long serialVersionUID = 1L;
@Override
public MetadataCacheStats.Builder toBuilder() {
return new Builder(this);
}
static final class Builder extends MetadataCacheStats.Builder {
private List tableMetadataCacheUsage;
Builder() {
}
private Builder(MetadataCacheStats source) {
this.tableMetadataCacheUsage = source.getTableMetadataCacheUsage();
}
@Override
public MetadataCacheStats.Builder setTableMetadataCacheUsage(List tableMetadataCacheUsage) {
this.tableMetadataCacheUsage = tableMetadataCacheUsage;
return this;
}
@Override
public MetadataCacheStats build() {
return new AutoValue_MetadataCacheStats(
this.tableMetadataCacheUsage);
}
}
}