Class DatastoreOptions (2.20.1)

public class DatastoreOptions extends ServiceOptions<Datastore,DatastoreOptions>

Inheritance

Object > com.google.cloud.ServiceOptions > DatastoreOptions

Static Methods

getDefaultHttpTransportOptions()

public static HttpTransportOptions getDefaultHttpTransportOptions()
Returns
Type Description
com.google.cloud.http.HttpTransportOptions

getDefaultInstance()

public static DatastoreOptions getDefaultInstance()

Returns a default DatastoreOptions instance.

Returns
Type Description
DatastoreOptions

newBuilder()

public static DatastoreOptions.Builder newBuilder()
Returns
Type Description
DatastoreOptions.Builder

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDatabaseId()

public String getDatabaseId()
Returns
Type Description
String

getDatastoreRpcV1()

protected DatastoreRpc getDatastoreRpcV1()
Returns
Type Description
DatastoreRpc

getDefaultHost()

protected String getDefaultHost()
Returns
Type Description
String
Overrides
com.google.cloud.ServiceOptions.getDefaultHost()

getDefaultProject()

protected String getDefaultProject()
Returns
Type Description
String
Overrides
com.google.cloud.ServiceOptions.getDefaultProject()

getNamespace()

public String getNamespace()

Returns the default namespace to be used by the datastore service.

Returns
Type Description
String

getScopes()

protected Set<String> getScopes()
Returns
Type Description
Set<String>
Overrides
com.google.cloud.ServiceOptions.getScopes()

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toBuilder()

public DatastoreOptions.Builder toBuilder()
Returns
Type Description
DatastoreOptions.Builder
Overrides
com.google.cloud.ServiceOptions.<B>toBuilder()