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

target.apidocs.com.google.api.services.spanner.v1.Spanner.Builder.html Maven / Gradle / Ivy

There is a newer version: v1-rev20241020-2.0.0
Show newest version






Spanner.Builder (Cloud Spanner API v1-rev20240711-2.0.0)












com.google.api.services.spanner.v1

Class Spanner.Builder

  • java.lang.Object
    • com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
      • com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
        • com.google.api.services.spanner.v1.Spanner.Builder
  • Enclosing class:
    Spanner


    public static final class Spanner.Builder
    extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
    Builder for Spanner.

    Implementation is not thread-safe.

    Since:
    1.3.0
    • Constructor Detail

      • Builder

        public Builder(com.google.api.client.http.HttpTransport transport,
                       com.google.api.client.json.JsonFactory jsonFactory,
                       com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
        Returns an instance of a new builder.
        Parameters:
        transport - HTTP transport, which should normally be:
        • Google App Engine: com.google.api.client.extensions.appengine.http.UrlFetchTransport
        • Android: newCompatibleTransport from com.google.api.client.extensions.android.http.AndroidHttp
        • Java: com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
        jsonFactory - JSON factory, which may be:
        • Jackson: com.google.api.client.json.jackson2.JacksonFactory
        • Google GSON: com.google.api.client.json.gson.GsonFactory
        • Android Honeycomb or higher: com.google.api.client.extensions.android.json.AndroidJsonFactory
        httpRequestInitializer - HTTP request initializer or null for none
        Since:
        1.7
    • Method Detail

      • build

        public Spanner build()
        Builds a new instance of Spanner.
        Overrides:
        build in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
      • setRootUrl

        public Spanner.Builder setRootUrl(String rootUrl)
        Overrides:
        setRootUrl in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
      • setServicePath

        public Spanner.Builder setServicePath(String servicePath)
        Overrides:
        setServicePath in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
      • setBatchPath

        public Spanner.Builder setBatchPath(String batchPath)
        Overrides:
        setBatchPath in class com.google.api.client.googleapis.services.AbstractGoogleClient.Builder
      • setHttpRequestInitializer

        public Spanner.Builder setHttpRequestInitializer(com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
        Overrides:
        setHttpRequestInitializer in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
      • setApplicationName

        public Spanner.Builder setApplicationName(String applicationName)
        Overrides:
        setApplicationName in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
      • setSuppressPatternChecks

        public Spanner.Builder setSuppressPatternChecks(boolean suppressPatternChecks)
        Overrides:
        setSuppressPatternChecks in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
      • setSuppressRequiredParameterChecks

        public Spanner.Builder setSuppressRequiredParameterChecks(boolean suppressRequiredParameterChecks)
        Overrides:
        setSuppressRequiredParameterChecks in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
      • setSuppressAllChecks

        public Spanner.Builder setSuppressAllChecks(boolean suppressAllChecks)
        Overrides:
        setSuppressAllChecks in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
      • setGoogleClientRequestInitializer

        public Spanner.Builder setGoogleClientRequestInitializer(com.google.api.client.googleapis.services.GoogleClientRequestInitializer googleClientRequestInitializer)
        Overrides:
        setGoogleClientRequestInitializer in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
      • setUniverseDomain

        public Spanner.Builder setUniverseDomain(String universeDomain)
        Overrides:
        setUniverseDomain in class com.google.api.client.googleapis.services.AbstractGoogleClient.Builder

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy