Class DatabaseInfo (2.25.0)

public class DatabaseInfo

Inheritance

Object > DatabaseInfo

Constructors

DatabaseInfo(DatabaseId arg0, DatabaseInfo.State arg1)

public DatabaseInfo(DatabaseId arg0, DatabaseInfo.State arg1)
Parameters
Name Description
arg0 DatabaseId
arg1 State

Methods

equals(Object arg0)

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

getCreateTime()

public Timestamp getCreateTime()
Returns
Type Description
com.google.cloud.Timestamp

getDefaultLeader()

public String getDefaultLeader()
Returns
Type Description
String

getDialect()

public Dialect getDialect()
Returns
Type Description
Dialect

getEarliestVersionTime()

public Timestamp getEarliestVersionTime()
Returns
Type Description
com.google.cloud.Timestamp

getEncryptionConfig()

public CustomerManagedEncryption getEncryptionConfig()
Returns
Type Description
com.google.cloud.spanner.encryption.CustomerManagedEncryption

getId()

public DatabaseId getId()
Returns
Type Description
DatabaseId

getProto()

public Database getProto()
Returns
Type Description
com.google.spanner.admin.database.v1.Database

getProtoDescriptors()

public ByteString getProtoDescriptors()
Returns
Type Description
ByteString

getReconciling()

public boolean getReconciling()
Returns
Type Description
boolean

getRestoreInfo()

public RestoreInfo getRestoreInfo()
Returns
Type Description
RestoreInfo

getState()

public DatabaseInfo.State getState()
Returns
Type Description
State

getVersionRetentionPeriod()

public String getVersionRetentionPeriod()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

isDropProtectionEnabled()

public boolean isDropProtectionEnabled()
Returns
Type Description
boolean

toString()

public String toString()
Returns
Type Description
String
Overrides