public static class DatastoreOptions.Builder extends com.google.cloud.ServiceOptions.Builder<Datastore,DatastoreOptions,DatastoreOptions.Builder>
Modifier and Type | Method and Description |
---|---|
DatastoreOptions |
build() |
DatastoreOptions.Builder |
setDatabaseId(String databaseId) |
DatastoreOptions.Builder |
setNamespace(String namespace)
Sets the default namespace to be used by the datastore service.
|
DatastoreOptions.Builder |
setTransportOptions(com.google.cloud.TransportOptions transportOptions) |
public DatastoreOptions.Builder setTransportOptions(com.google.cloud.TransportOptions transportOptions)
setTransportOptions
in class com.google.cloud.ServiceOptions.Builder<Datastore,DatastoreOptions,DatastoreOptions.Builder>
public DatastoreOptions build()
build
in class com.google.cloud.ServiceOptions.Builder<Datastore,DatastoreOptions,DatastoreOptions.Builder>
public DatastoreOptions.Builder setNamespace(String namespace)
@BetaApi public DatastoreOptions.Builder setDatabaseId(String databaseId)
Copyright © 2023 Google LLC. All rights reserved.