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, 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 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.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 com.google.protobuf.ByteString getUuid()
bytes uuid = 1;
getUuid
in interface ImportSstpb.SSTMetaOrBuilder
public boolean hasRange()
.import_sstpb.Range range = 2;
hasRange
in interface ImportSstpb.SSTMetaOrBuilder
public ImportSstpb.Range getRange()
.import_sstpb.Range range = 2;
getRange
in interface ImportSstpb.SSTMetaOrBuilder
public ImportSstpb.RangeOrBuilder getRangeOrBuilder()
.import_sstpb.Range range = 2;
getRangeOrBuilder
in interface ImportSstpb.SSTMetaOrBuilder
public int getCrc32()
uint32 crc32 = 3;
getCrc32
in interface ImportSstpb.SSTMetaOrBuilder
public long getLength()
uint64 length = 4;
getLength
in interface ImportSstpb.SSTMetaOrBuilder
public String getCfName()
string cf_name = 5;
getCfName
in interface ImportSstpb.SSTMetaOrBuilder
public com.google.protobuf.ByteString getCfNameBytes()
string cf_name = 5;
getCfNameBytes
in interface ImportSstpb.SSTMetaOrBuilder
public long getRegionId()
uint64 region_id = 6;
getRegionId
in interface ImportSstpb.SSTMetaOrBuilder
public boolean hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 7;
hasRegionEpoch
in interface ImportSstpb.SSTMetaOrBuilder
public Metapb.RegionEpoch getRegionEpoch()
.metapb.RegionEpoch region_epoch = 7;
getRegionEpoch
in interface ImportSstpb.SSTMetaOrBuilder
public Metapb.RegionEpochOrBuilder getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 7;
getRegionEpochOrBuilder
in interface ImportSstpb.SSTMetaOrBuilder
public boolean getEndKeyExclusive()
bool end_key_exclusive = 8;
getEndKeyExclusive
in interface ImportSstpb.SSTMetaOrBuilder
public 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.SSTMetaOrBuilder
public long getTotalBytes()
uint64 total_bytes = 10;
getTotalBytes
in interface ImportSstpb.SSTMetaOrBuilder
public int getApiVersionValue()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 11;
getApiVersionValue
in interface ImportSstpb.SSTMetaOrBuilder
public Kvrpcpb.APIVersion getApiVersion()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 11;
getApiVersion
in interface ImportSstpb.SSTMetaOrBuilder
public com.google.protobuf.ByteString getCipherIv()
cipher_iv is used to encrypt/decrypt sst
bytes cipher_iv = 12;
getCipherIv
in interface ImportSstpb.SSTMetaOrBuilder
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.SSTMeta parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.SSTMeta parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.SSTMeta parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.SSTMeta parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.SSTMeta parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.SSTMeta parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.SSTMeta parseFrom(InputStream input) throws IOException
IOException
public static ImportSstpb.SSTMeta parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ImportSstpb.SSTMeta parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ImportSstpb.SSTMeta parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ImportSstpb.SSTMeta parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ImportSstpb.SSTMeta parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ImportSstpb.SSTMeta.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ImportSstpb.SSTMeta.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ImportSstpb.SSTMeta getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.