public static final class RaftServerpb.SnapshotMeta.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.SnapshotMeta.Builder> implements RaftServerpb.SnapshotMetaOrBuilder
raft_serverpb.SnapshotMeta
Modifier and Type | Method and Description |
---|---|
RaftServerpb.SnapshotMeta.Builder |
addAllCfFiles(Iterable<? extends RaftServerpb.SnapshotCFFile> values)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotMeta.Builder |
addCfFiles(int index,
RaftServerpb.SnapshotCFFile.Builder builderForValue)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotMeta.Builder |
addCfFiles(int index,
RaftServerpb.SnapshotCFFile value)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotMeta.Builder |
addCfFiles(RaftServerpb.SnapshotCFFile.Builder builderForValue)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotMeta.Builder |
addCfFiles(RaftServerpb.SnapshotCFFile value)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotCFFile.Builder |
addCfFilesBuilder()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotCFFile.Builder |
addCfFilesBuilder(int index)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotMeta.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftServerpb.SnapshotMeta |
build() |
RaftServerpb.SnapshotMeta |
buildPartial() |
RaftServerpb.SnapshotMeta.Builder |
clear() |
RaftServerpb.SnapshotMeta.Builder |
clearCfFiles()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotMeta.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RaftServerpb.SnapshotMeta.Builder |
clearForBalance()
true means this snapshot is triggered for load balance
|
RaftServerpb.SnapshotMeta.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RaftServerpb.SnapshotMeta.Builder |
clone() |
RaftServerpb.SnapshotCFFile |
getCfFiles(int index)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotCFFile.Builder |
getCfFilesBuilder(int index)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
List<RaftServerpb.SnapshotCFFile.Builder> |
getCfFilesBuilderList()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
int |
getCfFilesCount()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
List<RaftServerpb.SnapshotCFFile> |
getCfFilesList()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotCFFileOrBuilder |
getCfFilesOrBuilder(int index)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
List<? extends RaftServerpb.SnapshotCFFileOrBuilder> |
getCfFilesOrBuilderList()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotMeta |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getForBalance()
true means this snapshot is triggered for load balance
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RaftServerpb.SnapshotMeta.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RaftServerpb.SnapshotMeta.Builder |
mergeFrom(com.google.protobuf.Message other) |
RaftServerpb.SnapshotMeta.Builder |
mergeFrom(RaftServerpb.SnapshotMeta other) |
RaftServerpb.SnapshotMeta.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RaftServerpb.SnapshotMeta.Builder |
removeCfFiles(int index)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotMeta.Builder |
setCfFiles(int index,
RaftServerpb.SnapshotCFFile.Builder builderForValue)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotMeta.Builder |
setCfFiles(int index,
RaftServerpb.SnapshotCFFile value)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1; |
RaftServerpb.SnapshotMeta.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RaftServerpb.SnapshotMeta.Builder |
setForBalance(boolean value)
true means this snapshot is triggered for load balance
|
RaftServerpb.SnapshotMeta.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RaftServerpb.SnapshotMeta.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<RaftServerpb.SnapshotMeta.Builder>
public RaftServerpb.SnapshotMeta.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.SnapshotMeta.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.SnapshotMeta.Builder>
public RaftServerpb.SnapshotMeta getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RaftServerpb.SnapshotMeta build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.SnapshotMeta buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RaftServerpb.SnapshotMeta.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.SnapshotMeta.Builder>
public RaftServerpb.SnapshotMeta.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.SnapshotMeta.Builder>
public RaftServerpb.SnapshotMeta.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.SnapshotMeta.Builder>
public RaftServerpb.SnapshotMeta.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.SnapshotMeta.Builder>
public RaftServerpb.SnapshotMeta.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.SnapshotMeta.Builder>
public RaftServerpb.SnapshotMeta.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.SnapshotMeta.Builder>
public RaftServerpb.SnapshotMeta.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RaftServerpb.SnapshotMeta.Builder>
public RaftServerpb.SnapshotMeta.Builder mergeFrom(RaftServerpb.SnapshotMeta other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.SnapshotMeta.Builder>
public RaftServerpb.SnapshotMeta.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.SnapshotMeta.Builder>
IOException
public List<RaftServerpb.SnapshotCFFile> getCfFilesList()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
getCfFilesList
in interface RaftServerpb.SnapshotMetaOrBuilder
public int getCfFilesCount()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
getCfFilesCount
in interface RaftServerpb.SnapshotMetaOrBuilder
public RaftServerpb.SnapshotCFFile getCfFiles(int index)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
getCfFiles
in interface RaftServerpb.SnapshotMetaOrBuilder
public RaftServerpb.SnapshotMeta.Builder setCfFiles(int index, RaftServerpb.SnapshotCFFile value)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotMeta.Builder setCfFiles(int index, RaftServerpb.SnapshotCFFile.Builder builderForValue)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotMeta.Builder addCfFiles(RaftServerpb.SnapshotCFFile value)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotMeta.Builder addCfFiles(int index, RaftServerpb.SnapshotCFFile value)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotMeta.Builder addCfFiles(RaftServerpb.SnapshotCFFile.Builder builderForValue)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotMeta.Builder addCfFiles(int index, RaftServerpb.SnapshotCFFile.Builder builderForValue)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotMeta.Builder addAllCfFiles(Iterable<? extends RaftServerpb.SnapshotCFFile> values)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotMeta.Builder clearCfFiles()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotMeta.Builder removeCfFiles(int index)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotCFFile.Builder getCfFilesBuilder(int index)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotCFFileOrBuilder getCfFilesOrBuilder(int index)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
getCfFilesOrBuilder
in interface RaftServerpb.SnapshotMetaOrBuilder
public List<? extends RaftServerpb.SnapshotCFFileOrBuilder> getCfFilesOrBuilderList()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
getCfFilesOrBuilderList
in interface RaftServerpb.SnapshotMetaOrBuilder
public RaftServerpb.SnapshotCFFile.Builder addCfFilesBuilder()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public RaftServerpb.SnapshotCFFile.Builder addCfFilesBuilder(int index)
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public List<RaftServerpb.SnapshotCFFile.Builder> getCfFilesBuilderList()
repeated .raft_serverpb.SnapshotCFFile cf_files = 1;
public boolean getForBalance()
true means this snapshot is triggered for load balance
bool for_balance = 2;
getForBalance
in interface RaftServerpb.SnapshotMetaOrBuilder
public RaftServerpb.SnapshotMeta.Builder setForBalance(boolean value)
true means this snapshot is triggered for load balance
bool for_balance = 2;
value
- The forBalance to set.public RaftServerpb.SnapshotMeta.Builder clearForBalance()
true means this snapshot is triggered for load balance
bool for_balance = 2;
public final RaftServerpb.SnapshotMeta.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.SnapshotMeta.Builder>
public final RaftServerpb.SnapshotMeta.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RaftServerpb.SnapshotMeta.Builder>
Copyright © 2024 PingCAP. All rights reserved.