public static final class ImportSstpb.SSTMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder> implements ImportSstpb.SSTMetaOrBuilder
import_sstpb.SSTMeta
Modifier and Type | Method and Description |
---|---|
ImportSstpb.SSTMeta.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportSstpb.SSTMeta |
build() |
ImportSstpb.SSTMeta |
buildPartial() |
ImportSstpb.SSTMeta.Builder |
clear() |
ImportSstpb.SSTMeta.Builder |
clearApiVersion()
API version implies the encode of the key and value.
|
ImportSstpb.SSTMeta.Builder |
clearCfName()
string cf_name = 5; |
ImportSstpb.SSTMeta.Builder |
clearCipherIv()
cipher_iv is used to encrypt/decrypt sst
|
ImportSstpb.SSTMeta.Builder |
clearCrc32()
uint32 crc32 = 3; |
ImportSstpb.SSTMeta.Builder |
clearEndKeyExclusive()
bool end_key_exclusive = 8; |
ImportSstpb.SSTMeta.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ImportSstpb.SSTMeta.Builder |
clearLength()
uint64 length = 4; |
ImportSstpb.SSTMeta.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ImportSstpb.SSTMeta.Builder |
clearRange()
.import_sstpb.Range range = 2; |
ImportSstpb.SSTMeta.Builder |
clearRegionEpoch()
.metapb.RegionEpoch region_epoch = 7; |
ImportSstpb.SSTMeta.Builder |
clearRegionId()
uint64 region_id = 6; |
ImportSstpb.SSTMeta.Builder |
clearTotalBytes()
uint64 total_bytes = 10; |
ImportSstpb.SSTMeta.Builder |
clearTotalKvs()
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.
|
ImportSstpb.SSTMeta.Builder |
clearUuid()
bytes uuid = 1; |
ImportSstpb.SSTMeta.Builder |
clone() |
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; |
ImportSstpb.SSTMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEndKeyExclusive()
bool end_key_exclusive = 8; |
long |
getLength()
uint64 length = 4; |
ImportSstpb.Range |
getRange()
.import_sstpb.Range range = 2; |
ImportSstpb.Range.Builder |
getRangeBuilder()
.import_sstpb.Range range = 2; |
ImportSstpb.RangeOrBuilder |
getRangeOrBuilder()
.import_sstpb.Range range = 2; |
Metapb.RegionEpoch |
getRegionEpoch()
.metapb.RegionEpoch region_epoch = 7; |
Metapb.RegionEpoch.Builder |
getRegionEpochBuilder()
.metapb.RegionEpoch region_epoch = 7; |
Metapb.RegionEpochOrBuilder |
getRegionEpochOrBuilder()
.metapb.RegionEpoch region_epoch = 7; |
long |
getRegionId()
uint64 region_id = 6; |
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.ByteString |
getUuid()
bytes uuid = 1; |
boolean |
hasRange()
.import_sstpb.Range range = 2; |
boolean |
hasRegionEpoch()
.metapb.RegionEpoch region_epoch = 7; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ImportSstpb.SSTMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ImportSstpb.SSTMeta.Builder |
mergeFrom(ImportSstpb.SSTMeta other) |
ImportSstpb.SSTMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
ImportSstpb.SSTMeta.Builder |
mergeRange(ImportSstpb.Range value)
.import_sstpb.Range range = 2; |
ImportSstpb.SSTMeta.Builder |
mergeRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 7; |
ImportSstpb.SSTMeta.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportSstpb.SSTMeta.Builder |
setApiVersion(Kvrpcpb.APIVersion value)
API version implies the encode of the key and value.
|
ImportSstpb.SSTMeta.Builder |
setApiVersionValue(int value)
API version implies the encode of the key and value.
|
ImportSstpb.SSTMeta.Builder |
setCfName(String value)
string cf_name = 5; |
ImportSstpb.SSTMeta.Builder |
setCfNameBytes(com.google.protobuf.ByteString value)
string cf_name = 5; |
ImportSstpb.SSTMeta.Builder |
setCipherIv(com.google.protobuf.ByteString value)
cipher_iv is used to encrypt/decrypt sst
|
ImportSstpb.SSTMeta.Builder |
setCrc32(int value)
uint32 crc32 = 3; |
ImportSstpb.SSTMeta.Builder |
setEndKeyExclusive(boolean value)
bool end_key_exclusive = 8; |
ImportSstpb.SSTMeta.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportSstpb.SSTMeta.Builder |
setLength(long value)
uint64 length = 4; |
ImportSstpb.SSTMeta.Builder |
setRange(ImportSstpb.Range.Builder builderForValue)
.import_sstpb.Range range = 2; |
ImportSstpb.SSTMeta.Builder |
setRange(ImportSstpb.Range value)
.import_sstpb.Range range = 2; |
ImportSstpb.SSTMeta.Builder |
setRegionEpoch(Metapb.RegionEpoch.Builder builderForValue)
.metapb.RegionEpoch region_epoch = 7; |
ImportSstpb.SSTMeta.Builder |
setRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 7; |
ImportSstpb.SSTMeta.Builder |
setRegionId(long value)
uint64 region_id = 6; |
ImportSstpb.SSTMeta.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ImportSstpb.SSTMeta.Builder |
setTotalBytes(long value)
uint64 total_bytes = 10; |
ImportSstpb.SSTMeta.Builder |
setTotalKvs(long value)
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.
|
ImportSstpb.SSTMeta.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportSstpb.SSTMeta.Builder |
setUuid(com.google.protobuf.ByteString value)
bytes uuid = 1; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public ImportSstpb.SSTMeta.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public ImportSstpb.SSTMeta getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ImportSstpb.SSTMeta build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ImportSstpb.SSTMeta buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ImportSstpb.SSTMeta.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public ImportSstpb.SSTMeta.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public ImportSstpb.SSTMeta.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public ImportSstpb.SSTMeta.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public ImportSstpb.SSTMeta.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public ImportSstpb.SSTMeta.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public ImportSstpb.SSTMeta.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ImportSstpb.SSTMeta.Builder>
public ImportSstpb.SSTMeta.Builder mergeFrom(ImportSstpb.SSTMeta other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public ImportSstpb.SSTMeta.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ImportSstpb.SSTMeta.Builder>
IOException
public com.google.protobuf.ByteString getUuid()
bytes uuid = 1;
getUuid
in interface ImportSstpb.SSTMetaOrBuilder
public ImportSstpb.SSTMeta.Builder setUuid(com.google.protobuf.ByteString value)
bytes uuid = 1;
value
- The uuid to set.public ImportSstpb.SSTMeta.Builder clearUuid()
bytes uuid = 1;
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.SSTMeta.Builder setRange(ImportSstpb.Range value)
.import_sstpb.Range range = 2;
public ImportSstpb.SSTMeta.Builder setRange(ImportSstpb.Range.Builder builderForValue)
.import_sstpb.Range range = 2;
public ImportSstpb.SSTMeta.Builder mergeRange(ImportSstpb.Range value)
.import_sstpb.Range range = 2;
public ImportSstpb.SSTMeta.Builder clearRange()
.import_sstpb.Range range = 2;
public ImportSstpb.Range.Builder getRangeBuilder()
.import_sstpb.Range range = 2;
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 ImportSstpb.SSTMeta.Builder setCrc32(int value)
uint32 crc32 = 3;
value
- The crc32 to set.public ImportSstpb.SSTMeta.Builder clearCrc32()
uint32 crc32 = 3;
public long getLength()
uint64 length = 4;
getLength
in interface ImportSstpb.SSTMetaOrBuilder
public ImportSstpb.SSTMeta.Builder setLength(long value)
uint64 length = 4;
value
- The length to set.public ImportSstpb.SSTMeta.Builder clearLength()
uint64 length = 4;
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 ImportSstpb.SSTMeta.Builder setCfName(String value)
string cf_name = 5;
value
- The cfName to set.public ImportSstpb.SSTMeta.Builder clearCfName()
string cf_name = 5;
public ImportSstpb.SSTMeta.Builder setCfNameBytes(com.google.protobuf.ByteString value)
string cf_name = 5;
value
- The bytes for cfName to set.public long getRegionId()
uint64 region_id = 6;
getRegionId
in interface ImportSstpb.SSTMetaOrBuilder
public ImportSstpb.SSTMeta.Builder setRegionId(long value)
uint64 region_id = 6;
value
- The regionId to set.public ImportSstpb.SSTMeta.Builder clearRegionId()
uint64 region_id = 6;
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 ImportSstpb.SSTMeta.Builder setRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 7;
public ImportSstpb.SSTMeta.Builder setRegionEpoch(Metapb.RegionEpoch.Builder builderForValue)
.metapb.RegionEpoch region_epoch = 7;
public ImportSstpb.SSTMeta.Builder mergeRegionEpoch(Metapb.RegionEpoch value)
.metapb.RegionEpoch region_epoch = 7;
public ImportSstpb.SSTMeta.Builder clearRegionEpoch()
.metapb.RegionEpoch region_epoch = 7;
public Metapb.RegionEpoch.Builder getRegionEpochBuilder()
.metapb.RegionEpoch region_epoch = 7;
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 ImportSstpb.SSTMeta.Builder setEndKeyExclusive(boolean value)
bool end_key_exclusive = 8;
value
- The endKeyExclusive to set.public ImportSstpb.SSTMeta.Builder clearEndKeyExclusive()
bool end_key_exclusive = 8;
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 ImportSstpb.SSTMeta.Builder setTotalKvs(long value)
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;
value
- The totalKvs to set.public ImportSstpb.SSTMeta.Builder clearTotalKvs()
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;
public long getTotalBytes()
uint64 total_bytes = 10;
getTotalBytes
in interface ImportSstpb.SSTMetaOrBuilder
public ImportSstpb.SSTMeta.Builder setTotalBytes(long value)
uint64 total_bytes = 10;
value
- The totalBytes to set.public ImportSstpb.SSTMeta.Builder clearTotalBytes()
uint64 total_bytes = 10;
public int getApiVersionValue()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 11;
getApiVersionValue
in interface ImportSstpb.SSTMetaOrBuilder
public ImportSstpb.SSTMeta.Builder setApiVersionValue(int value)
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 11;
value
- The enum numeric value on the wire for apiVersion to set.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 ImportSstpb.SSTMeta.Builder setApiVersion(Kvrpcpb.APIVersion value)
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 11;
value
- The apiVersion to set.public ImportSstpb.SSTMeta.Builder clearApiVersion()
API version implies the encode of the key and value.
.kvrpcpb.APIVersion api_version = 11;
public com.google.protobuf.ByteString getCipherIv()
cipher_iv is used to encrypt/decrypt sst
bytes cipher_iv = 12;
getCipherIv
in interface ImportSstpb.SSTMetaOrBuilder
public ImportSstpb.SSTMeta.Builder setCipherIv(com.google.protobuf.ByteString value)
cipher_iv is used to encrypt/decrypt sst
bytes cipher_iv = 12;
value
- The cipherIv to set.public ImportSstpb.SSTMeta.Builder clearCipherIv()
cipher_iv is used to encrypt/decrypt sst
bytes cipher_iv = 12;
public final ImportSstpb.SSTMeta.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
public final ImportSstpb.SSTMeta.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.SSTMeta.Builder>
Copyright © 2024 PingCAP. All rights reserved.