| Modifier and Type | Method and Description |
|---|---|
DatastoreOptions.Builder |
DatastoreOptions.Builder.credential(com.google.api.client.auth.oauth2.Credential credential)
Sets the Google APIs
Credential used to access Datastore. |
static DatastoreOptions.Builder |
DatastoreHelper.getOptionsFromEnv()
Constructs a
Datastore from environment variables and/or the Compute Engine metadata
server. |
DatastoreOptions.Builder |
DatastoreOptions.Builder.initializer(com.google.api.client.http.HttpRequestInitializer initializer)
Sets the (optional) initializer to run on HTTP requests to Datastore.
|
DatastoreOptions.Builder |
DatastoreOptions.Builder.localHost(String localHost)
Sets the host used to access Datastore.
|
DatastoreOptions.Builder |
DatastoreOptions.Builder.projectEndpoint(String projectEndpoint)
Sets the project endpoint used to access Datastore.
|
DatastoreOptions.Builder |
DatastoreOptions.Builder.projectId(String projectId)
Sets the project ID used to access Datastore.
|
DatastoreOptions.Builder |
DatastoreOptions.Builder.transport(com.google.api.client.http.HttpTransport transport)
Sets the transport used to access Datastore.
|
Copyright © 2016. All rights reserved.