Interface SnapshotOrBuilder (2.13.0)

public interface SnapshotOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time when the snapshot is created.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the snapshot is created.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getDataSizeBytes()

public abstract long getDataSizeBytes()

Output only. The size of the data in the source table at the time the snapshot was taken. In some cases, this value may be computed asynchronously via a background process and a placeholder of 0 will be used in the meantime.

int64 data_size_bytes = 3;

Returns
TypeDescription
long

The dataSizeBytes.

getDeleteTime()

public abstract Timestamp getDeleteTime()

Output only. The time when the snapshot will be deleted. The maximum amount of time a snapshot can stay active is 365 days. If 'ttl' is not specified, the default maximum of 365 days will be used.

.google.protobuf.Timestamp delete_time = 5;

Returns
TypeDescription
Timestamp

The deleteTime.

getDeleteTimeOrBuilder()

public abstract TimestampOrBuilder getDeleteTimeOrBuilder()

Output only. The time when the snapshot will be deleted. The maximum amount of time a snapshot can stay active is 365 days. If 'ttl' is not specified, the default maximum of 365 days will be used.

.google.protobuf.Timestamp delete_time = 5;

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Output only. Description of the snapshot.

string description = 7;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Output only. Description of the snapshot.

string description = 7;

Returns
TypeDescription
ByteString

The bytes for description.

getName()

public abstract String getName()

Output only. The unique name of the snapshot. Values are of the form projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The unique name of the snapshot. Values are of the form projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getSourceTable()

public abstract Table getSourceTable()

Output only. The source table at the time the snapshot was taken.

.google.bigtable.admin.v2.Table source_table = 2;

Returns
TypeDescription
Table

The sourceTable.

getSourceTableOrBuilder()

public abstract TableOrBuilder getSourceTableOrBuilder()

Output only. The source table at the time the snapshot was taken.

.google.bigtable.admin.v2.Table source_table = 2;

Returns
TypeDescription
TableOrBuilder

getState()

public abstract Snapshot.State getState()

Output only. The current state of the snapshot.

.google.bigtable.admin.v2.Snapshot.State state = 6;

Returns
TypeDescription
Snapshot.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. The current state of the snapshot.

.google.bigtable.admin.v2.Snapshot.State state = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time when the snapshot is created.

.google.protobuf.Timestamp create_time = 4;

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDeleteTime()

public abstract boolean hasDeleteTime()

Output only. The time when the snapshot will be deleted. The maximum amount of time a snapshot can stay active is 365 days. If 'ttl' is not specified, the default maximum of 365 days will be used.

.google.protobuf.Timestamp delete_time = 5;

Returns
TypeDescription
boolean

Whether the deleteTime field is set.

hasSourceTable()

public abstract boolean hasSourceTable()

Output only. The source table at the time the snapshot was taken.

.google.bigtable.admin.v2.Table source_table = 2;

Returns
TypeDescription
boolean

Whether the sourceTable field is set.