public static interface Brpb.BackupMetaOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.APIVersion |
getApiVersion()
API version implies the encode of the key and value.
|
int |
getApiVersionValue()
API version implies the encode of the key and value.
|
String |
getBackupResult()
the backup result into `backupmeta` file
|
com.google.protobuf.ByteString |
getBackupResultBytes()
the backup result into `backupmeta` file
|
String |
getBrVersion()
Save the version of BR running backup jobs.
|
com.google.protobuf.ByteString |
getBrVersionBytes()
Save the version of BR running backup jobs.
|
long |
getClusterId()
ID and version of backuped cluster.
|
String |
getClusterVersion()
string cluster_version = 2; |
com.google.protobuf.ByteString |
getClusterVersionBytes()
string cluster_version = 2; |
Brpb.MetaFile |
getDdlIndexes()
An index to files contains DDLs.
|
Brpb.MetaFileOrBuilder |
getDdlIndexesOrBuilder()
An index to files contains DDLs.
|
com.google.protobuf.ByteString |
getDdls()
In incremental backup, DDLs which are completed in
(lastBackupTS, backupTS] will be stored here.
|
long |
getEndVersion()
uint64 end_version = 6; |
Brpb.MetaFile |
getFileIndex()
An index to files contains data files.
|
Brpb.MetaFileOrBuilder |
getFileIndexOrBuilder()
An index to files contains data files.
|
Brpb.File |
getFiles(int index)
A set of files that compose a backup.
|
int |
getFilesCount()
A set of files that compose a backup.
|
List<Brpb.File> |
getFilesList()
A set of files that compose a backup.
|
Brpb.FileOrBuilder |
getFilesOrBuilder(int index)
A set of files that compose a backup.
|
List<? extends Brpb.FileOrBuilder> |
getFilesOrBuilderList()
A set of files that compose a backup.
|
boolean |
getIsRawKv()
If in raw kv mode, `start_versions`, `end_versions` and `schemas` will be
ignored, and the backup data's range is represented by raw_ranges.
|
String |
getNewCollationsEnabled()
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
|
com.google.protobuf.ByteString |
getNewCollationsEnabledBytes()
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
|
Brpb.PlacementPolicy |
getPolicies(int index)
the placement policy info in backup cluster.
|
int |
getPoliciesCount()
the placement policy info in backup cluster.
|
List<Brpb.PlacementPolicy> |
getPoliciesList()
the placement policy info in backup cluster.
|
Brpb.PlacementPolicyOrBuilder |
getPoliciesOrBuilder(int index)
the placement policy info in backup cluster.
|
List<? extends Brpb.PlacementPolicyOrBuilder> |
getPoliciesOrBuilderList()
the placement policy info in backup cluster.
|
Brpb.MetaFile |
getRawRangeIndex()
An index to files contains RawRanges.
|
Brpb.MetaFileOrBuilder |
getRawRangeIndexOrBuilder()
An index to files contains RawRanges.
|
Brpb.RawRange |
getRawRanges(int index)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
int |
getRawRangesCount()
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
List<Brpb.RawRange> |
getRawRangesList()
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.RawRangeOrBuilder |
getRawRangesOrBuilder(int index)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
List<? extends Brpb.RawRangeOrBuilder> |
getRawRangesOrBuilderList()
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.MetaFile |
getSchemaIndex()
An index to files contains Schemas.
|
Brpb.MetaFileOrBuilder |
getSchemaIndexOrBuilder()
An index to files contains Schemas.
|
Brpb.Schema |
getSchemas(int index)
Table metadata describes database and table info.
|
int |
getSchemasCount()
Table metadata describes database and table info.
|
List<Brpb.Schema> |
getSchemasList()
Table metadata describes database and table info.
|
Brpb.SchemaOrBuilder |
getSchemasOrBuilder(int index)
Table metadata describes database and table info.
|
List<? extends Brpb.SchemaOrBuilder> |
getSchemasOrBuilderList()
Table metadata describes database and table info.
|
long |
getStartVersion()
A pair of timestamp specifies a time range of a backup.
|
int |
getVersion()
The backupmeta scheme version.
|
boolean |
hasDdlIndexes()
An index to files contains DDLs.
|
boolean |
hasFileIndex()
An index to files contains data files.
|
boolean |
hasRawRangeIndex()
An index to files contains RawRanges.
|
boolean |
hasSchemaIndex()
An index to files contains Schemas.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
long getClusterId()
ID and version of backuped cluster.
uint64 cluster_id = 1;
String getClusterVersion()
string cluster_version = 2;
com.google.protobuf.ByteString getClusterVersionBytes()
string cluster_version = 2;
String getBrVersion()
Save the version of BR running backup jobs.
string br_version = 11;
com.google.protobuf.ByteString getBrVersionBytes()
Save the version of BR running backup jobs.
string br_version = 11;
int getVersion()
The backupmeta scheme version.
int32 version = 12;
List<Brpb.File> getFilesList()
A set of files that compose a backup. Note: `files` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.File files = 4;
Brpb.File getFiles(int index)
A set of files that compose a backup. Note: `files` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.File files = 4;
int getFilesCount()
A set of files that compose a backup. Note: `files` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.File files = 4;
List<? extends Brpb.FileOrBuilder> getFilesOrBuilderList()
A set of files that compose a backup. Note: `files` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.File files = 4;
Brpb.FileOrBuilder getFilesOrBuilder(int index)
A set of files that compose a backup. Note: `files` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.File files = 4;
boolean hasFileIndex()
An index to files contains data files.
.backup.MetaFile file_index = 13;
Brpb.MetaFile getFileIndex()
An index to files contains data files.
.backup.MetaFile file_index = 13;
Brpb.MetaFileOrBuilder getFileIndexOrBuilder()
An index to files contains data files.
.backup.MetaFile file_index = 13;
long getStartVersion()
A pair of timestamp specifies a time range of a backup. For full backup, the start_version equals to the end_version, it means point in time. For incremental backup, the time range is specified as (start_version, end_version].
uint64 start_version = 5;
long getEndVersion()
uint64 end_version = 6;
List<Brpb.Schema> getSchemasList()
Table metadata describes database and table info. Note: `schemas` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.Schema schemas = 7;
Brpb.Schema getSchemas(int index)
Table metadata describes database and table info. Note: `schemas` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.Schema schemas = 7;
int getSchemasCount()
Table metadata describes database and table info. Note: `schemas` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.Schema schemas = 7;
List<? extends Brpb.SchemaOrBuilder> getSchemasOrBuilderList()
Table metadata describes database and table info. Note: `schemas` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.Schema schemas = 7;
Brpb.SchemaOrBuilder getSchemasOrBuilder(int index)
Table metadata describes database and table info. Note: `schemas` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.Schema schemas = 7;
boolean hasSchemaIndex()
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
Brpb.MetaFile getSchemaIndex()
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
Brpb.MetaFileOrBuilder getSchemaIndexOrBuilder()
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
boolean getIsRawKv()
If in raw kv mode, `start_versions`, `end_versions` and `schemas` will be ignored, and the backup data's range is represented by raw_ranges.
bool is_raw_kv = 8;
List<Brpb.RawRange> getRawRangesList()
Note: `raw_ranges` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.RawRange raw_ranges = 9;
Brpb.RawRange getRawRanges(int index)
Note: `raw_ranges` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.RawRange raw_ranges = 9;
int getRawRangesCount()
Note: `raw_ranges` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.RawRange raw_ranges = 9;
List<? extends Brpb.RawRangeOrBuilder> getRawRangesOrBuilderList()
Note: `raw_ranges` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.RawRange raw_ranges = 9;
Brpb.RawRangeOrBuilder getRawRangesOrBuilder(int index)
Note: `raw_ranges` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
repeated .backup.RawRange raw_ranges = 9;
boolean hasRawRangeIndex()
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
Brpb.MetaFile getRawRangeIndex()
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
Brpb.MetaFileOrBuilder getRawRangeIndexOrBuilder()
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
com.google.protobuf.ByteString getDdls()
In incremental backup, DDLs which are completed in (lastBackupTS, backupTS] will be stored here. Note: `raw_ranges` is deprecated, as it bloats backupmeta. It is kept for compatibility, so new BR can restore older backups.
bytes ddls = 10;
boolean hasDdlIndexes()
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
Brpb.MetaFile getDdlIndexes()
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
Brpb.MetaFileOrBuilder getDdlIndexesOrBuilder()
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
String getBackupResult()
the backup result into `backupmeta` file
string backup_result = 17;
com.google.protobuf.ByteString getBackupResultBytes()
the backup result into `backupmeta` file
string backup_result = 17;
int getApiVersionValue()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 18;
Kvrpcpb.APIVersion getApiVersion()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 18;
List<Brpb.PlacementPolicy> getPoliciesList()
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
Brpb.PlacementPolicy getPolicies(int index)
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
int getPoliciesCount()
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
List<? extends Brpb.PlacementPolicyOrBuilder> getPoliciesOrBuilderList()
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
Brpb.PlacementPolicyOrBuilder getPoliciesOrBuilder(int index)
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
String getNewCollationsEnabled()
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
string new_collations_enabled = 20;
com.google.protobuf.ByteString getNewCollationsEnabledBytes()
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
string new_collations_enabled = 20;
Copyright © 2024 PingCAP. All rights reserved.