Class DatastoreOptions (2.18.5)

public class DatastoreOptions extends ServiceOptions<Datastore,DatastoreOptions>

Inheritance

Object > com.google.cloud.ServiceOptions > DatastoreOptions

Static Methods

getDefaultHttpTransportOptions()

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

getDefaultInstance()

public static DatastoreOptions getDefaultInstance()

Returns a default DatastoreOptions instance.

Returns
TypeDescription
DatastoreOptions

newBuilder()

public static DatastoreOptions.Builder newBuilder()
Returns
TypeDescription
DatastoreOptions.Builder

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDatabaseId()

public String getDatabaseId()
Returns
TypeDescription
String

getDatastoreRpcV1()

protected DatastoreRpc getDatastoreRpcV1()
Returns
TypeDescription
DatastoreRpc

getDefaultHost()

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

getDefaultProject()

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

getNamespace()

public String getNamespace()

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

Returns
TypeDescription
String

getScopes()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toBuilder()

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