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, 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 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.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 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.DownloadResponseOrBuilder
public 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.DownloadResponseOrBuilder
public 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.DownloadResponseOrBuilder
public 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.DownloadResponseOrBuilder
public boolean hasError()
.import_sstpb.Error error = 3;
hasError
in interface ImportSstpb.DownloadResponseOrBuilder
public ImportSstpb.Error getError()
.import_sstpb.Error error = 3;
getError
in interface ImportSstpb.DownloadResponseOrBuilder
public ImportSstpb.ErrorOrBuilder getErrorOrBuilder()
.import_sstpb.Error error = 3;
getErrorOrBuilder
in interface ImportSstpb.DownloadResponseOrBuilder
public 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.DownloadResponseOrBuilder
public long getLength()
The actual length of the rewritten SST file.
uint64 length = 5;
getLength
in interface ImportSstpb.DownloadResponseOrBuilder
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.DownloadResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ImportSstpb.DownloadResponse parseFrom(InputStream input) throws IOException
IOException
public static ImportSstpb.DownloadResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ImportSstpb.DownloadResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ImportSstpb.DownloadResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ImportSstpb.DownloadResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ImportSstpb.DownloadResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ImportSstpb.DownloadResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ImportSstpb.DownloadResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ImportSstpb.DownloadResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2024 PingCAP. All rights reserved.