com.google.cloud.bigquery.AutoValue_Annotations 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 com.google.errorprone.annotations.concurrent.LazyInit;
import java.lang.Override;
import java.lang.String;
import java.lang.SuppressWarnings;
import java.util.Map;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated("com.google.auto.value.extension.memoized.processor.MemoizeExtension")
final class AutoValue_Annotations extends $AutoValue_Annotations {
@LazyInit
@SuppressWarnings("Immutable")
private transient volatile Map toPb;
@LazyInit
@SuppressWarnings("Immutable")
private transient volatile boolean toPb$Memoized;
AutoValue_Annotations(Map userMap) {
super(userMap);
}
@Override
@Nullable
Map toPb() {
if (!toPb$Memoized) {
synchronized (this) {
if (!toPb$Memoized) {
toPb = super.toPb();
toPb$Memoized = true;
}
}
}
return toPb;
}
}