Class DatastoreAdmin.Builder

  • Enclosing class:
    DatastoreAdmin

    public static class DatastoreAdmin.Builder
    extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
    Builder for DatastoreAdmin.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder​(com.google.api.client.http.HttpTransport httpTransport, com.google.api.client.json.JsonFactory jsonFactory, com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DatastoreAdmin build()  
      DatastoreAdmin.Builder setApplicationName​(java.lang.String applicationName)  
      DatastoreAdmin.Builder setProjectId​(java.lang.String projectId)
      Sets the GCP project ID of the Cloud Datastore databases being managed.
      • Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder

        getJsonFactory, getObjectParser, setGoogleClientRequestInitializer, setHttpRequestInitializer, setRootUrl, setServicePath, setSuppressAllChecks, setSuppressPatternChecks, setSuppressRequiredParameterChecks
      • Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClient.Builder

        getApplicationName, getGoogleClientRequestInitializer, getHttpRequestInitializer, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks, getTransport, setBatchPath
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder​(com.google.api.client.http.HttpTransport httpTransport,
                       com.google.api.client.json.JsonFactory jsonFactory,
                       com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
    • Method Detail

      • setApplicationName

        public DatastoreAdmin.Builder setApplicationName​(java.lang.String applicationName)
        Overrides:
        setApplicationName in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder
      • setProjectId

        public DatastoreAdmin.Builder setProjectId​(java.lang.String projectId)
        Sets the GCP project ID of the Cloud Datastore databases being managed.
      • build

        public DatastoreAdmin build()
        Specified by:
        build in class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient.Builder