public static final class Brpb.BackupRequest extends com.google.protobuf.GeneratedMessageV3 implements Brpb.BackupRequestOrBuilder
backup.BackupRequest| 限定符和类型 | 类和说明 |
|---|---|
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| 限定符和类型 | 字段和说明 |
|---|---|
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 |
| 限定符和类型 | 方法和说明 |
|---|---|
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
.backup.CipherInfo cipher_info = 14; |
Brpb.CipherInfoOrBuilder |
getCipherInfoOrBuilder()
The cipher_info is Used to encrypt sst
.backup.CipherInfo cipher_info = 14; |
long |
getClusterId()
uint64 cluster_id = 1; |
int |
getCompressionLevel()
sst compression level, some algorithms support negative compression levels
int32 compression_level = 13; |
Brpb.CompressionType |
getCompressionType()
algorithm used for compress sst files
.backup.CompressionType compression_type = 12; |
int |
getCompressionTypeValue()
algorithm used for compress sst files
.backup.CompressionType compression_type = 12; |
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
.backup.CipherInfo cipher_info = 14; |
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) |
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, 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 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
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 long getClusterId()
uint64 cluster_id = 1;getClusterId 在接口中 Brpb.BackupRequestOrBuilderpublic com.google.protobuf.ByteString getStartKey()
bytes start_key = 2;getStartKey 在接口中 Brpb.BackupRequestOrBuilderpublic com.google.protobuf.ByteString getEndKey()
bytes end_key = 3;getEndKey 在接口中 Brpb.BackupRequestOrBuilderpublic long getStartVersion()
uint64 start_version = 4;getStartVersion 在接口中 Brpb.BackupRequestOrBuilderpublic long getEndVersion()
uint64 end_version = 5;getEndVersion 在接口中 Brpb.BackupRequestOrBuilderpublic long getRateLimit()
The I/O rate limit for backup request.
uint64 rate_limit = 7;getRateLimit 在接口中 Brpb.BackupRequestOrBuilderpublic int getConcurrency()
The concurrency for executing the backup request in every tikv node.
uint32 concurrency = 8;getConcurrency 在接口中 Brpb.BackupRequestOrBuilderpublic boolean hasStorageBackend()
.backup.StorageBackend storage_backend = 9;hasStorageBackend 在接口中 Brpb.BackupRequestOrBuilderpublic Brpb.StorageBackend getStorageBackend()
.backup.StorageBackend storage_backend = 9;getStorageBackend 在接口中 Brpb.BackupRequestOrBuilderpublic Brpb.StorageBackendOrBuilder getStorageBackendOrBuilder()
.backup.StorageBackend storage_backend = 9;public 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 在接口中 Brpb.BackupRequestOrBuilderpublic String getCf()
string cf = 11;getCf 在接口中 Brpb.BackupRequestOrBuilderpublic com.google.protobuf.ByteString getCfBytes()
string cf = 11;getCfBytes 在接口中 Brpb.BackupRequestOrBuilderpublic int getCompressionTypeValue()
algorithm used for compress sst files
.backup.CompressionType compression_type = 12;public Brpb.CompressionType getCompressionType()
algorithm used for compress sst files
.backup.CompressionType compression_type = 12;public int getCompressionLevel()
sst compression level, some algorithms support negative compression levels
int32 compression_level = 13;public boolean hasCipherInfo()
The cipher_info is Used to encrypt sst
.backup.CipherInfo cipher_info = 14;hasCipherInfo 在接口中 Brpb.BackupRequestOrBuilderpublic Brpb.CipherInfo getCipherInfo()
The cipher_info is Used to encrypt sst
.backup.CipherInfo cipher_info = 14;getCipherInfo 在接口中 Brpb.BackupRequestOrBuilderpublic Brpb.CipherInfoOrBuilder getCipherInfoOrBuilder()
The cipher_info is Used to encrypt sst
.backup.CipherInfo cipher_info = 14;public 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;public 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 在接口中 Brpb.BackupRequestOrBuilderpublic 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 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 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Brpb.BackupRequest.Builder newBuilder()
public static Brpb.BackupRequest.Builder newBuilder(Brpb.BackupRequest prototype)
public Brpb.BackupRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Brpb.BackupRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 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 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Brpb.BackupRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2023 PingCAP. All rights reserved.