public static final class ImportSstpb.DownloadResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.DownloadResponse.Builder> implements ImportSstpb.DownloadResponseOrBuilder
import_sstpb.DownloadResponse
Modifier and Type | Method and Description |
---|---|
ImportSstpb.DownloadResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportSstpb.DownloadResponse |
build() |
ImportSstpb.DownloadResponse |
buildPartial() |
ImportSstpb.DownloadResponse.Builder |
clear() |
ImportSstpb.DownloadResponse.Builder |
clearCrc32()
The CRC32 checksum of the rewritten SST file (implementation can return
zero, indicating the CRC32 was not calculated).
|
ImportSstpb.DownloadResponse.Builder |
clearError()
.import_sstpb.Error error = 3; |
ImportSstpb.DownloadResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ImportSstpb.DownloadResponse.Builder |
clearIsEmpty()
Whether the SST is empty.
|
ImportSstpb.DownloadResponse.Builder |
clearLength()
The actual length of the rewritten SST file.
|
ImportSstpb.DownloadResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ImportSstpb.DownloadResponse.Builder |
clearRange()
The actual key range (after rewrite) of the downloaded SST.
|
ImportSstpb.DownloadResponse.Builder |
clone() |
int |
getCrc32()
The CRC32 checksum of the rewritten SST file (implementation can return
zero, indicating the CRC32 was not calculated).
|
ImportSstpb.DownloadResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ImportSstpb.Error |
getError()
.import_sstpb.Error error = 3; |
ImportSstpb.Error.Builder |
getErrorBuilder()
.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.
|
ImportSstpb.Range |
getRange()
The actual key range (after rewrite) of the downloaded SST.
|
ImportSstpb.Range.Builder |
getRangeBuilder()
The actual key range (after rewrite) of the downloaded SST.
|
ImportSstpb.RangeOrBuilder |
getRangeOrBuilder()
The actual key range (after rewrite) of the downloaded SST.
|
boolean |
hasError()
.import_sstpb.Error error = 3; |
boolean |
hasRange()
The actual key range (after rewrite) of the downloaded SST.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ImportSstpb.DownloadResponse.Builder |
mergeError(ImportSstpb.Error value)
.import_sstpb.Error error = 3; |
ImportSstpb.DownloadResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ImportSstpb.DownloadResponse.Builder |
mergeFrom(ImportSstpb.DownloadResponse other) |
ImportSstpb.DownloadResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ImportSstpb.DownloadResponse.Builder |
mergeRange(ImportSstpb.Range value)
The actual key range (after rewrite) of the downloaded SST.
|
ImportSstpb.DownloadResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportSstpb.DownloadResponse.Builder |
setCrc32(int value)
The CRC32 checksum of the rewritten SST file (implementation can return
zero, indicating the CRC32 was not calculated).
|
ImportSstpb.DownloadResponse.Builder |
setError(ImportSstpb.Error.Builder builderForValue)
.import_sstpb.Error error = 3; |
ImportSstpb.DownloadResponse.Builder |
setError(ImportSstpb.Error value)
.import_sstpb.Error error = 3; |
ImportSstpb.DownloadResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportSstpb.DownloadResponse.Builder |
setIsEmpty(boolean value)
Whether the SST is empty.
|
ImportSstpb.DownloadResponse.Builder |
setLength(long value)
The actual length of the rewritten SST file.
|
ImportSstpb.DownloadResponse.Builder |
setRange(ImportSstpb.Range.Builder builderForValue)
The actual key range (after rewrite) of the downloaded SST.
|
ImportSstpb.DownloadResponse.Builder |
setRange(ImportSstpb.Range value)
The actual key range (after rewrite) of the downloaded SST.
|
ImportSstpb.DownloadResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ImportSstpb.DownloadResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.DownloadResponse.Builder>
public ImportSstpb.DownloadResponse.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.DownloadResponse.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.DownloadResponse.Builder>
public ImportSstpb.DownloadResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ImportSstpb.DownloadResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ImportSstpb.DownloadResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ImportSstpb.DownloadResponse.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.DownloadResponse.Builder>
public ImportSstpb.DownloadResponse.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.DownloadResponse.Builder>
public ImportSstpb.DownloadResponse.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.DownloadResponse.Builder>
public ImportSstpb.DownloadResponse.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.DownloadResponse.Builder>
public ImportSstpb.DownloadResponse.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.DownloadResponse.Builder>
public ImportSstpb.DownloadResponse.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.DownloadResponse.Builder>
public ImportSstpb.DownloadResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ImportSstpb.DownloadResponse.Builder>
public ImportSstpb.DownloadResponse.Builder mergeFrom(ImportSstpb.DownloadResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.DownloadResponse.Builder>
public ImportSstpb.DownloadResponse.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.DownloadResponse.Builder>
IOException
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.DownloadResponse.Builder setRange(ImportSstpb.Range value)
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];
public ImportSstpb.DownloadResponse.Builder setRange(ImportSstpb.Range.Builder builderForValue)
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];
public ImportSstpb.DownloadResponse.Builder mergeRange(ImportSstpb.Range value)
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];
public ImportSstpb.DownloadResponse.Builder clearRange()
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];
public ImportSstpb.Range.Builder getRangeBuilder()
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];
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 ImportSstpb.DownloadResponse.Builder setIsEmpty(boolean value)
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;
value
- The isEmpty to set.public ImportSstpb.DownloadResponse.Builder clearIsEmpty()
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;
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.DownloadResponse.Builder setError(ImportSstpb.Error value)
.import_sstpb.Error error = 3;
public ImportSstpb.DownloadResponse.Builder setError(ImportSstpb.Error.Builder builderForValue)
.import_sstpb.Error error = 3;
public ImportSstpb.DownloadResponse.Builder mergeError(ImportSstpb.Error value)
.import_sstpb.Error error = 3;
public ImportSstpb.DownloadResponse.Builder clearError()
.import_sstpb.Error error = 3;
public ImportSstpb.Error.Builder getErrorBuilder()
.import_sstpb.Error error = 3;
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 ImportSstpb.DownloadResponse.Builder setCrc32(int value)
The CRC32 checksum of the rewritten SST file (implementation can return zero, indicating the CRC32 was not calculated).
uint32 crc32 = 4;
value
- The crc32 to set.public ImportSstpb.DownloadResponse.Builder clearCrc32()
The CRC32 checksum of the rewritten SST file (implementation can return zero, indicating the CRC32 was not calculated).
uint32 crc32 = 4;
public long getLength()
The actual length of the rewritten SST file.
uint64 length = 5;
getLength
in interface ImportSstpb.DownloadResponseOrBuilder
public ImportSstpb.DownloadResponse.Builder setLength(long value)
The actual length of the rewritten SST file.
uint64 length = 5;
value
- The length to set.public ImportSstpb.DownloadResponse.Builder clearLength()
The actual length of the rewritten SST file.
uint64 length = 5;
public final ImportSstpb.DownloadResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.DownloadResponse.Builder>
public final ImportSstpb.DownloadResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ImportSstpb.DownloadResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.