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

com.google.cloud.bigquery.AutoValue_MetadataCacheStats Maven / Gradle / Ivy

There is a newer version: 2.44.0
Show newest version
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);
    }
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy