public final class Snapshot extends com.google.protobuf.GeneratedMessageV3 implements SnapshotOrBuilder
A snapshot of a table at a particular time. A snapshot can be used as a checkpoint for data restoration or a data source for a new table. Note: This is a private alpha release of Cloud Bigtable snapshots. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.Protobuf type
google.bigtable.admin.v2.Snapshot| Modifier and Type | Class and Description |
|---|---|
static class |
Snapshot.Builder
A snapshot of a table at a particular time.
|
static class |
Snapshot.State
Possible states of a snapshot.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DATA_SIZE_BYTES_FIELD_NUMBER |
static int |
DELETE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SOURCE_TABLE_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
(`OutputOnly`)
The time when the snapshot is created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
(`OutputOnly`)
The time when the snapshot is created.
|
long |
getDataSizeBytes()
(`OutputOnly`)
The size of the data in the source table at the time the snapshot was
taken.
|
static Snapshot |
getDefaultInstance() |
Snapshot |
getDefaultInstanceForType() |
com.google.protobuf.Timestamp |
getDeleteTime()
(`OutputOnly`)
The time when the snapshot will be deleted.
|
com.google.protobuf.TimestampOrBuilder |
getDeleteTimeOrBuilder()
(`OutputOnly`)
The time when the snapshot will be deleted.
|
String |
getDescription()
(`OutputOnly`)
Description of the snapshot.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
(`OutputOnly`)
Description of the snapshot.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
(`OutputOnly`)
The unique name of the snapshot.
|
com.google.protobuf.ByteString |
getNameBytes()
(`OutputOnly`)
The unique name of the snapshot.
|
com.google.protobuf.Parser<Snapshot> |
getParserForType() |
int |
getSerializedSize() |
Table |
getSourceTable()
(`OutputOnly`)
The source table at the time the snapshot was taken.
|
TableOrBuilder |
getSourceTableOrBuilder()
(`OutputOnly`)
The source table at the time the snapshot was taken.
|
Snapshot.State |
getState()
(`OutputOnly`)
The current state of the snapshot.
|
int |
getStateValue()
(`OutputOnly`)
The current state of the snapshot.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreateTime()
(`OutputOnly`)
The time when the snapshot is created.
|
boolean |
hasDeleteTime()
(`OutputOnly`)
The time when the snapshot will be deleted.
|
int |
hashCode() |
boolean |
hasSourceTable()
(`OutputOnly`)
The source table at the time the snapshot was taken.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Snapshot.Builder |
newBuilder() |
static Snapshot.Builder |
newBuilder(Snapshot prototype) |
Snapshot.Builder |
newBuilderForType() |
protected Snapshot.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Snapshot |
parseDelimitedFrom(InputStream input) |
static Snapshot |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Snapshot |
parseFrom(byte[] data) |
static Snapshot |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Snapshot |
parseFrom(ByteBuffer data) |
static Snapshot |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Snapshot |
parseFrom(com.google.protobuf.ByteString data) |
static Snapshot |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Snapshot |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Snapshot |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Snapshot |
parseFrom(InputStream input) |
static Snapshot |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Snapshot> |
parser() |
Snapshot.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int SOURCE_TABLE_FIELD_NUMBER
public static final int DATA_SIZE_BYTES_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int DELETE_TIME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
(`OutputOnly`) The unique name of the snapshot. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
string name = 1;getName in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
(`OutputOnly`) The unique name of the snapshot. Values are of the form `projects/<project>/instances/<instance>/clusters/<cluster>/snapshots/<snapshot>`.
string name = 1;getNameBytes in interface SnapshotOrBuilderpublic boolean hasSourceTable()
(`OutputOnly`) The source table at the time the snapshot was taken.
.google.bigtable.admin.v2.Table source_table = 2;hasSourceTable in interface SnapshotOrBuilderpublic Table getSourceTable()
(`OutputOnly`) The source table at the time the snapshot was taken.
.google.bigtable.admin.v2.Table source_table = 2;getSourceTable in interface SnapshotOrBuilderpublic TableOrBuilder getSourceTableOrBuilder()
(`OutputOnly`) The source table at the time the snapshot was taken.
.google.bigtable.admin.v2.Table source_table = 2;getSourceTableOrBuilder in interface SnapshotOrBuilderpublic long getDataSizeBytes()
(`OutputOnly`) 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;getDataSizeBytes in interface SnapshotOrBuilderpublic boolean hasCreateTime()
(`OutputOnly`) The time when the snapshot is created.
.google.protobuf.Timestamp create_time = 4;hasCreateTime in interface SnapshotOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
(`OutputOnly`) The time when the snapshot is created.
.google.protobuf.Timestamp create_time = 4;getCreateTime in interface SnapshotOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
(`OutputOnly`) The time when the snapshot is created.
.google.protobuf.Timestamp create_time = 4;getCreateTimeOrBuilder in interface SnapshotOrBuilderpublic boolean hasDeleteTime()
(`OutputOnly`) 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;hasDeleteTime in interface SnapshotOrBuilderpublic com.google.protobuf.Timestamp getDeleteTime()
(`OutputOnly`) 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;getDeleteTime in interface SnapshotOrBuilderpublic com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
(`OutputOnly`) 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;getDeleteTimeOrBuilder in interface SnapshotOrBuilderpublic int getStateValue()
(`OutputOnly`) The current state of the snapshot.
.google.bigtable.admin.v2.Snapshot.State state = 6;getStateValue in interface SnapshotOrBuilderpublic Snapshot.State getState()
(`OutputOnly`) The current state of the snapshot.
.google.bigtable.admin.v2.Snapshot.State state = 6;getState in interface SnapshotOrBuilderpublic String getDescription()
(`OutputOnly`) Description of the snapshot.
string description = 7;getDescription in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
(`OutputOnly`) Description of the snapshot.
string description = 7;getDescriptionBytes in interface SnapshotOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Snapshot parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Snapshot parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Snapshot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Snapshot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Snapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Snapshot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Snapshot parseFrom(InputStream input) throws IOException
IOExceptionpublic static Snapshot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Snapshot parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Snapshot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Snapshot parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Snapshot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Snapshot.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Snapshot.Builder newBuilder()
public static Snapshot.Builder newBuilder(Snapshot prototype)
public Snapshot.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Snapshot.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Snapshot getDefaultInstance()
public static com.google.protobuf.Parser<Snapshot> parser()
public com.google.protobuf.Parser<Snapshot> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Snapshot getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 Google LLC. All rights reserved.