public static final class ImportSstpb.DownloadResponse extends com.google.protobuf.GeneratedMessageV3 implements ImportSstpb.DownloadResponseOrBuilder
import_sstpb.DownloadResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ImportSstpb.DownloadResponse.Builder
Protobuf type
import_sstpb.DownloadResponse |
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 |
CRC32_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
IS_EMPTY_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
RANGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getCrc32()
The CRC32 checksum of the rewritten SST file (implementation can return
zero, indicating the CRC32 was not calculated).
|
static ImportSstpb.DownloadResponse |
getDefaultInstance() |
ImportSstpb.DownloadResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ImportSstpb.Error |
getError()
.import_sstpb.Error error = 3; |
ImportSstpb.ErrorOrBuilder |
getErrorOrBuilder()
.import_sstpb.Error error = 3; |
boolean |
getIsEmpty()
Whether the SST is empty.
|
long |
getLength()
The actual length of the rewritten SST file.
|
com.google.protobuf.Parser<ImportSstpb.DownloadResponse> |
getParserForType() |
ImportSstpb.Range |
getRange()
The actual key range (after rewrite) of the downloaded SST.
|
ImportSstpb.RangeOrBuilder |
getRangeOrBuilder()
The actual key range (after rewrite) of the downloaded SST.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasError()
.import_sstpb.Error error = 3; |
int |
hashCode() |
boolean |
hasRange()
The actual key range (after rewrite) of the downloaded SST.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImportSstpb.DownloadResponse.Builder |
newBuilder() |
static ImportSstpb.DownloadResponse.Builder |
newBuilder(ImportSstpb.DownloadResponse prototype) |
ImportSstpb.DownloadResponse.Builder |
newBuilderForType() |
protected ImportSstpb.DownloadResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ImportSstpb.DownloadResponse |
parseDelimitedFrom(InputStream input) |
static ImportSstpb.DownloadResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.DownloadResponse |
parseFrom(byte[] data) |
static ImportSstpb.DownloadResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.DownloadResponse |
parseFrom(ByteBuffer data) |
static ImportSstpb.DownloadResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.DownloadResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ImportSstpb.DownloadResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.DownloadResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportSstpb.DownloadResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportSstpb.DownloadResponse |
parseFrom(InputStream input) |
static ImportSstpb.DownloadResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportSstpb.DownloadResponse> |
parser() |
ImportSstpb.DownloadResponse.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 RANGE_FIELD_NUMBER
public static final int IS_EMPTY_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int CRC32_FIELD_NUMBER
public static final int LENGTH_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 boolean hasRange()
The actual key range (after rewrite) of the downloaded SST. The range is inclusive in both ends.
.import_sstpb.Range range = 1 [(.gogoproto.nullable) = false];hasRange in interface ImportSstpb.DownloadResponseOrBuilderpublic ImportSstpb.Range getRange()
The actual key range (after rewrite) of the downloaded SST. The range is inclusive in both ends.
.import_sstpb.Range range = 1 [(.gogoproto.nullable) = false];getRange in interface ImportSstpb.DownloadResponseOrBuilderpublic ImportSstpb.RangeOrBuilder getRangeOrBuilder()
The actual key range (after rewrite) of the downloaded SST. The range is inclusive in both ends.
.import_sstpb.Range range = 1 [(.gogoproto.nullable) = false];getRangeOrBuilder in interface ImportSstpb.DownloadResponseOrBuilderpublic boolean getIsEmpty()
Whether the SST is empty. An empty SST is prohibited in TiKV, do not ingest if this field is true. (Deprecated, should be replaced by checking `length == 0` in the future)
bool is_empty = 2;getIsEmpty in interface ImportSstpb.DownloadResponseOrBuilderpublic boolean hasError()
.import_sstpb.Error error = 3;hasError in interface ImportSstpb.DownloadResponseOrBuilderpublic ImportSstpb.Error getError()
.import_sstpb.Error error = 3;getError in interface ImportSstpb.DownloadResponseOrBuilderpublic ImportSstpb.ErrorOrBuilder getErrorOrBuilder()
.import_sstpb.Error error = 3;getErrorOrBuilder in interface ImportSstpb.DownloadResponseOrBuilderpublic int getCrc32()
The CRC32 checksum of the rewritten SST file (implementation can return zero, indicating the CRC32 was not calculated).
uint32 crc32 = 4;getCrc32 in interface ImportSstpb.DownloadResponseOrBuilderpublic long getLength()
The actual length of the rewritten SST file.
uint64 length = 5;getLength in interface ImportSstpb.DownloadResponseOrBuilderpublic 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.DownloadResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportSstpb.DownloadResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportSstpb.DownloadResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportSstpb.DownloadResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportSstpb.DownloadResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportSstpb.DownloadResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportSstpb.DownloadResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportSstpb.DownloadResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportSstpb.DownloadResponse.Builder newBuilder()
public static ImportSstpb.DownloadResponse.Builder newBuilder(ImportSstpb.DownloadResponse prototype)
public ImportSstpb.DownloadResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportSstpb.DownloadResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportSstpb.DownloadResponse getDefaultInstance()
public static com.google.protobuf.Parser<ImportSstpb.DownloadResponse> parser()
public com.google.protobuf.Parser<ImportSstpb.DownloadResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportSstpb.DownloadResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 PingCAP. All rights reserved.