Class DatastoreOptions.Builder (2.13.5)

public static class DatastoreOptions.Builder extends ServiceOptions.Builder<Datastore,DatastoreOptions,DatastoreOptions.Builder>

Inheritance

java.lang.Object > com.google.cloud.ServiceOptions.Builder > DatastoreOptions.Builder

Methods

build()

public DatastoreOptions build()
Returns
TypeDescription
DatastoreOptions
Overrides
com.google.cloud.ServiceOptions.Builder.build()

setNamespace(String namespace)

public DatastoreOptions.Builder setNamespace(String namespace)

Sets the default namespace to be used by the datastore service.

Parameter
NameDescription
namespaceString
Returns
TypeDescription
DatastoreOptions.Builder

setTransportOptions(TransportOptions transportOptions)

public DatastoreOptions.Builder setTransportOptions(TransportOptions transportOptions)
Parameter
NameDescription
transportOptionscom.google.cloud.TransportOptions
Returns
TypeDescription
DatastoreOptions.Builder
Overrides
com.google.cloud.ServiceOptions.Builder.setTransportOptions(com.google.cloud.TransportOptions)