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

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

There is a newer version: 1.0.0-beta1
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_Labels extends $AutoValue_Labels {
  @LazyInit
  @SuppressWarnings("Immutable")
  private transient volatile Map toPb;

  @LazyInit
  @SuppressWarnings("Immutable")
  private transient volatile boolean toPb$Memoized;

  AutoValue_Labels(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