public class DatastoreOptions extends ServiceOptions<Datastore,DatastoreOptions>
Modifier and Type | Class and Description |
---|---|
static class |
DatastoreOptions.Builder |
static class |
DatastoreOptions.DefaultDatastoreFactory |
static class |
DatastoreOptions.DefaultDatastoreRpcFactory |
CREDENTIAL_ENV_NAME, credentials
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected DatastoreRpc |
getDatastoreRpcV1() |
protected String |
getDefaultHost() |
static HttpTransportOptions |
getDefaultHttpTransportOptions() |
static DatastoreOptions |
getDefaultInstance()
Returns a default
DatastoreOptions instance. |
protected String |
getDefaultProject() |
String |
getNamespace()
Returns the default namespace to be used by the datastore service.
|
protected Set<String> |
getScopes() |
int |
hashCode() |
static DatastoreOptions.Builder |
newBuilder() |
DatastoreOptions.Builder |
toBuilder() |
baseEquals, baseHashCode, defaultRetrySettings, getAppEngineAppId, getAppEngineProjectId, getAppEngineProjectIdFromAppId, getApplicationName, getClock, getCredentials, getDefaultProjectId, getDefaultRetrySettings, getFromServiceLoader, getGoogApiClientLibName, getGoogleCloudProjectId, getHost, getLibraryName, getLibraryVersion, getMergedHeaderProvider, getNoRetrySettings, getProjectId, getRetrySettings, getRpc, getScopedCredentials, getService, getServiceAccountProjectId, getTransportOptions, getUserAgent, newInstance, projectIdRequired
protected String getDefaultHost()
getDefaultHost
in class ServiceOptions<Datastore,DatastoreOptions>
protected String getDefaultProject()
getDefaultProject
in class ServiceOptions<Datastore,DatastoreOptions>
public static HttpTransportOptions getDefaultHttpTransportOptions()
public String getNamespace()
public static DatastoreOptions getDefaultInstance()
DatastoreOptions
instance.protected Set<String> getScopes()
getScopes
in class ServiceOptions<Datastore,DatastoreOptions>
protected DatastoreRpc getDatastoreRpcV1()
public DatastoreOptions.Builder toBuilder()
toBuilder
in class ServiceOptions<Datastore,DatastoreOptions>
public static DatastoreOptions.Builder newBuilder()
Copyright © 2019 Google LLC. All rights reserved.