public static final class ChecksumResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ChecksumResponse.Builder> implements ChecksumResponseOrBuilder
tipb.ChecksumResponse
Modifier and Type | Method and Description |
---|---|
ChecksumResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChecksumResponse |
build() |
ChecksumResponse |
buildPartial() |
ChecksumResponse.Builder |
clear() |
ChecksumResponse.Builder |
clearChecksum()
optional uint64 checksum = 1 [(.gogoproto.nullable) = false]; |
ChecksumResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ChecksumResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ChecksumResponse.Builder |
clearTotalBytes()
optional uint64 total_bytes = 3 [(.gogoproto.nullable) = false]; |
ChecksumResponse.Builder |
clearTotalKvs()
optional uint64 total_kvs = 2 [(.gogoproto.nullable) = false]; |
ChecksumResponse.Builder |
clone() |
long |
getChecksum()
optional uint64 checksum = 1 [(.gogoproto.nullable) = false]; |
ChecksumResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getTotalBytes()
optional uint64 total_bytes = 3 [(.gogoproto.nullable) = false]; |
long |
getTotalKvs()
optional uint64 total_kvs = 2 [(.gogoproto.nullable) = false]; |
boolean |
hasChecksum()
optional uint64 checksum = 1 [(.gogoproto.nullable) = false]; |
boolean |
hasTotalBytes()
optional uint64 total_bytes = 3 [(.gogoproto.nullable) = false]; |
boolean |
hasTotalKvs()
optional uint64 total_kvs = 2 [(.gogoproto.nullable) = false]; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChecksumResponse.Builder |
mergeFrom(ChecksumResponse other) |
ChecksumResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChecksumResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChecksumResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ChecksumResponse.Builder |
setChecksum(long value)
optional uint64 checksum = 1 [(.gogoproto.nullable) = false]; |
ChecksumResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChecksumResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ChecksumResponse.Builder |
setTotalBytes(long value)
optional uint64 total_bytes = 3 [(.gogoproto.nullable) = false]; |
ChecksumResponse.Builder |
setTotalKvs(long value)
optional uint64 total_kvs = 2 [(.gogoproto.nullable) = false]; |
ChecksumResponse.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<ChecksumResponse.Builder>
public ChecksumResponse.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<ChecksumResponse.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<ChecksumResponse.Builder>
public ChecksumResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ChecksumResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ChecksumResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ChecksumResponse.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<ChecksumResponse.Builder>
public ChecksumResponse.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<ChecksumResponse.Builder>
public ChecksumResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ChecksumResponse.Builder>
public ChecksumResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ChecksumResponse.Builder>
public ChecksumResponse.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<ChecksumResponse.Builder>
public ChecksumResponse.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<ChecksumResponse.Builder>
public ChecksumResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ChecksumResponse.Builder>
public ChecksumResponse.Builder mergeFrom(ChecksumResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ChecksumResponse.Builder>
public ChecksumResponse.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<ChecksumResponse.Builder>
IOException
public boolean hasChecksum()
optional uint64 checksum = 1 [(.gogoproto.nullable) = false];
hasChecksum
in interface ChecksumResponseOrBuilder
public long getChecksum()
optional uint64 checksum = 1 [(.gogoproto.nullable) = false];
getChecksum
in interface ChecksumResponseOrBuilder
public ChecksumResponse.Builder setChecksum(long value)
optional uint64 checksum = 1 [(.gogoproto.nullable) = false];
value
- The checksum to set.public ChecksumResponse.Builder clearChecksum()
optional uint64 checksum = 1 [(.gogoproto.nullable) = false];
public boolean hasTotalKvs()
optional uint64 total_kvs = 2 [(.gogoproto.nullable) = false];
hasTotalKvs
in interface ChecksumResponseOrBuilder
public long getTotalKvs()
optional uint64 total_kvs = 2 [(.gogoproto.nullable) = false];
getTotalKvs
in interface ChecksumResponseOrBuilder
public ChecksumResponse.Builder setTotalKvs(long value)
optional uint64 total_kvs = 2 [(.gogoproto.nullable) = false];
value
- The totalKvs to set.public ChecksumResponse.Builder clearTotalKvs()
optional uint64 total_kvs = 2 [(.gogoproto.nullable) = false];
public boolean hasTotalBytes()
optional uint64 total_bytes = 3 [(.gogoproto.nullable) = false];
hasTotalBytes
in interface ChecksumResponseOrBuilder
public long getTotalBytes()
optional uint64 total_bytes = 3 [(.gogoproto.nullable) = false];
getTotalBytes
in interface ChecksumResponseOrBuilder
public ChecksumResponse.Builder setTotalBytes(long value)
optional uint64 total_bytes = 3 [(.gogoproto.nullable) = false];
value
- The totalBytes to set.public ChecksumResponse.Builder clearTotalBytes()
optional uint64 total_bytes = 3 [(.gogoproto.nullable) = false];
public final ChecksumResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ChecksumResponse.Builder>
public final ChecksumResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ChecksumResponse.Builder>
Copyright © 2024 PingCAP. All rights reserved.