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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public 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.DownloadRequestOrBuilder
public 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.DownloadRequestOrBuilder
public 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.DownloadRequestOrBuilder
public String getName()
The file name of the SST file.
string name = 9;
getName
in interface ImportSstpb.DownloadRequestOrBuilder
public com.google.protobuf.ByteString getNameBytes()
The file name of the SST file.
string name = 9;
getNameBytes
in interface ImportSstpb.DownloadRequestOrBuilder
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];
hasRewriteRule
in interface ImportSstpb.DownloadRequestOrBuilder
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];
getRewriteRule
in interface ImportSstpb.DownloadRequestOrBuilder
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];
getRewriteRuleOrBuilder
in interface ImportSstpb.DownloadRequestOrBuilder
public boolean hasStorageBackend()
.backup.StorageBackend storage_backend = 14;
hasStorageBackend
in interface ImportSstpb.DownloadRequestOrBuilder
public Brpb.StorageBackend getStorageBackend()
.backup.StorageBackend storage_backend = 14;
getStorageBackend
in interface ImportSstpb.DownloadRequestOrBuilder
public Brpb.StorageBackendOrBuilder getStorageBackendOrBuilder()
.backup.StorageBackend storage_backend = 14;
getStorageBackendOrBuilder
in interface ImportSstpb.DownloadRequestOrBuilder
public boolean getIsRawKv()
bool is_raw_kv = 15;
getIsRawKv
in interface ImportSstpb.DownloadRequestOrBuilder
public boolean hasCipherInfo()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;
hasCipherInfo
in interface ImportSstpb.DownloadRequestOrBuilder
public Brpb.CipherInfo getCipherInfo()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;
getCipherInfo
in interface ImportSstpb.DownloadRequestOrBuilder
public Brpb.CipherInfoOrBuilder getCipherInfoOrBuilder()
cipher_info is used to decrypt sst when download sst
.backup.CipherInfo cipher_info = 16;
getCipherInfoOrBuilder
in interface ImportSstpb.DownloadRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ImportSstpb.DownloadRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadRequest parseFrom(InputStream input) throws IOException
IOException
public static ImportSstpb.DownloadRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ImportSstpb.DownloadRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ImportSstpb.DownloadRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ImportSstpb.DownloadRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ImportSstpb.DownloadRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ImportSstpb.DownloadRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ImportSstpb.DownloadRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ImportSstpb.DownloadRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.