public static final class ImportSstpb.SSTMeta extends com.google.protobuf.GeneratedMessageV3 implements ImportSstpb.SSTMetaOrBuilder
import_sstpb.SSTMeta| Modifier and Type | Class and Description |
|---|---|
static class |
ImportSstpb.SSTMeta.Builder
Protobuf type
import_sstpb.SSTMeta |
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 |
API_VERSION_FIELD_NUMBER |
static int |
CF_NAME_FIELD_NUMBER |
static int |
CIPHER_IV_FIELD_NUMBER |
static int |
CRC32_FIELD_NUMBER |
static int |
END_KEY_EXCLUSIVE_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
RANGE_FIELD_NUMBER |
static int |
REGION_EPOCH_FIELD_NUMBER |
static int |
REGION_ID_FIELD_NUMBER |
static int |
TOTAL_BYTES_FIELD_NUMBER |
static int |
TOTAL_KVS_FIELD_NUMBER |
static int |
UUID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Kvrpcpb.APIVersion |
getApiVersion()
API version implies the encode of the key and value.
|
int |
getApiVersionValue()
API version implies the encode of the key and value.
|
String |
getCfName()
string cf_name = 5; |
com.google.protobuf.ByteString |
getCfNameBytes()
string cf_name = 5; |
com.google.protobuf.ByteString |
getCipherIv()
cipher_iv is used to encrypt/decrypt sst
|
int |
getCrc32()
uint32 crc32 = 3; |
static ImportSstpb.SSTMeta |
getDefaultInstance() |
ImportSstpb.SSTMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getEndKeyExclusive()
bool end_key_exclusive = 8; |
long |
getLength()
uint64 length = 4; |
com.google.protobuf.Parser<ImportSstpb.SSTMeta> |
getParserForType() |
ImportSstpb.Range |
getRange()
.import_sstpb.Range range = 2; |
ImportSstpb.RangeOrBuilder |
getRangeOrBuilder()
.import_sstpb.Range range = 2; |
Metapb.RegionEpoch |
getRegionEpoch()
.metapb.RegionEpoch region_epoch = 7; |
Metapb.RegionEpochOrBuilder |
getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 7; |
long |
getRegionId()
uint64 region_id = 6; |
int |
getSerializedSize() |
long |
getTotalBytes()
uint64 total_bytes = 10; |
long |
getTotalKvs()
total_kvs and total_bytes is equivalent to PD's approximate_keys and approximate_size
set these values can save time from tikv upload keys and size to PD through Heartbeat.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getUuid()
bytes uuid = 1; |
int |
hashCode() |
boolean |
hasRange()
.import_sstpb.Range range = 2; |
boolean |
hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 7; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImportSstpb.SSTMeta.Builder |
newBuilder() |
static ImportSstpb.SSTMeta.Builder |
newBuilder(ImportSstpb.SSTMeta prototype) |
ImportSstpb.SSTMeta.Builder |
newBuilderForType() |
protected ImportSstpb.SSTMeta.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ImportSstpb.SSTMeta |
parseDelimitedFrom(InputStream input) |
static ImportSstpb.SSTMeta |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.SSTMeta |
parseFrom(byte[] data) |
static ImportSstpb.SSTMeta |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.SSTMeta |
parseFrom(ByteBuffer data) |
static ImportSstpb.SSTMeta |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.SSTMeta |
parseFrom(com.google.protobuf.ByteString data) |
static ImportSstpb.SSTMeta |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.SSTMeta |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportSstpb.SSTMeta |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.SSTMeta |
parseFrom(InputStream input) |
static ImportSstpb.SSTMeta |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportSstpb.SSTMeta> |
parser() |
ImportSstpb.SSTMeta.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 UUID_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER
public static final int CRC32_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
public static final int CF_NAME_FIELD_NUMBER
public static final int REGION_ID_FIELD_NUMBER
public static final int REGION_EPOCH_FIELD_NUMBER
public static final int END_KEY_EXCLUSIVE_FIELD_NUMBER
public static final int TOTAL_KVS_FIELD_NUMBER
public static final int TOTAL_BYTES_FIELD_NUMBER
public static final int API_VERSION_FIELD_NUMBER
public static final int CIPHER_IV_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 com.google.protobuf.ByteString getUuid()
bytes uuid = 1;getUuid in interface ImportSstpb.SSTMetaOrBuilderpublic boolean hasRange()
.import_sstpb.Range range = 2;hasRange in interface ImportSstpb.SSTMetaOrBuilderpublic ImportSstpb.Range getRange()
.import_sstpb.Range range = 2;getRange in interface ImportSstpb.SSTMetaOrBuilderpublic ImportSstpb.RangeOrBuilder getRangeOrBuilder()
.import_sstpb.Range range = 2;getRangeOrBuilder in interface ImportSstpb.SSTMetaOrBuilderpublic int getCrc32()
uint32 crc32 = 3;getCrc32 in interface ImportSstpb.SSTMetaOrBuilderpublic long getLength()
uint64 length = 4;getLength in interface ImportSstpb.SSTMetaOrBuilderpublic String getCfName()
string cf_name = 5;getCfName in interface ImportSstpb.SSTMetaOrBuilderpublic com.google.protobuf.ByteString getCfNameBytes()
string cf_name = 5;getCfNameBytes in interface ImportSstpb.SSTMetaOrBuilderpublic long getRegionId()
uint64 region_id = 6;getRegionId in interface ImportSstpb.SSTMetaOrBuilderpublic boolean hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 7;hasRegionEpoch in interface ImportSstpb.SSTMetaOrBuilderpublic Metapb.RegionEpoch getRegionEpoch()
.metapb.RegionEpoch region_epoch = 7;getRegionEpoch in interface ImportSstpb.SSTMetaOrBuilderpublic Metapb.RegionEpochOrBuilder getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 7;getRegionEpochOrBuilder in interface ImportSstpb.SSTMetaOrBuilderpublic boolean getEndKeyExclusive()
bool end_key_exclusive = 8;getEndKeyExclusive in interface ImportSstpb.SSTMetaOrBuilderpublic long getTotalKvs()
total_kvs and total_bytes is equivalent to PD's approximate_keys and approximate_size set these values can save time from tikv upload keys and size to PD through Heartbeat.
uint64 total_kvs = 9;getTotalKvs in interface ImportSstpb.SSTMetaOrBuilderpublic long getTotalBytes()
uint64 total_bytes = 10;getTotalBytes in interface ImportSstpb.SSTMetaOrBuilderpublic int getApiVersionValue()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 11;getApiVersionValue in interface ImportSstpb.SSTMetaOrBuilderpublic Kvrpcpb.APIVersion getApiVersion()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 11;getApiVersion in interface ImportSstpb.SSTMetaOrBuilderpublic com.google.protobuf.ByteString getCipherIv()
cipher_iv is used to encrypt/decrypt sst
bytes cipher_iv = 12;getCipherIv in interface ImportSstpb.SSTMetaOrBuilderpublic 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.SSTMeta parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.SSTMeta parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.SSTMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.SSTMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.SSTMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.SSTMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.SSTMeta parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportSstpb.SSTMeta parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportSstpb.SSTMeta parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportSstpb.SSTMeta parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportSstpb.SSTMeta parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportSstpb.SSTMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportSstpb.SSTMeta.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportSstpb.SSTMeta.Builder newBuilder()
public static ImportSstpb.SSTMeta.Builder newBuilder(ImportSstpb.SSTMeta prototype)
public ImportSstpb.SSTMeta.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportSstpb.SSTMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportSstpb.SSTMeta getDefaultInstance()
public static com.google.protobuf.Parser<ImportSstpb.SSTMeta> parser()
public com.google.protobuf.Parser<ImportSstpb.SSTMeta> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportSstpb.SSTMeta getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.