@Generated public final class Backup extends com.google.protobuf.GeneratedMessage implements BackupOrBuilder
A backup of a Cloud Bigtable table.Protobuf type
google.bigtable.admin.v2.Backup| Modifier and Type | Class and Description |
|---|---|
static class |
Backup.BackupType
The type of the backup.
|
static class |
Backup.Builder
A backup of a Cloud Bigtable table.
|
static class |
Backup.State
Indicates the current state of the backup.
|
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BACKUP_TYPE_FIELD_NUMBER |
static int |
ENCRYPTION_INFO_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
EXPIRE_TIME_FIELD_NUMBER |
static int |
HOT_TO_STANDARD_TIME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SIZE_BYTES_FIELD_NUMBER |
static int |
SOURCE_BACKUP_FIELD_NUMBER |
static int |
SOURCE_TABLE_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Backup.BackupType |
getBackupType()
Indicates the backup type of the backup.
|
int |
getBackupTypeValue()
Indicates the backup type of the backup.
|
static Backup |
getDefaultInstance() |
Backup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EncryptionInfo |
getEncryptionInfo()
Output only.
|
EncryptionInfoOrBuilder |
getEncryptionInfoOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getExpireTime()
Required.
|
com.google.protobuf.TimestampOrBuilder |
getExpireTimeOrBuilder()
Required.
|
com.google.protobuf.Timestamp |
getHotToStandardTime()
The time at which the hot backup will be converted to a standard backup.
|
com.google.protobuf.TimestampOrBuilder |
getHotToStandardTimeOrBuilder()
The time at which the hot backup will be converted to a standard backup.
|
String |
getName()
A globally unique identifier for the backup which cannot be
changed.
|
com.google.protobuf.ByteString |
getNameBytes()
A globally unique identifier for the backup which cannot be
changed.
|
com.google.protobuf.Parser<Backup> |
getParserForType() |
int |
getSerializedSize() |
long |
getSizeBytes()
Output only.
|
String |
getSourceBackup()
Output only.
|
com.google.protobuf.ByteString |
getSourceBackupBytes()
Output only.
|
String |
getSourceTable()
Required.
|
com.google.protobuf.ByteString |
getSourceTableBytes()
Required.
|
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
Backup.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
boolean |
hasEncryptionInfo()
Output only.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasExpireTime()
Required.
|
int |
hashCode() |
boolean |
hasHotToStandardTime()
The time at which the hot backup will be converted to a standard backup.
|
boolean |
hasStartTime()
Output only.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Backup.Builder |
newBuilder() |
static Backup.Builder |
newBuilder(Backup prototype) |
Backup.Builder |
newBuilderForType() |
protected Backup.Builder |
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) |
static Backup |
parseDelimitedFrom(InputStream input) |
static Backup |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(byte[] data) |
static Backup |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(ByteBuffer data) |
static Backup |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(com.google.protobuf.ByteString data) |
static Backup |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Backup |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Backup |
parseFrom(InputStream input) |
static Backup |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Backup> |
parser() |
Backup.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, 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 SOURCE_BACKUP_FIELD_NUMBER
public static final int EXPIRE_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int SIZE_BYTES_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int ENCRYPTION_INFO_FIELD_NUMBER
public static final int BACKUP_TYPE_FIELD_NUMBER
public static final int HOT_TO_STANDARD_TIME_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic String getName()
A globally unique identifier for the backup which cannot be
changed. Values are of the form
`projects/{project}/instances/{instance}/clusters/{cluster}/
backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
The final segment of the name must be between 1 and 50 characters
in length.
The backup is stored in the cluster identified by the prefix of the backup
name of the form
`projects/{project}/instances/{instance}/clusters/{cluster}`.
string name = 1;getName in interface BackupOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
A globally unique identifier for the backup which cannot be
changed. Values are of the form
`projects/{project}/instances/{instance}/clusters/{cluster}/
backups/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`
The final segment of the name must be between 1 and 50 characters
in length.
The backup is stored in the cluster identified by the prefix of the backup
name of the form
`projects/{project}/instances/{instance}/clusters/{cluster}`.
string name = 1;getNameBytes in interface BackupOrBuilderpublic String getSourceTable()
Required. Immutable. Name of the table from which this backup was created.
This needs to be in the same instance as the backup. Values are of the form
`projects/{project}/instances/{instance}/tables/{source_table}`.
string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
getSourceTable in interface BackupOrBuilderpublic com.google.protobuf.ByteString getSourceTableBytes()
Required. Immutable. Name of the table from which this backup was created.
This needs to be in the same instance as the backup. Values are of the form
`projects/{project}/instances/{instance}/tables/{source_table}`.
string source_table = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];
getSourceTableBytes in interface BackupOrBuilderpublic String getSourceBackup()
Output only. Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getSourceBackup in interface BackupOrBuilderpublic com.google.protobuf.ByteString getSourceBackupBytes()
Output only. Name of the backup from which this backup was copied. If a backup is not created by copying a backup, this field will be empty. Values are of the form: projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>
string source_backup = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];getSourceBackupBytes in interface BackupOrBuilderpublic boolean hasExpireTime()
Required. The expiration time of the backup. When creating a backup or updating its `expire_time`, the value must be greater than the backup creation time by: - At least 6 hours - At most 90 days Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
hasExpireTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getExpireTime()
Required. The expiration time of the backup. When creating a backup or updating its `expire_time`, the value must be greater than the backup creation time by: - At least 6 hours - At most 90 days Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
getExpireTime in interface BackupOrBuilderpublic com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Required. The expiration time of the backup. When creating a backup or updating its `expire_time`, the value must be greater than the backup creation time by: - At least 6 hours - At most 90 days Once the `expire_time` has passed, Cloud Bigtable will delete the backup.
.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = REQUIRED];
getExpireTimeOrBuilder in interface BackupOrBuilderpublic boolean hasStartTime()
Output only. `start_time` is the time that the backup was started (i.e. approximately the time the [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup] request is received). The row data in this backup will be no older than this timestamp.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStartTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Output only. `start_time` is the time that the backup was started (i.e. approximately the time the [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup] request is received). The row data in this backup will be no older than this timestamp.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTime in interface BackupOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. `start_time` is the time that the backup was started (i.e. approximately the time the [CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup] request is received). The row data in this backup will be no older than this timestamp.
.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTimeOrBuilder in interface BackupOrBuilderpublic boolean hasEndTime()
Output only. `end_time` is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. `end_time` is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface BackupOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. `end_time` is the time that the backup was finished. The row data in the backup will be no newer than this timestamp.
.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface BackupOrBuilderpublic long getSizeBytes()
Output only. Size of the backup in bytes.
int64 size_bytes = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getSizeBytes in interface BackupOrBuilderpublic int getStateValue()
Output only. The current state of the backup.
.google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface BackupOrBuilderpublic Backup.State getState()
Output only. The current state of the backup.
.google.bigtable.admin.v2.Backup.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface BackupOrBuilderpublic boolean hasEncryptionInfo()
Output only. The encryption information for the backup.
.google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEncryptionInfo in interface BackupOrBuilderpublic EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the backup.
.google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionInfo in interface BackupOrBuilderpublic EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
Output only. The encryption information for the backup.
.google.bigtable.admin.v2.EncryptionInfo encryption_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionInfoOrBuilder in interface BackupOrBuilderpublic int getBackupTypeValue()
Indicates the backup type of the backup.
.google.bigtable.admin.v2.Backup.BackupType backup_type = 11;getBackupTypeValue in interface BackupOrBuilderpublic Backup.BackupType getBackupType()
Indicates the backup type of the backup.
.google.bigtable.admin.v2.Backup.BackupType backup_type = 11;getBackupType in interface BackupOrBuilderpublic boolean hasHotToStandardTime()
The time at which the hot backup will be converted to a standard backup. Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot backup to a standard backup. This value must be greater than the backup creation time by: - At least 24 hours This field only applies for hot backups. When creating or updating a standard backup, attempting to set this field will fail the request.
.google.protobuf.Timestamp hot_to_standard_time = 12;hasHotToStandardTime in interface BackupOrBuilderpublic com.google.protobuf.Timestamp getHotToStandardTime()
The time at which the hot backup will be converted to a standard backup. Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot backup to a standard backup. This value must be greater than the backup creation time by: - At least 24 hours This field only applies for hot backups. When creating or updating a standard backup, attempting to set this field will fail the request.
.google.protobuf.Timestamp hot_to_standard_time = 12;getHotToStandardTime in interface BackupOrBuilderpublic com.google.protobuf.TimestampOrBuilder getHotToStandardTimeOrBuilder()
The time at which the hot backup will be converted to a standard backup. Once the `hot_to_standard_time` has passed, Cloud Bigtable will convert the hot backup to a standard backup. This value must be greater than the backup creation time by: - At least 24 hours This field only applies for hot backups. When creating or updating a standard backup, attempting to set this field will fail the request.
.google.protobuf.Timestamp hot_to_standard_time = 12;getHotToStandardTimeOrBuilder in interface BackupOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic 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 Backup parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Backup parseFrom(InputStream input) throws IOException
IOExceptionpublic static Backup parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backup parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Backup parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Backup parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Backup parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Backup.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Backup.Builder newBuilder()
public static Backup.Builder newBuilder(Backup prototype)
public Backup.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Backup.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.AbstractMessagepublic static Backup getDefaultInstance()
public static com.google.protobuf.Parser<Backup> parser()
public com.google.protobuf.Parser<Backup> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic Backup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2026 Google LLC. All rights reserved.