public static final class Brpb.BackupMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder> implements Brpb.BackupMetaOrBuilder
The message save the metadata of a backup.Protobuf type
backup.BackupMeta
Modifier and Type | Method and Description |
---|---|
Brpb.BackupMeta.Builder |
addAllFiles(Iterable<? extends Brpb.File> values)
A set of files that compose a backup.
|
Brpb.BackupMeta.Builder |
addAllPolicies(Iterable<? extends Brpb.PlacementPolicy> values)
the placement policy info in backup cluster.
|
Brpb.BackupMeta.Builder |
addAllRawRanges(Iterable<? extends Brpb.RawRange> values)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.BackupMeta.Builder |
addAllSchemas(Iterable<? extends Brpb.Schema> values)
Table metadata describes database and table info.
|
Brpb.BackupMeta.Builder |
addFiles(Brpb.File.Builder builderForValue)
A set of files that compose a backup.
|
Brpb.BackupMeta.Builder |
addFiles(Brpb.File value)
A set of files that compose a backup.
|
Brpb.BackupMeta.Builder |
addFiles(int index,
Brpb.File.Builder builderForValue)
A set of files that compose a backup.
|
Brpb.BackupMeta.Builder |
addFiles(int index,
Brpb.File value)
A set of files that compose a backup.
|
Brpb.File.Builder |
addFilesBuilder()
A set of files that compose a backup.
|
Brpb.File.Builder |
addFilesBuilder(int index)
A set of files that compose a backup.
|
Brpb.BackupMeta.Builder |
addPolicies(Brpb.PlacementPolicy.Builder builderForValue)
the placement policy info in backup cluster.
|
Brpb.BackupMeta.Builder |
addPolicies(Brpb.PlacementPolicy value)
the placement policy info in backup cluster.
|
Brpb.BackupMeta.Builder |
addPolicies(int index,
Brpb.PlacementPolicy.Builder builderForValue)
the placement policy info in backup cluster.
|
Brpb.BackupMeta.Builder |
addPolicies(int index,
Brpb.PlacementPolicy value)
the placement policy info in backup cluster.
|
Brpb.PlacementPolicy.Builder |
addPoliciesBuilder()
the placement policy info in backup cluster.
|
Brpb.PlacementPolicy.Builder |
addPoliciesBuilder(int index)
the placement policy info in backup cluster.
|
Brpb.BackupMeta.Builder |
addRawRanges(Brpb.RawRange.Builder builderForValue)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.BackupMeta.Builder |
addRawRanges(Brpb.RawRange value)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.BackupMeta.Builder |
addRawRanges(int index,
Brpb.RawRange.Builder builderForValue)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.BackupMeta.Builder |
addRawRanges(int index,
Brpb.RawRange value)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.RawRange.Builder |
addRawRangesBuilder()
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.RawRange.Builder |
addRawRangesBuilder(int index)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.BackupMeta.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.BackupMeta.Builder |
addSchemas(Brpb.Schema.Builder builderForValue)
Table metadata describes database and table info.
|
Brpb.BackupMeta.Builder |
addSchemas(Brpb.Schema value)
Table metadata describes database and table info.
|
Brpb.BackupMeta.Builder |
addSchemas(int index,
Brpb.Schema.Builder builderForValue)
Table metadata describes database and table info.
|
Brpb.BackupMeta.Builder |
addSchemas(int index,
Brpb.Schema value)
Table metadata describes database and table info.
|
Brpb.Schema.Builder |
addSchemasBuilder()
Table metadata describes database and table info.
|
Brpb.Schema.Builder |
addSchemasBuilder(int index)
Table metadata describes database and table info.
|
Brpb.BackupMeta |
build() |
Brpb.BackupMeta |
buildPartial() |
Brpb.BackupMeta.Builder |
clear() |
Brpb.BackupMeta.Builder |
clearApiVersion()
API version implies the encode of the key and value.
|
Brpb.BackupMeta.Builder |
clearBackupResult()
the backup result into `backupmeta` file
|
Brpb.BackupMeta.Builder |
clearBrVersion()
Save the version of BR running backup jobs.
|
Brpb.BackupMeta.Builder |
clearClusterId()
ID and version of backuped cluster.
|
Brpb.BackupMeta.Builder |
clearClusterVersion()
string cluster_version = 2; |
Brpb.BackupMeta.Builder |
clearDdlIndexes()
An index to files contains DDLs.
|
Brpb.BackupMeta.Builder |
clearDdls()
In incremental backup, DDLs which are completed in
(lastBackupTS, backupTS] will be stored here.
|
Brpb.BackupMeta.Builder |
clearEndVersion()
uint64 end_version = 6; |
Brpb.BackupMeta.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Brpb.BackupMeta.Builder |
clearFileIndex()
An index to files contains data files.
|
Brpb.BackupMeta.Builder |
clearFiles()
A set of files that compose a backup.
|
Brpb.BackupMeta.Builder |
clearIsRawKv()
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.
|
Brpb.BackupMeta.Builder |
clearNewCollationsEnabled()
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
|
Brpb.BackupMeta.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Brpb.BackupMeta.Builder |
clearPolicies()
the placement policy info in backup cluster.
|
Brpb.BackupMeta.Builder |
clearRawRangeIndex()
An index to files contains RawRanges.
|
Brpb.BackupMeta.Builder |
clearRawRanges()
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.BackupMeta.Builder |
clearSchemaIndex()
An index to files contains Schemas.
|
Brpb.BackupMeta.Builder |
clearSchemas()
Table metadata describes database and table info.
|
Brpb.BackupMeta.Builder |
clearStartVersion()
A pair of timestamp specifies a time range of a backup.
|
Brpb.BackupMeta.Builder |
clearVersion()
The backupmeta scheme version.
|
Brpb.BackupMeta.Builder |
clone() |
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.MetaFile.Builder |
getDdlIndexesBuilder()
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.
|
Brpb.BackupMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getEndVersion()
uint64 end_version = 6; |
Brpb.MetaFile |
getFileIndex()
An index to files contains data files.
|
Brpb.MetaFile.Builder |
getFileIndexBuilder()
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.
|
Brpb.File.Builder |
getFilesBuilder(int index)
A set of files that compose a backup.
|
List<Brpb.File.Builder> |
getFilesBuilderList()
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.
|
Brpb.PlacementPolicy.Builder |
getPoliciesBuilder(int index)
the placement policy info in backup cluster.
|
List<Brpb.PlacementPolicy.Builder> |
getPoliciesBuilderList()
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.MetaFile.Builder |
getRawRangeIndexBuilder()
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.
|
Brpb.RawRange.Builder |
getRawRangesBuilder(int index)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
List<Brpb.RawRange.Builder> |
getRawRangesBuilderList()
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.MetaFile.Builder |
getSchemaIndexBuilder()
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.
|
Brpb.Schema.Builder |
getSchemasBuilder(int index)
Table metadata describes database and table info.
|
List<Brpb.Schema.Builder> |
getSchemasBuilderList()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Brpb.BackupMeta.Builder |
mergeDdlIndexes(Brpb.MetaFile value)
An index to files contains DDLs.
|
Brpb.BackupMeta.Builder |
mergeFileIndex(Brpb.MetaFile value)
An index to files contains data files.
|
Brpb.BackupMeta.Builder |
mergeFrom(Brpb.BackupMeta other) |
Brpb.BackupMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Brpb.BackupMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
Brpb.BackupMeta.Builder |
mergeRawRangeIndex(Brpb.MetaFile value)
An index to files contains RawRanges.
|
Brpb.BackupMeta.Builder |
mergeSchemaIndex(Brpb.MetaFile value)
An index to files contains Schemas.
|
Brpb.BackupMeta.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Brpb.BackupMeta.Builder |
removeFiles(int index)
A set of files that compose a backup.
|
Brpb.BackupMeta.Builder |
removePolicies(int index)
the placement policy info in backup cluster.
|
Brpb.BackupMeta.Builder |
removeRawRanges(int index)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.BackupMeta.Builder |
removeSchemas(int index)
Table metadata describes database and table info.
|
Brpb.BackupMeta.Builder |
setApiVersion(Kvrpcpb.APIVersion value)
API version implies the encode of the key and value.
|
Brpb.BackupMeta.Builder |
setApiVersionValue(int value)
API version implies the encode of the key and value.
|
Brpb.BackupMeta.Builder |
setBackupResult(String value)
the backup result into `backupmeta` file
|
Brpb.BackupMeta.Builder |
setBackupResultBytes(com.google.protobuf.ByteString value)
the backup result into `backupmeta` file
|
Brpb.BackupMeta.Builder |
setBrVersion(String value)
Save the version of BR running backup jobs.
|
Brpb.BackupMeta.Builder |
setBrVersionBytes(com.google.protobuf.ByteString value)
Save the version of BR running backup jobs.
|
Brpb.BackupMeta.Builder |
setClusterId(long value)
ID and version of backuped cluster.
|
Brpb.BackupMeta.Builder |
setClusterVersion(String value)
string cluster_version = 2; |
Brpb.BackupMeta.Builder |
setClusterVersionBytes(com.google.protobuf.ByteString value)
string cluster_version = 2; |
Brpb.BackupMeta.Builder |
setDdlIndexes(Brpb.MetaFile.Builder builderForValue)
An index to files contains DDLs.
|
Brpb.BackupMeta.Builder |
setDdlIndexes(Brpb.MetaFile value)
An index to files contains DDLs.
|
Brpb.BackupMeta.Builder |
setDdls(com.google.protobuf.ByteString value)
In incremental backup, DDLs which are completed in
(lastBackupTS, backupTS] will be stored here.
|
Brpb.BackupMeta.Builder |
setEndVersion(long value)
uint64 end_version = 6; |
Brpb.BackupMeta.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Brpb.BackupMeta.Builder |
setFileIndex(Brpb.MetaFile.Builder builderForValue)
An index to files contains data files.
|
Brpb.BackupMeta.Builder |
setFileIndex(Brpb.MetaFile value)
An index to files contains data files.
|
Brpb.BackupMeta.Builder |
setFiles(int index,
Brpb.File.Builder builderForValue)
A set of files that compose a backup.
|
Brpb.BackupMeta.Builder |
setFiles(int index,
Brpb.File value)
A set of files that compose a backup.
|
Brpb.BackupMeta.Builder |
setIsRawKv(boolean value)
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.
|
Brpb.BackupMeta.Builder |
setNewCollationsEnabled(String value)
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
|
Brpb.BackupMeta.Builder |
setNewCollationsEnabledBytes(com.google.protobuf.ByteString value)
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
|
Brpb.BackupMeta.Builder |
setPolicies(int index,
Brpb.PlacementPolicy.Builder builderForValue)
the placement policy info in backup cluster.
|
Brpb.BackupMeta.Builder |
setPolicies(int index,
Brpb.PlacementPolicy value)
the placement policy info in backup cluster.
|
Brpb.BackupMeta.Builder |
setRawRangeIndex(Brpb.MetaFile.Builder builderForValue)
An index to files contains RawRanges.
|
Brpb.BackupMeta.Builder |
setRawRangeIndex(Brpb.MetaFile value)
An index to files contains RawRanges.
|
Brpb.BackupMeta.Builder |
setRawRanges(int index,
Brpb.RawRange.Builder builderForValue)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.BackupMeta.Builder |
setRawRanges(int index,
Brpb.RawRange value)
Note: `raw_ranges` is deprecated, as it bloats backupmeta.
|
Brpb.BackupMeta.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Brpb.BackupMeta.Builder |
setSchemaIndex(Brpb.MetaFile.Builder builderForValue)
An index to files contains Schemas.
|
Brpb.BackupMeta.Builder |
setSchemaIndex(Brpb.MetaFile value)
An index to files contains Schemas.
|
Brpb.BackupMeta.Builder |
setSchemas(int index,
Brpb.Schema.Builder builderForValue)
Table metadata describes database and table info.
|
Brpb.BackupMeta.Builder |
setSchemas(int index,
Brpb.Schema value)
Table metadata describes database and table info.
|
Brpb.BackupMeta.Builder |
setStartVersion(long value)
A pair of timestamp specifies a time range of a backup.
|
Brpb.BackupMeta.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Brpb.BackupMeta.Builder |
setVersion(int value)
The backupmeta scheme version.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public Brpb.BackupMeta.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public Brpb.BackupMeta getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Brpb.BackupMeta build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Brpb.BackupMeta buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Brpb.BackupMeta.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public Brpb.BackupMeta.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public Brpb.BackupMeta.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public Brpb.BackupMeta.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public Brpb.BackupMeta.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public Brpb.BackupMeta.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public Brpb.BackupMeta.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Brpb.BackupMeta.Builder>
public Brpb.BackupMeta.Builder mergeFrom(Brpb.BackupMeta other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public Brpb.BackupMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Brpb.BackupMeta.Builder>
IOException
public long getClusterId()
ID and version of backuped cluster.
uint64 cluster_id = 1;
getClusterId
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setClusterId(long value)
ID and version of backuped cluster.
uint64 cluster_id = 1;
value
- The clusterId to set.public Brpb.BackupMeta.Builder clearClusterId()
ID and version of backuped cluster.
uint64 cluster_id = 1;
public String getClusterVersion()
string cluster_version = 2;
getClusterVersion
in interface Brpb.BackupMetaOrBuilder
public com.google.protobuf.ByteString getClusterVersionBytes()
string cluster_version = 2;
getClusterVersionBytes
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setClusterVersion(String value)
string cluster_version = 2;
value
- The clusterVersion to set.public Brpb.BackupMeta.Builder clearClusterVersion()
string cluster_version = 2;
public Brpb.BackupMeta.Builder setClusterVersionBytes(com.google.protobuf.ByteString value)
string cluster_version = 2;
value
- The bytes for clusterVersion to set.public String getBrVersion()
Save the version of BR running backup jobs.
string br_version = 11;
getBrVersion
in interface Brpb.BackupMetaOrBuilder
public com.google.protobuf.ByteString getBrVersionBytes()
Save the version of BR running backup jobs.
string br_version = 11;
getBrVersionBytes
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setBrVersion(String value)
Save the version of BR running backup jobs.
string br_version = 11;
value
- The brVersion to set.public Brpb.BackupMeta.Builder clearBrVersion()
Save the version of BR running backup jobs.
string br_version = 11;
public Brpb.BackupMeta.Builder setBrVersionBytes(com.google.protobuf.ByteString value)
Save the version of BR running backup jobs.
string br_version = 11;
value
- The bytes for brVersion to set.public int getVersion()
The backupmeta scheme version.
int32 version = 12;
getVersion
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setVersion(int value)
The backupmeta scheme version.
int32 version = 12;
value
- The version to set.public Brpb.BackupMeta.Builder clearVersion()
The backupmeta scheme version.
int32 version = 12;
public 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;
getFilesList
in interface Brpb.BackupMetaOrBuilder
public 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;
getFilesCount
in interface Brpb.BackupMetaOrBuilder
public 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;
getFiles
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setFiles(int index, Brpb.File value)
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;
public Brpb.BackupMeta.Builder setFiles(int index, Brpb.File.Builder builderForValue)
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;
public Brpb.BackupMeta.Builder addFiles(Brpb.File value)
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;
public Brpb.BackupMeta.Builder addFiles(int index, Brpb.File value)
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;
public Brpb.BackupMeta.Builder addFiles(Brpb.File.Builder builderForValue)
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;
public Brpb.BackupMeta.Builder addFiles(int index, Brpb.File.Builder builderForValue)
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;
public Brpb.BackupMeta.Builder addAllFiles(Iterable<? extends Brpb.File> values)
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;
public Brpb.BackupMeta.Builder clearFiles()
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;
public Brpb.BackupMeta.Builder removeFiles(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;
public Brpb.File.Builder getFilesBuilder(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;
public 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;
getFilesOrBuilder
in interface Brpb.BackupMetaOrBuilder
public 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;
getFilesOrBuilderList
in interface Brpb.BackupMetaOrBuilder
public Brpb.File.Builder addFilesBuilder()
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;
public Brpb.File.Builder addFilesBuilder(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;
public List<Brpb.File.Builder> getFilesBuilderList()
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;
public boolean hasFileIndex()
An index to files contains data files.
.backup.MetaFile file_index = 13;
hasFileIndex
in interface Brpb.BackupMetaOrBuilder
public Brpb.MetaFile getFileIndex()
An index to files contains data files.
.backup.MetaFile file_index = 13;
getFileIndex
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setFileIndex(Brpb.MetaFile value)
An index to files contains data files.
.backup.MetaFile file_index = 13;
public Brpb.BackupMeta.Builder setFileIndex(Brpb.MetaFile.Builder builderForValue)
An index to files contains data files.
.backup.MetaFile file_index = 13;
public Brpb.BackupMeta.Builder mergeFileIndex(Brpb.MetaFile value)
An index to files contains data files.
.backup.MetaFile file_index = 13;
public Brpb.BackupMeta.Builder clearFileIndex()
An index to files contains data files.
.backup.MetaFile file_index = 13;
public Brpb.MetaFile.Builder getFileIndexBuilder()
An index to files contains data files.
.backup.MetaFile file_index = 13;
public Brpb.MetaFileOrBuilder getFileIndexOrBuilder()
An index to files contains data files.
.backup.MetaFile file_index = 13;
getFileIndexOrBuilder
in interface Brpb.BackupMetaOrBuilder
public 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;
getStartVersion
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setStartVersion(long value)
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;
value
- The startVersion to set.public Brpb.BackupMeta.Builder clearStartVersion()
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;
public long getEndVersion()
uint64 end_version = 6;
getEndVersion
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setEndVersion(long value)
uint64 end_version = 6;
value
- The endVersion to set.public Brpb.BackupMeta.Builder clearEndVersion()
uint64 end_version = 6;
public 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;
getSchemasList
in interface Brpb.BackupMetaOrBuilder
public 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;
getSchemasCount
in interface Brpb.BackupMetaOrBuilder
public 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;
getSchemas
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setSchemas(int index, Brpb.Schema value)
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;
public Brpb.BackupMeta.Builder setSchemas(int index, Brpb.Schema.Builder builderForValue)
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;
public Brpb.BackupMeta.Builder addSchemas(Brpb.Schema value)
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;
public Brpb.BackupMeta.Builder addSchemas(int index, Brpb.Schema value)
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;
public Brpb.BackupMeta.Builder addSchemas(Brpb.Schema.Builder builderForValue)
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;
public Brpb.BackupMeta.Builder addSchemas(int index, Brpb.Schema.Builder builderForValue)
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;
public Brpb.BackupMeta.Builder addAllSchemas(Iterable<? extends Brpb.Schema> values)
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;
public Brpb.BackupMeta.Builder clearSchemas()
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;
public Brpb.BackupMeta.Builder removeSchemas(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;
public Brpb.Schema.Builder getSchemasBuilder(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;
public 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;
getSchemasOrBuilder
in interface Brpb.BackupMetaOrBuilder
public 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;
getSchemasOrBuilderList
in interface Brpb.BackupMetaOrBuilder
public Brpb.Schema.Builder addSchemasBuilder()
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;
public Brpb.Schema.Builder addSchemasBuilder(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;
public List<Brpb.Schema.Builder> getSchemasBuilderList()
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;
public boolean hasSchemaIndex()
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
hasSchemaIndex
in interface Brpb.BackupMetaOrBuilder
public Brpb.MetaFile getSchemaIndex()
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
getSchemaIndex
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setSchemaIndex(Brpb.MetaFile value)
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
public Brpb.BackupMeta.Builder setSchemaIndex(Brpb.MetaFile.Builder builderForValue)
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
public Brpb.BackupMeta.Builder mergeSchemaIndex(Brpb.MetaFile value)
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
public Brpb.BackupMeta.Builder clearSchemaIndex()
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
public Brpb.MetaFile.Builder getSchemaIndexBuilder()
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
public Brpb.MetaFileOrBuilder getSchemaIndexOrBuilder()
An index to files contains Schemas.
.backup.MetaFile schema_index = 14;
getSchemaIndexOrBuilder
in interface Brpb.BackupMetaOrBuilder
public 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;
getIsRawKv
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setIsRawKv(boolean value)
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;
value
- The isRawKv to set.public Brpb.BackupMeta.Builder clearIsRawKv()
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;
public 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;
getRawRangesList
in interface Brpb.BackupMetaOrBuilder
public 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;
getRawRangesCount
in interface Brpb.BackupMetaOrBuilder
public 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;
getRawRanges
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setRawRanges(int index, Brpb.RawRange value)
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;
public Brpb.BackupMeta.Builder setRawRanges(int index, Brpb.RawRange.Builder builderForValue)
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;
public Brpb.BackupMeta.Builder addRawRanges(Brpb.RawRange value)
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;
public Brpb.BackupMeta.Builder addRawRanges(int index, Brpb.RawRange value)
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;
public Brpb.BackupMeta.Builder addRawRanges(Brpb.RawRange.Builder builderForValue)
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;
public Brpb.BackupMeta.Builder addRawRanges(int index, Brpb.RawRange.Builder builderForValue)
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;
public Brpb.BackupMeta.Builder addAllRawRanges(Iterable<? extends Brpb.RawRange> values)
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;
public Brpb.BackupMeta.Builder clearRawRanges()
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;
public Brpb.BackupMeta.Builder removeRawRanges(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;
public Brpb.RawRange.Builder getRawRangesBuilder(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;
public 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;
getRawRangesOrBuilder
in interface Brpb.BackupMetaOrBuilder
public 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;
getRawRangesOrBuilderList
in interface Brpb.BackupMetaOrBuilder
public Brpb.RawRange.Builder addRawRangesBuilder()
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;
public Brpb.RawRange.Builder addRawRangesBuilder(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;
public List<Brpb.RawRange.Builder> getRawRangesBuilderList()
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;
public boolean hasRawRangeIndex()
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
hasRawRangeIndex
in interface Brpb.BackupMetaOrBuilder
public Brpb.MetaFile getRawRangeIndex()
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
getRawRangeIndex
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setRawRangeIndex(Brpb.MetaFile value)
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
public Brpb.BackupMeta.Builder setRawRangeIndex(Brpb.MetaFile.Builder builderForValue)
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
public Brpb.BackupMeta.Builder mergeRawRangeIndex(Brpb.MetaFile value)
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
public Brpb.BackupMeta.Builder clearRawRangeIndex()
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
public Brpb.MetaFile.Builder getRawRangeIndexBuilder()
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
public Brpb.MetaFileOrBuilder getRawRangeIndexOrBuilder()
An index to files contains RawRanges.
.backup.MetaFile raw_range_index = 15;
getRawRangeIndexOrBuilder
in interface Brpb.BackupMetaOrBuilder
public 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;
getDdls
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setDdls(com.google.protobuf.ByteString value)
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;
value
- The ddls to set.public Brpb.BackupMeta.Builder clearDdls()
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;
public boolean hasDdlIndexes()
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
hasDdlIndexes
in interface Brpb.BackupMetaOrBuilder
public Brpb.MetaFile getDdlIndexes()
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
getDdlIndexes
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setDdlIndexes(Brpb.MetaFile value)
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
public Brpb.BackupMeta.Builder setDdlIndexes(Brpb.MetaFile.Builder builderForValue)
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
public Brpb.BackupMeta.Builder mergeDdlIndexes(Brpb.MetaFile value)
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
public Brpb.BackupMeta.Builder clearDdlIndexes()
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
public Brpb.MetaFile.Builder getDdlIndexesBuilder()
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
public Brpb.MetaFileOrBuilder getDdlIndexesOrBuilder()
An index to files contains DDLs.
.backup.MetaFile ddl_indexes = 16;
getDdlIndexesOrBuilder
in interface Brpb.BackupMetaOrBuilder
public String getBackupResult()
the backup result into `backupmeta` file
string backup_result = 17;
getBackupResult
in interface Brpb.BackupMetaOrBuilder
public com.google.protobuf.ByteString getBackupResultBytes()
the backup result into `backupmeta` file
string backup_result = 17;
getBackupResultBytes
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setBackupResult(String value)
the backup result into `backupmeta` file
string backup_result = 17;
value
- The backupResult to set.public Brpb.BackupMeta.Builder clearBackupResult()
the backup result into `backupmeta` file
string backup_result = 17;
public Brpb.BackupMeta.Builder setBackupResultBytes(com.google.protobuf.ByteString value)
the backup result into `backupmeta` file
string backup_result = 17;
value
- The bytes for backupResult to set.public int getApiVersionValue()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 18;
getApiVersionValue
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setApiVersionValue(int value)
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 18;
value
- The enum numeric value on the wire for apiVersion to set.public Kvrpcpb.APIVersion getApiVersion()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 18;
getApiVersion
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setApiVersion(Kvrpcpb.APIVersion value)
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 18;
value
- The apiVersion to set.public Brpb.BackupMeta.Builder clearApiVersion()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 18;
public 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;
getPoliciesList
in interface Brpb.BackupMetaOrBuilder
public 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;
getPoliciesCount
in interface Brpb.BackupMetaOrBuilder
public 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;
getPolicies
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setPolicies(int index, Brpb.PlacementPolicy value)
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
public Brpb.BackupMeta.Builder setPolicies(int index, Brpb.PlacementPolicy.Builder builderForValue)
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
public Brpb.BackupMeta.Builder addPolicies(Brpb.PlacementPolicy value)
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
public Brpb.BackupMeta.Builder addPolicies(int index, Brpb.PlacementPolicy value)
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
public Brpb.BackupMeta.Builder addPolicies(Brpb.PlacementPolicy.Builder builderForValue)
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
public Brpb.BackupMeta.Builder addPolicies(int index, Brpb.PlacementPolicy.Builder builderForValue)
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
public Brpb.BackupMeta.Builder addAllPolicies(Iterable<? extends Brpb.PlacementPolicy> values)
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
public Brpb.BackupMeta.Builder clearPolicies()
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
public Brpb.BackupMeta.Builder removePolicies(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;
public Brpb.PlacementPolicy.Builder getPoliciesBuilder(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;
public 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;
getPoliciesOrBuilder
in interface Brpb.BackupMetaOrBuilder
public 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;
getPoliciesOrBuilderList
in interface Brpb.BackupMetaOrBuilder
public Brpb.PlacementPolicy.Builder addPoliciesBuilder()
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
public Brpb.PlacementPolicy.Builder addPoliciesBuilder(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;
public List<Brpb.PlacementPolicy.Builder> getPoliciesBuilderList()
the placement policy info in backup cluster. we assume the policy won't be too much for one cluster.
repeated .backup.PlacementPolicy policies = 19;
public String getNewCollationsEnabled()
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
string new_collations_enabled = 20;
getNewCollationsEnabled
in interface Brpb.BackupMetaOrBuilder
public com.google.protobuf.ByteString getNewCollationsEnabledBytes()
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
string new_collations_enabled = 20;
getNewCollationsEnabledBytes
in interface Brpb.BackupMetaOrBuilder
public Brpb.BackupMeta.Builder setNewCollationsEnabled(String value)
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
string new_collations_enabled = 20;
value
- The newCollationsEnabled to set.public Brpb.BackupMeta.Builder clearNewCollationsEnabled()
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
string new_collations_enabled = 20;
public Brpb.BackupMeta.Builder setNewCollationsEnabledBytes(com.google.protobuf.ByteString value)
new_collations_enabled specifies the config `new_collations_enabled_on_first_bootstrap` in tidb.
string new_collations_enabled = 20;
value
- The bytes for newCollationsEnabled to set.public final Brpb.BackupMeta.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
public final Brpb.BackupMeta.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Brpb.BackupMeta.Builder>
Copyright © 2024 PingCAP. All rights reserved.