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
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from class com.google.cloud.ServiceOptions
clientLibToken, CREDENTIAL_ENV_NAME, credentials
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected DatastoreRpc
protected String
static com.google.cloud.http.HttpTransportOptions
static DatastoreOptions
Returns a defaultDatastoreOptions
instance.protected String
Returns the default namespace to be used by the datastore service.int
hashCode()
static DatastoreOptions.Builder
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 Details
-
getDefaultHost
- Overrides:
getDefaultHost
in classcom.google.cloud.ServiceOptions<Datastore,
DatastoreOptions>
-
getDefaultProject
- Overrides:
getDefaultProject
in classcom.google.cloud.ServiceOptions<Datastore,
DatastoreOptions>
-
getDefaultHttpTransportOptions
public static com.google.cloud.http.HttpTransportOptions getDefaultHttpTransportOptions() -
getNamespace
Returns the default namespace to be used by the datastore service. -
getDatabaseId
-
getDefaultInstance
Returns a defaultDatastoreOptions
instance. -
getScopes
- Specified by:
getScopes
in classcom.google.cloud.ServiceOptions<Datastore,
DatastoreOptions>
-
getDatastoreRpcV1
-
toBuilder
- Specified by:
toBuilder
in classcom.google.cloud.ServiceOptions<Datastore,
DatastoreOptions>
-
hashCode
public int hashCode() -
equals
-
newBuilder
-