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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final Stringstatic final intstatic final intstatic final StringFields inherited from class com.google.cloud.ServiceOptions
clientLibToken, CREDENTIAL_ENV_NAME, credentials -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected DatastoreRpcstatic com.google.cloud.grpc.GrpcTransportOptionsprotected Stringstatic com.google.cloud.http.HttpTransportOptionsstatic DatastoreOptionsReturns a defaultDatastoreOptionsinstance.protected StringReturns the default namespace to be used by the datastore service.com.google.api.gax.rpc.TransportChannelProviderinthashCode()static DatastoreOptions.BuilderMethods inherited from class com.google.cloud.ServiceOptions
baseEquals, baseHashCode, defaultRetrySettings, getApiTracerFactory, getAppEngineAppId, getAppEngineProjectId, getAppEngineProjectIdFromAppId, getApplicationName, getClientLibToken, getClock, getCredentials, getDefaultProjectId, getDefaultRetrySettings, getFromServiceLoader, getGoogApiClientLibName, getGoogleCloudProjectId, getHost, getLibraryName, getLibraryVersion, getMergedHeaderProvider, getNoRetrySettings, getProjectId, getQuotaProjectId, getResolvedApiaryHost, getResolvedHost, getRetrySettings, getRpc, getScopedCredentials, getService, getServiceAccountProjectId, getTransportOptions, getUniverseDomain, getUserAgent, hasValidUniverseDomain, newInstance, projectIdRequired, shouldRefreshRpc, shouldRefreshService
-
Field Details
-
PROJECT_ID_ENV_VAR
- See Also:
-
LOCAL_HOST_ENV_VAR
- See Also:
-
INIT_CHANNEL_COUNT
public static final int INIT_CHANNEL_COUNT- See Also:
-
MIN_CHANNEL_COUNT
public static final int MIN_CHANNEL_COUNT- See Also:
-
MAX_CHANNEL_COUNT
public static final int MAX_CHANNEL_COUNT- See Also:
-
-
Method Details
-
getOpenTelemetryOptions
-
getTransportChannelProvider
public com.google.api.gax.rpc.TransportChannelProvider getTransportChannelProvider() -
getDefaultHost
- Overrides:
getDefaultHostin classcom.google.cloud.ServiceOptions<Datastore,DatastoreOptions>
-
getDefaultProject
- Overrides:
getDefaultProjectin classcom.google.cloud.ServiceOptions<Datastore,DatastoreOptions>
-
getDefaultHttpTransportOptions
public static com.google.cloud.http.HttpTransportOptions getDefaultHttpTransportOptions() -
getDefaultGrpcTransportOptions
public static com.google.cloud.grpc.GrpcTransportOptions getDefaultGrpcTransportOptions() -
getNamespace
Returns the default namespace to be used by the datastore service. -
getDatabaseId
-
getDefaultInstance
Returns a defaultDatastoreOptionsinstance. -
getScopes
- Specified by:
getScopesin classcom.google.cloud.ServiceOptions<Datastore,DatastoreOptions>
-
getDatastoreRpcV1
-
toBuilder
- Specified by:
toBuilderin classcom.google.cloud.ServiceOptions<Datastore,DatastoreOptions>
-
hashCode
public int hashCode() -
equals
-
newBuilder
-