public static final class Brpb.BackupRequest extends com.google.protobuf.GeneratedMessageV3 implements Brpb.BackupRequestOrBuilder
backup.BackupRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Brpb.BackupRequest.Builder
Protobuf type
backup.BackupRequest |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CF_FIELD_NUMBER |
static int |
CIPHER_INFO_FIELD_NUMBER |
static int |
CLUSTER_ID_FIELD_NUMBER |
static int |
COMPRESSION_LEVEL_FIELD_NUMBER |
static int |
COMPRESSION_TYPE_FIELD_NUMBER |
static int |
CONCURRENCY_FIELD_NUMBER |
static int |
DST_API_VERSION_FIELD_NUMBER |
static int |
END_KEY_FIELD_NUMBER |
static int |
END_VERSION_FIELD_NUMBER |
static int |
IS_RAW_KV_FIELD_NUMBER |
static int |
RATE_LIMIT_FIELD_NUMBER |
static int |
START_KEY_FIELD_NUMBER |
static int |
START_VERSION_FIELD_NUMBER |
static int |
STORAGE_BACKEND_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCf()
string cf = 11; |
com.google.protobuf.ByteString |
getCfBytes()
string cf = 11; |
Brpb.CipherInfo |
getCipherInfo()
The cipher_info is Used to encrypt sst
|
Brpb.CipherInfoOrBuilder |
getCipherInfoOrBuilder()
The cipher_info is Used to encrypt sst
|
long |
getClusterId()
uint64 cluster_id = 1; |
int |
getCompressionLevel()
sst compression level, some algorithms support negative compression levels
|
Brpb.CompressionType |
getCompressionType()
algorithm used for compress sst files
|
int |
getCompressionTypeValue()
algorithm used for compress sst files
|
int |
getConcurrency()
The concurrency for executing the backup request in every tikv node.
|
static Brpb.BackupRequest |
getDefaultInstance() |
Brpb.BackupRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Kvrpcpb.APIVersion |
getDstApiVersion()
dst_api_version indicates the key-value encoding version used by the
generated SST file.
|
int |
getDstApiVersionValue()
dst_api_version indicates the key-value encoding version used by the
generated SST file.
|
com.google.protobuf.ByteString |
getEndKey()
bytes end_key = 3; |
long |
getEndVersion()
uint64 end_version = 5; |
boolean |
getIsRawKv()
If raw kv mode is enabled, `start_version` and `end_version` will be ignored, and `cf`
specifies which cf to backup.
|
com.google.protobuf.Parser<Brpb.BackupRequest> |
getParserForType() |
long |
getRateLimit()
The I/O rate limit for backup request.
|
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getStartKey()
bytes start_key = 2; |
long |
getStartVersion()
uint64 start_version = 4; |
Brpb.StorageBackend |
getStorageBackend()
.backup.StorageBackend storage_backend = 9; |
Brpb.StorageBackendOrBuilder |
getStorageBackendOrBuilder()
.backup.StorageBackend storage_backend = 9; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCipherInfo()
The cipher_info is Used to encrypt sst
|
int |
hashCode() |
boolean |
hasStorageBackend()
.backup.StorageBackend storage_backend = 9; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Brpb.BackupRequest.Builder |
newBuilder() |
static Brpb.BackupRequest.Builder |
newBuilder(Brpb.BackupRequest prototype) |
Brpb.BackupRequest.Builder |
newBuilderForType() |
protected Brpb.BackupRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Brpb.BackupRequest |
parseDelimitedFrom(InputStream input) |
static Brpb.BackupRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Brpb.BackupRequest |
parseFrom(byte[] data) |
static Brpb.BackupRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Brpb.BackupRequest |
parseFrom(ByteBuffer data) |
static Brpb.BackupRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Brpb.BackupRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Brpb.BackupRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Brpb.BackupRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Brpb.BackupRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Brpb.BackupRequest |
parseFrom(InputStream input) |
static Brpb.BackupRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Brpb.BackupRequest> |
parser() |
Brpb.BackupRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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 CLUSTER_ID_FIELD_NUMBER
public static final int START_KEY_FIELD_NUMBER
public static final int END_KEY_FIELD_NUMBER
public static final int START_VERSION_FIELD_NUMBER
public static final int END_VERSION_FIELD_NUMBER
public static final int RATE_LIMIT_FIELD_NUMBER
public static final int CONCURRENCY_FIELD_NUMBER
public static final int STORAGE_BACKEND_FIELD_NUMBER
public static final int IS_RAW_KV_FIELD_NUMBER
public static final int CF_FIELD_NUMBER
public static final int COMPRESSION_TYPE_FIELD_NUMBER
public static final int COMPRESSION_LEVEL_FIELD_NUMBER
public static final int CIPHER_INFO_FIELD_NUMBER
public static final int DST_API_VERSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public 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 long getClusterId()
uint64 cluster_id = 1;getClusterId in interface Brpb.BackupRequestOrBuilderpublic com.google.protobuf.ByteString getStartKey()
bytes start_key = 2;getStartKey in interface Brpb.BackupRequestOrBuilderpublic com.google.protobuf.ByteString getEndKey()
bytes end_key = 3;getEndKey in interface Brpb.BackupRequestOrBuilderpublic long getStartVersion()
uint64 start_version = 4;getStartVersion in interface Brpb.BackupRequestOrBuilderpublic long getEndVersion()
uint64 end_version = 5;getEndVersion in interface Brpb.BackupRequestOrBuilderpublic long getRateLimit()
The I/O rate limit for backup request.
uint64 rate_limit = 7;getRateLimit in interface Brpb.BackupRequestOrBuilderpublic int getConcurrency()
The concurrency for executing the backup request in every tikv node.
uint32 concurrency = 8;getConcurrency in interface Brpb.BackupRequestOrBuilderpublic boolean hasStorageBackend()
.backup.StorageBackend storage_backend = 9;hasStorageBackend in interface Brpb.BackupRequestOrBuilderpublic Brpb.StorageBackend getStorageBackend()
.backup.StorageBackend storage_backend = 9;getStorageBackend in interface Brpb.BackupRequestOrBuilderpublic Brpb.StorageBackendOrBuilder getStorageBackendOrBuilder()
.backup.StorageBackend storage_backend = 9;getStorageBackendOrBuilder in interface Brpb.BackupRequestOrBuilderpublic boolean getIsRawKv()
If raw kv mode is enabled, `start_version` and `end_version` will be ignored, and `cf` specifies which cf to backup.
bool is_raw_kv = 10;getIsRawKv in interface Brpb.BackupRequestOrBuilderpublic String getCf()
string cf = 11;getCf in interface Brpb.BackupRequestOrBuilderpublic com.google.protobuf.ByteString getCfBytes()
string cf = 11;getCfBytes in interface Brpb.BackupRequestOrBuilderpublic int getCompressionTypeValue()
algorithm used for compress sst files
.backup.CompressionType compression_type = 12;getCompressionTypeValue in interface Brpb.BackupRequestOrBuilderpublic Brpb.CompressionType getCompressionType()
algorithm used for compress sst files
.backup.CompressionType compression_type = 12;getCompressionType in interface Brpb.BackupRequestOrBuilderpublic int getCompressionLevel()
sst compression level, some algorithms support negative compression levels
int32 compression_level = 13;getCompressionLevel in interface Brpb.BackupRequestOrBuilderpublic boolean hasCipherInfo()
The cipher_info is Used to encrypt sst
.backup.CipherInfo cipher_info = 14;hasCipherInfo in interface Brpb.BackupRequestOrBuilderpublic Brpb.CipherInfo getCipherInfo()
The cipher_info is Used to encrypt sst
.backup.CipherInfo cipher_info = 14;getCipherInfo in interface Brpb.BackupRequestOrBuilderpublic Brpb.CipherInfoOrBuilder getCipherInfoOrBuilder()
The cipher_info is Used to encrypt sst
.backup.CipherInfo cipher_info = 14;getCipherInfoOrBuilder in interface Brpb.BackupRequestOrBuilderpublic int getDstApiVersionValue()
dst_api_version indicates the key-value encoding version used by the
generated SST file. Accepted values:
1. "v1": the generated SST files are encoded with api-v1, can be restored
to TiKV clusters whose api version is set to v1.
2. "v2": the generated SST files are encoded with api-v2, can be restored
to TiKV clusters whose api version is set to v2.
.kvrpcpb.APIVersion dst_api_version = 15;getDstApiVersionValue in interface Brpb.BackupRequestOrBuilderpublic Kvrpcpb.APIVersion getDstApiVersion()
dst_api_version indicates the key-value encoding version used by the
generated SST file. Accepted values:
1. "v1": the generated SST files are encoded with api-v1, can be restored
to TiKV clusters whose api version is set to v1.
2. "v2": the generated SST files are encoded with api-v2, can be restored
to TiKV clusters whose api version is set to v2.
.kvrpcpb.APIVersion dst_api_version = 15;getDstApiVersion in interface Brpb.BackupRequestOrBuilderpublic 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 Brpb.BackupRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Brpb.BackupRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Brpb.BackupRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Brpb.BackupRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Brpb.BackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Brpb.BackupRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Brpb.BackupRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Brpb.BackupRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Brpb.BackupRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Brpb.BackupRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Brpb.BackupRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Brpb.BackupRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Brpb.BackupRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Brpb.BackupRequest.Builder newBuilder()
public static Brpb.BackupRequest.Builder newBuilder(Brpb.BackupRequest prototype)
public Brpb.BackupRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Brpb.BackupRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Brpb.BackupRequest getDefaultInstance()
public static com.google.protobuf.Parser<Brpb.BackupRequest> parser()
public com.google.protobuf.Parser<Brpb.BackupRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Brpb.BackupRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.