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, 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 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.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 long getClusterId()
uint64 cluster_id = 1;
getClusterId
in interface Brpb.BackupRequestOrBuilder
public com.google.protobuf.ByteString getStartKey()
bytes start_key = 2;
getStartKey
in interface Brpb.BackupRequestOrBuilder
public com.google.protobuf.ByteString getEndKey()
bytes end_key = 3;
getEndKey
in interface Brpb.BackupRequestOrBuilder
public long getStartVersion()
uint64 start_version = 4;
getStartVersion
in interface Brpb.BackupRequestOrBuilder
public long getEndVersion()
uint64 end_version = 5;
getEndVersion
in interface Brpb.BackupRequestOrBuilder
public long getRateLimit()
The I/O rate limit for backup request.
uint64 rate_limit = 7;
getRateLimit
in interface Brpb.BackupRequestOrBuilder
public int getConcurrency()
The concurrency for executing the backup request in every tikv node.
uint32 concurrency = 8;
getConcurrency
in interface Brpb.BackupRequestOrBuilder
public boolean hasStorageBackend()
.backup.StorageBackend storage_backend = 9;
hasStorageBackend
in interface Brpb.BackupRequestOrBuilder
public Brpb.StorageBackend getStorageBackend()
.backup.StorageBackend storage_backend = 9;
getStorageBackend
in interface Brpb.BackupRequestOrBuilder
public Brpb.StorageBackendOrBuilder getStorageBackendOrBuilder()
.backup.StorageBackend storage_backend = 9;
getStorageBackendOrBuilder
in interface Brpb.BackupRequestOrBuilder
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
in interface Brpb.BackupRequestOrBuilder
public String getCf()
string cf = 11;
getCf
in interface Brpb.BackupRequestOrBuilder
public com.google.protobuf.ByteString getCfBytes()
string cf = 11;
getCfBytes
in interface Brpb.BackupRequestOrBuilder
public int getCompressionTypeValue()
algorithm used for compress sst files
.backup.CompressionType compression_type = 12;
getCompressionTypeValue
in interface Brpb.BackupRequestOrBuilder
public Brpb.CompressionType getCompressionType()
algorithm used for compress sst files
.backup.CompressionType compression_type = 12;
getCompressionType
in interface Brpb.BackupRequestOrBuilder
public int getCompressionLevel()
sst compression level, some algorithms support negative compression levels
int32 compression_level = 13;
getCompressionLevel
in interface Brpb.BackupRequestOrBuilder
public boolean hasCipherInfo()
The cipher_info is Used to encrypt sst
.backup.CipherInfo cipher_info = 14;
hasCipherInfo
in interface Brpb.BackupRequestOrBuilder
public Brpb.CipherInfo getCipherInfo()
The cipher_info is Used to encrypt sst
.backup.CipherInfo cipher_info = 14;
getCipherInfo
in interface Brpb.BackupRequestOrBuilder
public Brpb.CipherInfoOrBuilder getCipherInfoOrBuilder()
The cipher_info is Used to encrypt sst
.backup.CipherInfo cipher_info = 14;
getCipherInfoOrBuilder
in interface Brpb.BackupRequestOrBuilder
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;
getDstApiVersionValue
in interface Brpb.BackupRequestOrBuilder
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
in interface Brpb.BackupRequestOrBuilder
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 Brpb.BackupRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Brpb.BackupRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Brpb.BackupRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Brpb.BackupRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Brpb.BackupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Brpb.BackupRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Brpb.BackupRequest parseFrom(InputStream input) throws IOException
IOException
public static Brpb.BackupRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Brpb.BackupRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Brpb.BackupRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Brpb.BackupRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Brpb.BackupRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Brpb.BackupRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Brpb.BackupRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Brpb.BackupRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.