public static final class ImportSstpb.DownloadRequest extends com.google.protobuf.GeneratedMessageV3 implements ImportSstpb.DownloadRequestOrBuilder
import_sstpb.DownloadRequest| 限定符和类型 | 类和说明 |
|---|---|
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| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
Brpb.CipherInfo |
getCipherInfo()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16; |
Brpb.CipherInfoOrBuilder |
getCipherInfoOrBuilder()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16; |
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
.backup.CipherInfo cipher_info = 16; |
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) |
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, newInstance, 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, writeTopublic 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
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 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 在接口中 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 在接口中 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];public String getName()
The file name of the SST file.
string name = 9;getName 在接口中 ImportSstpb.DownloadRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The file name of the SST file.
string name = 9;public 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];public 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];public 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];public boolean hasStorageBackend()
.backup.StorageBackend storage_backend = 14;public Brpb.StorageBackend getStorageBackend()
.backup.StorageBackend storage_backend = 14;public Brpb.StorageBackendOrBuilder getStorageBackendOrBuilder()
.backup.StorageBackend storage_backend = 14;public boolean getIsRawKv()
bool is_raw_kv = 15;public boolean hasCipherInfo()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;public Brpb.CipherInfo getCipherInfo()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;public Brpb.CipherInfoOrBuilder getCipherInfoOrBuilder()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static ImportSstpb.DownloadRequest.Builder newBuilder()
public static ImportSstpb.DownloadRequest.Builder newBuilder(ImportSstpb.DownloadRequest prototype)
public ImportSstpb.DownloadRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected ImportSstpb.DownloadRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 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 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public ImportSstpb.DownloadRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023 PingCAP. All rights reserved.