public static class DatastoreOptions.Builder extends ServiceOptions.Builder<Datastore,DatastoreOptions,DatastoreOptions.Builder>
Inherited Members
com.google.cloud.ServiceOptions.Builder.build()
com.google.cloud.ServiceOptions.Builder.getAllowedClientLibTokens()
com.google.cloud.ServiceOptions.Builder.self()
com.google.cloud.ServiceOptions.Builder.setApiTracerFactory(com.google.api.gax.tracing.ApiTracerFactory)
com.google.cloud.ServiceOptions.Builder.setClientLibToken(java.lang.String)
com.google.cloud.ServiceOptions.Builder.setClock(com.google.api.core.ApiClock)
com.google.cloud.ServiceOptions.Builder.setCredentials(com.google.auth.Credentials)
com.google.cloud.ServiceOptions.Builder.setHeaderProvider(com.google.api.gax.rpc.HeaderProvider)
com.google.cloud.ServiceOptions.Builder.setHost(java.lang.String)
com.google.cloud.ServiceOptions.Builder.setProjectId(java.lang.String)
com.google.cloud.ServiceOptions.Builder.setQuotaProjectId(java.lang.String)
com.google.cloud.ServiceOptions.Builder.setRetrySettings(com.google.api.gax.retrying.RetrySettings)
com.google.cloud.ServiceOptions.Builder.setServiceFactory(com.google.cloud.ServiceFactory<ServiceT,OptionsT>)
com.google.cloud.ServiceOptions.Builder.setServiceRpcFactory(com.google.cloud.spi.ServiceRpcFactory<OptionsT>)
com.google.cloud.ServiceOptions.Builder.setTransportOptions(com.google.cloud.TransportOptions)
com.google.cloud.ServiceOptions.Builder.setUniverseDomain(java.lang.String)
Methods
build()
public DatastoreOptions build()
Returns | |
---|---|
Type | Description |
DatastoreOptions |
com.google.cloud.ServiceOptions.Builder.build()
setDatabaseId(String databaseId)
public DatastoreOptions.Builder setDatabaseId(String databaseId)
Parameter | |
---|---|
Name | Description |
databaseId |
String |
Returns | |
---|---|
Type | Description |
DatastoreOptions.Builder |
setNamespace(String namespace)
public DatastoreOptions.Builder setNamespace(String namespace)
Sets the default namespace to be used by the datastore service.
Parameter | |
---|---|
Name | Description |
namespace |
String |
Returns | |
---|---|
Type | Description |
DatastoreOptions.Builder |
setOpenTelemetryOptions(DatastoreOpenTelemetryOptions openTelemetryOptions)
public DatastoreOptions.Builder setOpenTelemetryOptions(DatastoreOpenTelemetryOptions openTelemetryOptions)
Sets the DatastoreOpenTelemetryOptions to be used for this Firestore instance.
Parameter | |
---|---|
Name | Description |
openTelemetryOptions |
DatastoreOpenTelemetryOptions The |
Returns | |
---|---|
Type | Description |
DatastoreOptions.Builder |
setTransportOptions(TransportOptions transportOptions)
public DatastoreOptions.Builder setTransportOptions(TransportOptions transportOptions)
Parameter | |
---|---|
Name | Description |
transportOptions |
com.google.cloud.TransportOptions |
Returns | |
---|---|
Type | Description |
DatastoreOptions.Builder |
com.google.cloud.ServiceOptions.Builder.setTransportOptions(com.google.cloud.TransportOptions)