public static final class ImportSstpb.DownloadRequest extends com.google.protobuf.GeneratedMessageV3 implements ImportSstpb.DownloadRequestOrBuilder
import_sstpb.DownloadRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ImportSstpb.DownloadRequest.Builder
Protobuf type
import_sstpb.DownloadRequest |
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 |
CIPHER_INFO_FIELD_NUMBER |
static int |
IS_RAW_KV_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
REWRITE_RULE_FIELD_NUMBER |
static int |
SST_FIELD_NUMBER |
static int |
STORAGE_BACKEND_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Brpb.CipherInfo |
getCipherInfo()
cipher_info is used to decrypt sst when download sst
|
Brpb.CipherInfoOrBuilder |
getCipherInfoOrBuilder()
cipher_info is used to decrypt sst when download sst
|
static ImportSstpb.DownloadRequest |
getDefaultInstance() |
ImportSstpb.DownloadRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIsRawKv()
bool is_raw_kv = 15; |
String |
getName()
The file name of the SST file.
|
com.google.protobuf.ByteString |
getNameBytes()
The file name of the SST file.
|
com.google.protobuf.Parser<ImportSstpb.DownloadRequest> |
getParserForType() |
ImportSstpb.RewriteRule |
getRewriteRule()
Performs a key prefix rewrite after downloading the SST file.
|
ImportSstpb.RewriteRuleOrBuilder |
getRewriteRuleOrBuilder()
Performs a key prefix rewrite after downloading the SST file.
|
int |
getSerializedSize() |
ImportSstpb.SSTMeta |
getSst()
The SST meta used to identify the downloaded file.
|
ImportSstpb.SSTMetaOrBuilder |
getSstOrBuilder()
The SST meta used to identify the downloaded file.
|
Brpb.StorageBackend |
getStorageBackend()
.backup.StorageBackend storage_backend = 14; |
Brpb.StorageBackendOrBuilder |
getStorageBackendOrBuilder()
.backup.StorageBackend storage_backend = 14; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCipherInfo()
cipher_info is used to decrypt sst when download sst
|
int |
hashCode() |
boolean |
hasRewriteRule()
Performs a key prefix rewrite after downloading the SST file.
|
boolean |
hasSst()
The SST meta used to identify the downloaded file.
|
boolean |
hasStorageBackend()
.backup.StorageBackend storage_backend = 14; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImportSstpb.DownloadRequest.Builder |
newBuilder() |
static ImportSstpb.DownloadRequest.Builder |
newBuilder(ImportSstpb.DownloadRequest prototype) |
ImportSstpb.DownloadRequest.Builder |
newBuilderForType() |
protected ImportSstpb.DownloadRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ImportSstpb.DownloadRequest |
parseDelimitedFrom(InputStream input) |
static ImportSstpb.DownloadRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.DownloadRequest |
parseFrom(byte[] data) |
static ImportSstpb.DownloadRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.DownloadRequest |
parseFrom(ByteBuffer data) |
static ImportSstpb.DownloadRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.DownloadRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ImportSstpb.DownloadRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.DownloadRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportSstpb.DownloadRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.DownloadRequest |
parseFrom(InputStream input) |
static ImportSstpb.DownloadRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportSstpb.DownloadRequest> |
parser() |
ImportSstpb.DownloadRequest.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 SST_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int REWRITE_RULE_FIELD_NUMBER
public static final int STORAGE_BACKEND_FIELD_NUMBER
public static final int IS_RAW_KV_FIELD_NUMBER
public static final int CIPHER_INFO_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 boolean hasSst()
The SST meta used to identify the downloaded file. Must be the same among all nodes in the same Raft group. Note: the "crc32" and "cf_name" fields are ignored in this request, and the "range" field represents the closed key range after rewrite (as origin keys in encoded representation).
.import_sstpb.SSTMeta sst = 2 [(.gogoproto.nullable) = false];hasSst in interface ImportSstpb.DownloadRequestOrBuilderpublic ImportSstpb.SSTMeta getSst()
The SST meta used to identify the downloaded file. Must be the same among all nodes in the same Raft group. Note: the "crc32" and "cf_name" fields are ignored in this request, and the "range" field represents the closed key range after rewrite (as origin keys in encoded representation).
.import_sstpb.SSTMeta sst = 2 [(.gogoproto.nullable) = false];getSst in interface ImportSstpb.DownloadRequestOrBuilderpublic ImportSstpb.SSTMetaOrBuilder getSstOrBuilder()
The SST meta used to identify the downloaded file. Must be the same among all nodes in the same Raft group. Note: the "crc32" and "cf_name" fields are ignored in this request, and the "range" field represents the closed key range after rewrite (as origin keys in encoded representation).
.import_sstpb.SSTMeta sst = 2 [(.gogoproto.nullable) = false];getSstOrBuilder in interface ImportSstpb.DownloadRequestOrBuilderpublic String getName()
The file name of the SST file.
string name = 9;getName in interface ImportSstpb.DownloadRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The file name of the SST file.
string name = 9;getNameBytes in interface ImportSstpb.DownloadRequestOrBuilderpublic boolean hasRewriteRule()
Performs a key prefix rewrite after downloading the SST file. All keys in the SST will be rewritten as: new_key = new_key_prefix + old_key[len(old_key_prefix)..] When used for TiDB, rewriting the prefix changes the table ID. Please note that key-rewrite is applied on the origin keys in encoded representation (the SST itself should still use data keys in encoded representation). You need to ensure that the keys before and after rewriting are in the same order, otherwise the RPC request will fail.
.import_sstpb.RewriteRule rewrite_rule = 13 [(.gogoproto.nullable) = false];hasRewriteRule in interface ImportSstpb.DownloadRequestOrBuilderpublic ImportSstpb.RewriteRule getRewriteRule()
Performs a key prefix rewrite after downloading the SST file. All keys in the SST will be rewritten as: new_key = new_key_prefix + old_key[len(old_key_prefix)..] When used for TiDB, rewriting the prefix changes the table ID. Please note that key-rewrite is applied on the origin keys in encoded representation (the SST itself should still use data keys in encoded representation). You need to ensure that the keys before and after rewriting are in the same order, otherwise the RPC request will fail.
.import_sstpb.RewriteRule rewrite_rule = 13 [(.gogoproto.nullable) = false];getRewriteRule in interface ImportSstpb.DownloadRequestOrBuilderpublic ImportSstpb.RewriteRuleOrBuilder getRewriteRuleOrBuilder()
Performs a key prefix rewrite after downloading the SST file. All keys in the SST will be rewritten as: new_key = new_key_prefix + old_key[len(old_key_prefix)..] When used for TiDB, rewriting the prefix changes the table ID. Please note that key-rewrite is applied on the origin keys in encoded representation (the SST itself should still use data keys in encoded representation). You need to ensure that the keys before and after rewriting are in the same order, otherwise the RPC request will fail.
.import_sstpb.RewriteRule rewrite_rule = 13 [(.gogoproto.nullable) = false];getRewriteRuleOrBuilder in interface ImportSstpb.DownloadRequestOrBuilderpublic boolean hasStorageBackend()
.backup.StorageBackend storage_backend = 14;hasStorageBackend in interface ImportSstpb.DownloadRequestOrBuilderpublic Brpb.StorageBackend getStorageBackend()
.backup.StorageBackend storage_backend = 14;getStorageBackend in interface ImportSstpb.DownloadRequestOrBuilderpublic Brpb.StorageBackendOrBuilder getStorageBackendOrBuilder()
.backup.StorageBackend storage_backend = 14;getStorageBackendOrBuilder in interface ImportSstpb.DownloadRequestOrBuilderpublic boolean getIsRawKv()
bool is_raw_kv = 15;getIsRawKv in interface ImportSstpb.DownloadRequestOrBuilderpublic boolean hasCipherInfo()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;hasCipherInfo in interface ImportSstpb.DownloadRequestOrBuilderpublic Brpb.CipherInfo getCipherInfo()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;getCipherInfo in interface ImportSstpb.DownloadRequestOrBuilderpublic Brpb.CipherInfoOrBuilder getCipherInfoOrBuilder()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;getCipherInfoOrBuilder in interface ImportSstpb.DownloadRequestOrBuilderpublic 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 ImportSstpb.DownloadRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportSstpb.DownloadRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportSstpb.DownloadRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportSstpb.DownloadRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportSstpb.DownloadRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportSstpb.DownloadRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportSstpb.DownloadRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportSstpb.DownloadRequest.Builder newBuilder()
public static ImportSstpb.DownloadRequest.Builder newBuilder(ImportSstpb.DownloadRequest prototype)
public ImportSstpb.DownloadRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportSstpb.DownloadRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportSstpb.DownloadRequest getDefaultInstance()
public static com.google.protobuf.Parser<ImportSstpb.DownloadRequest> parser()
public com.google.protobuf.Parser<ImportSstpb.DownloadRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportSstpb.DownloadRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.