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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy