Interface TableOrBuilder (2.6.2)

public interface TableOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsClusterStates(String key)

public abstract boolean containsClusterStates(String key)

Output only. Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN replication_status. Views: REPLICATION_VIEW, ENCRYPTION_VIEW, FULL

map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsColumnFamilies(String key)

public abstract boolean containsColumnFamilies(String key)

(CreationOnly) The column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL

map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getClusterStates()

public abstract Map<String,Table.ClusterState> getClusterStates()
Returns
TypeDescription
Map<String,ClusterState>

getClusterStatesCount()

public abstract int getClusterStatesCount()

Output only. Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN replication_status. Views: REPLICATION_VIEW, ENCRYPTION_VIEW, FULL

map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2;

Returns
TypeDescription
int

getClusterStatesMap()

public abstract Map<String,Table.ClusterState> getClusterStatesMap()

Output only. Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN replication_status. Views: REPLICATION_VIEW, ENCRYPTION_VIEW, FULL

map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2;

Returns
TypeDescription
Map<String,ClusterState>

getClusterStatesOrDefault(String key, Table.ClusterState defaultValue)

public abstract Table.ClusterState getClusterStatesOrDefault(String key, Table.ClusterState defaultValue)

Output only. Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN replication_status. Views: REPLICATION_VIEW, ENCRYPTION_VIEW, FULL

map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2;

Parameters
NameDescription
keyString
defaultValueTable.ClusterState
Returns
TypeDescription
Table.ClusterState

getClusterStatesOrThrow(String key)

public abstract Table.ClusterState getClusterStatesOrThrow(String key)

Output only. Map from cluster ID to per-cluster table state. If it could not be determined whether or not the table has data in a particular cluster (for example, if its zone is unavailable), then there will be an entry for the cluster with UNKNOWN replication_status. Views: REPLICATION_VIEW, ENCRYPTION_VIEW, FULL

map<string, .google.bigtable.admin.v2.Table.ClusterState> cluster_states = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
Table.ClusterState

getColumnFamilies()

public abstract Map<String,ColumnFamily> getColumnFamilies()
Returns
TypeDescription
Map<String,ColumnFamily>

getColumnFamiliesCount()

public abstract int getColumnFamiliesCount()

(CreationOnly) The column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL

map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;

Returns
TypeDescription
int

getColumnFamiliesMap()

public abstract Map<String,ColumnFamily> getColumnFamiliesMap()

(CreationOnly) The column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL

map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;

Returns
TypeDescription
Map<String,ColumnFamily>

getColumnFamiliesOrDefault(String key, ColumnFamily defaultValue)

public abstract ColumnFamily getColumnFamiliesOrDefault(String key, ColumnFamily defaultValue)

(CreationOnly) The column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL

map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;

Parameters
NameDescription
keyString
defaultValueColumnFamily
Returns
TypeDescription
ColumnFamily

getColumnFamiliesOrThrow(String key)

public abstract ColumnFamily getColumnFamiliesOrThrow(String key)

(CreationOnly) The column families configured for this table, mapped by column family ID. Views: SCHEMA_VIEW, FULL

map<string, .google.bigtable.admin.v2.ColumnFamily> column_families = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
ColumnFamily

getGranularity()

public abstract Table.TimestampGranularity getGranularity()

(CreationOnly) The granularity (i.e. MILLIS) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set to MILLIS. Views: SCHEMA_VIEW, FULL.

.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;

Returns
TypeDescription
Table.TimestampGranularity

The granularity.

getGranularityValue()

public abstract int getGranularityValue()

(CreationOnly) The granularity (i.e. MILLIS) at which timestamps are stored in this table. Timestamps not matching the granularity will be rejected. If unspecified at creation time, the value will be set to MILLIS. Views: SCHEMA_VIEW, FULL.

.google.bigtable.admin.v2.Table.TimestampGranularity granularity = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for granularity.

getName()

public abstract String getName()

The unique name of the table. Values are of the form projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*. Views: NAME_ONLY, SCHEMA_VIEW, REPLICATION_VIEW, FULL

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The unique name of the table. Values are of the form projects/{project}/instances/{instance}/tables/_a-zA-Z0-9*. Views: NAME_ONLY, SCHEMA_VIEW, REPLICATION_VIEW, FULL

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getRestoreInfo()

public abstract RestoreInfo getRestoreInfo()

Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.

.google.bigtable.admin.v2.RestoreInfo restore_info = 6;

Returns
TypeDescription
RestoreInfo

The restoreInfo.

getRestoreInfoOrBuilder()

public abstract RestoreInfoOrBuilder getRestoreInfoOrBuilder()

Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.

.google.bigtable.admin.v2.RestoreInfo restore_info = 6;

Returns
TypeDescription
RestoreInfoOrBuilder

hasRestoreInfo()

public abstract boolean hasRestoreInfo()

Output only. If this table was restored from another data source (e.g. a backup), this field will be populated with information about the restore.

.google.bigtable.admin.v2.RestoreInfo restore_info = 6;

Returns
TypeDescription
boolean

Whether the restoreInfo field is set.