public static final class RaftServerpb.RaftSnapshotData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftSnapshotData.Builder> implements RaftServerpb.RaftSnapshotDataOrBuilder
raft_serverpb.RaftSnapshotData
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<RaftServerpb.RaftSnapshotData.Builder>
public RaftServerpb.RaftSnapshotData.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<RaftServerpb.RaftSnapshotData.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<RaftServerpb.RaftSnapshotData.Builder>
public RaftServerpb.RaftSnapshotData getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RaftServerpb.RaftSnapshotData build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.RaftSnapshotData buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.RaftSnapshotData.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<RaftServerpb.RaftSnapshotData.Builder>
public RaftServerpb.RaftSnapshotData.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<RaftServerpb.RaftSnapshotData.Builder>
public RaftServerpb.RaftSnapshotData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftSnapshotData.Builder>
public RaftServerpb.RaftSnapshotData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftSnapshotData.Builder>
public RaftServerpb.RaftSnapshotData.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<RaftServerpb.RaftSnapshotData.Builder>
public RaftServerpb.RaftSnapshotData.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<RaftServerpb.RaftSnapshotData.Builder>
public RaftServerpb.RaftSnapshotData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftServerpb.RaftSnapshotData.Builder>
public RaftServerpb.RaftSnapshotData.Builder mergeFrom(RaftServerpb.RaftSnapshotData other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftSnapshotData.Builder>
public RaftServerpb.RaftSnapshotData.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<RaftServerpb.RaftSnapshotData.Builder>
IOException
public boolean hasRegion()
.metapb.Region region = 1;
hasRegion
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public Metapb.Region getRegion()
.metapb.Region region = 1;
getRegion
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public RaftServerpb.RaftSnapshotData.Builder setRegion(Metapb.Region value)
.metapb.Region region = 1;
public RaftServerpb.RaftSnapshotData.Builder setRegion(Metapb.Region.Builder builderForValue)
.metapb.Region region = 1;
public RaftServerpb.RaftSnapshotData.Builder mergeRegion(Metapb.Region value)
.metapb.Region region = 1;
public RaftServerpb.RaftSnapshotData.Builder clearRegion()
.metapb.Region region = 1;
public Metapb.Region.Builder getRegionBuilder()
.metapb.Region region = 1;
public Metapb.RegionOrBuilder getRegionOrBuilder()
.metapb.Region region = 1;
getRegionOrBuilder
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public long getFileSize()
uint64 file_size = 2;
getFileSize
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public RaftServerpb.RaftSnapshotData.Builder setFileSize(long value)
uint64 file_size = 2;
value
- The fileSize to set.public RaftServerpb.RaftSnapshotData.Builder clearFileSize()
uint64 file_size = 2;
public List<RaftServerpb.KeyValue> getDataList()
repeated .raft_serverpb.KeyValue data = 3;
getDataList
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public int getDataCount()
repeated .raft_serverpb.KeyValue data = 3;
getDataCount
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public RaftServerpb.KeyValue getData(int index)
repeated .raft_serverpb.KeyValue data = 3;
getData
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public RaftServerpb.RaftSnapshotData.Builder setData(int index, RaftServerpb.KeyValue value)
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.RaftSnapshotData.Builder setData(int index, RaftServerpb.KeyValue.Builder builderForValue)
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.RaftSnapshotData.Builder addData(RaftServerpb.KeyValue value)
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.RaftSnapshotData.Builder addData(int index, RaftServerpb.KeyValue value)
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.RaftSnapshotData.Builder addData(RaftServerpb.KeyValue.Builder builderForValue)
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.RaftSnapshotData.Builder addData(int index, RaftServerpb.KeyValue.Builder builderForValue)
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.RaftSnapshotData.Builder addAllData(Iterable<? extends RaftServerpb.KeyValue> values)
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.RaftSnapshotData.Builder clearData()
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.RaftSnapshotData.Builder removeData(int index)
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.KeyValue.Builder getDataBuilder(int index)
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.KeyValueOrBuilder getDataOrBuilder(int index)
repeated .raft_serverpb.KeyValue data = 3;
getDataOrBuilder
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public List<? extends RaftServerpb.KeyValueOrBuilder> getDataOrBuilderList()
repeated .raft_serverpb.KeyValue data = 3;
getDataOrBuilderList
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public RaftServerpb.KeyValue.Builder addDataBuilder()
repeated .raft_serverpb.KeyValue data = 3;
public RaftServerpb.KeyValue.Builder addDataBuilder(int index)
repeated .raft_serverpb.KeyValue data = 3;
public List<RaftServerpb.KeyValue.Builder> getDataBuilderList()
repeated .raft_serverpb.KeyValue data = 3;
public long getVersion()
uint64 version = 4;
getVersion
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public RaftServerpb.RaftSnapshotData.Builder setVersion(long value)
uint64 version = 4;
value
- The version to set.public RaftServerpb.RaftSnapshotData.Builder clearVersion()
uint64 version = 4;
public boolean hasMeta()
.raft_serverpb.SnapshotMeta meta = 5;
hasMeta
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public RaftServerpb.SnapshotMeta getMeta()
.raft_serverpb.SnapshotMeta meta = 5;
getMeta
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public RaftServerpb.RaftSnapshotData.Builder setMeta(RaftServerpb.SnapshotMeta value)
.raft_serverpb.SnapshotMeta meta = 5;
public RaftServerpb.RaftSnapshotData.Builder setMeta(RaftServerpb.SnapshotMeta.Builder builderForValue)
.raft_serverpb.SnapshotMeta meta = 5;
public RaftServerpb.RaftSnapshotData.Builder mergeMeta(RaftServerpb.SnapshotMeta value)
.raft_serverpb.SnapshotMeta meta = 5;
public RaftServerpb.RaftSnapshotData.Builder clearMeta()
.raft_serverpb.SnapshotMeta meta = 5;
public RaftServerpb.SnapshotMeta.Builder getMetaBuilder()
.raft_serverpb.SnapshotMeta meta = 5;
public RaftServerpb.SnapshotMetaOrBuilder getMetaOrBuilder()
.raft_serverpb.SnapshotMeta meta = 5;
getMetaOrBuilder
in interface RaftServerpb.RaftSnapshotDataOrBuilder
public final RaftServerpb.RaftSnapshotData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftSnapshotData.Builder>
public final RaftServerpb.RaftSnapshotData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.RaftSnapshotData.Builder>
Copyright © 2024 PingCAP. All rights reserved.