Package com.google.cloud.datastore
Class DatastoreOptions
- java.lang.Object
-
- com.google.cloud.ServiceOptions<Datastore,DatastoreOptions>
-
- com.google.cloud.datastore.DatastoreOptions
-
- All Implemented Interfaces:
Serializable
public class DatastoreOptions extends com.google.cloud.ServiceOptions<Datastore,DatastoreOptions>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatastoreOptions.Builderstatic classDatastoreOptions.DefaultDatastoreFactorystatic classDatastoreOptions.DefaultDatastoreRpcFactory
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetDatabaseId()protected DatastoreRpcgetDatastoreRpcV1()protected StringgetDefaultHost()static com.google.cloud.http.HttpTransportOptionsgetDefaultHttpTransportOptions()static DatastoreOptionsgetDefaultInstance()Returns a defaultDatastoreOptionsinstance.protected StringgetDefaultProject()StringgetNamespace()Returns the default namespace to be used by the datastore service.protected Set<String>getScopes()inthashCode()static DatastoreOptions.BuildernewBuilder()DatastoreOptions.BuildertoBuilder()-
Methods inherited from class com.google.cloud.ServiceOptions
baseEquals, baseHashCode, defaultRetrySettings, getAppEngineAppId, getAppEngineProjectId, getAppEngineProjectIdFromAppId, getApplicationName, getClientLibToken, getClock, getCredentials, getDefaultProjectId, getDefaultRetrySettings, getFromServiceLoader, getGoogApiClientLibName, getGoogleCloudProjectId, getHost, getLibraryName, getLibraryVersion, getMergedHeaderProvider, getNoRetrySettings, getProjectId, getQuotaProjectId, getRetrySettings, getRpc, getScopedCredentials, getService, getServiceAccountProjectId, getTransportOptions, getUserAgent, newInstance, projectIdRequired, shouldRefreshRpc, shouldRefreshService
-
-
-
-
Method Detail
-
getDefaultHost
protected String getDefaultHost()
- Overrides:
getDefaultHostin classcom.google.cloud.ServiceOptions<Datastore,DatastoreOptions>
-
getDefaultProject
protected String getDefaultProject()
- Overrides:
getDefaultProjectin classcom.google.cloud.ServiceOptions<Datastore,DatastoreOptions>
-
getDefaultHttpTransportOptions
public static com.google.cloud.http.HttpTransportOptions getDefaultHttpTransportOptions()
-
getNamespace
public String getNamespace()
Returns the default namespace to be used by the datastore service.
-
getDatabaseId
@BetaApi public String getDatabaseId()
-
getDefaultInstance
public static DatastoreOptions getDefaultInstance()
Returns a defaultDatastoreOptionsinstance.
-
getScopes
protected Set<String> getScopes()
- Specified by:
getScopesin classcom.google.cloud.ServiceOptions<Datastore,DatastoreOptions>
-
getDatastoreRpcV1
protected DatastoreRpc getDatastoreRpcV1()
-
toBuilder
public DatastoreOptions.Builder toBuilder()
- Specified by:
toBuilderin classcom.google.cloud.ServiceOptions<Datastore,DatastoreOptions>
-
newBuilder
public static DatastoreOptions.Builder newBuilder()
-
-