public static final class Pdpb.RecoveryPlan.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.RecoveryPlan.Builder> implements Pdpb.RecoveryPlanOrBuilder
pdpb.RecoveryPlan
Modifier and Type | Method and Description |
---|---|
Pdpb.RecoveryPlan.Builder |
addAllCreates(Iterable<? extends Metapb.Region> values)
repeated .metapb.Region creates = 1; |
Pdpb.RecoveryPlan.Builder |
addAllDeletes(Iterable<? extends Long> values)
repeated uint64 deletes = 3; |
Pdpb.RecoveryPlan.Builder |
addAllUpdates(Iterable<? extends Metapb.Region> values)
repeated .metapb.Region updates = 2; |
Pdpb.RecoveryPlan.Builder |
addCreates(int index,
Metapb.Region.Builder builderForValue)
repeated .metapb.Region creates = 1; |
Pdpb.RecoveryPlan.Builder |
addCreates(int index,
Metapb.Region value)
repeated .metapb.Region creates = 1; |
Pdpb.RecoveryPlan.Builder |
addCreates(Metapb.Region.Builder builderForValue)
repeated .metapb.Region creates = 1; |
Pdpb.RecoveryPlan.Builder |
addCreates(Metapb.Region value)
repeated .metapb.Region creates = 1; |
Metapb.Region.Builder |
addCreatesBuilder()
repeated .metapb.Region creates = 1; |
Metapb.Region.Builder |
addCreatesBuilder(int index)
repeated .metapb.Region creates = 1; |
Pdpb.RecoveryPlan.Builder |
addDeletes(long value)
repeated uint64 deletes = 3; |
Pdpb.RecoveryPlan.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.RecoveryPlan.Builder |
addUpdates(int index,
Metapb.Region.Builder builderForValue)
repeated .metapb.Region updates = 2; |
Pdpb.RecoveryPlan.Builder |
addUpdates(int index,
Metapb.Region value)
repeated .metapb.Region updates = 2; |
Pdpb.RecoveryPlan.Builder |
addUpdates(Metapb.Region.Builder builderForValue)
repeated .metapb.Region updates = 2; |
Pdpb.RecoveryPlan.Builder |
addUpdates(Metapb.Region value)
repeated .metapb.Region updates = 2; |
Metapb.Region.Builder |
addUpdatesBuilder()
repeated .metapb.Region updates = 2; |
Metapb.Region.Builder |
addUpdatesBuilder(int index)
repeated .metapb.Region updates = 2; |
Pdpb.RecoveryPlan |
build() |
Pdpb.RecoveryPlan |
buildPartial() |
Pdpb.RecoveryPlan.Builder |
clear() |
Pdpb.RecoveryPlan.Builder |
clearCreates()
repeated .metapb.Region creates = 1; |
Pdpb.RecoveryPlan.Builder |
clearDeletes()
repeated uint64 deletes = 3; |
Pdpb.RecoveryPlan.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Pdpb.RecoveryPlan.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Pdpb.RecoveryPlan.Builder |
clearUpdates()
repeated .metapb.Region updates = 2; |
Pdpb.RecoveryPlan.Builder |
clone() |
Metapb.Region |
getCreates(int index)
repeated .metapb.Region creates = 1; |
Metapb.Region.Builder |
getCreatesBuilder(int index)
repeated .metapb.Region creates = 1; |
List<Metapb.Region.Builder> |
getCreatesBuilderList()
repeated .metapb.Region creates = 1; |
int |
getCreatesCount()
repeated .metapb.Region creates = 1; |
List<Metapb.Region> |
getCreatesList()
repeated .metapb.Region creates = 1; |
Metapb.RegionOrBuilder |
getCreatesOrBuilder(int index)
repeated .metapb.Region creates = 1; |
List<? extends Metapb.RegionOrBuilder> |
getCreatesOrBuilderList()
repeated .metapb.Region creates = 1; |
Pdpb.RecoveryPlan |
getDefaultInstanceForType() |
long |
getDeletes(int index)
repeated uint64 deletes = 3; |
int |
getDeletesCount()
repeated uint64 deletes = 3; |
List<Long> |
getDeletesList()
repeated uint64 deletes = 3; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Metapb.Region |
getUpdates(int index)
repeated .metapb.Region updates = 2; |
Metapb.Region.Builder |
getUpdatesBuilder(int index)
repeated .metapb.Region updates = 2; |
List<Metapb.Region.Builder> |
getUpdatesBuilderList()
repeated .metapb.Region updates = 2; |
int |
getUpdatesCount()
repeated .metapb.Region updates = 2; |
List<Metapb.Region> |
getUpdatesList()
repeated .metapb.Region updates = 2; |
Metapb.RegionOrBuilder |
getUpdatesOrBuilder(int index)
repeated .metapb.Region updates = 2; |
List<? extends Metapb.RegionOrBuilder> |
getUpdatesOrBuilderList()
repeated .metapb.Region updates = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Pdpb.RecoveryPlan.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Pdpb.RecoveryPlan.Builder |
mergeFrom(com.google.protobuf.Message other) |
Pdpb.RecoveryPlan.Builder |
mergeFrom(Pdpb.RecoveryPlan other) |
Pdpb.RecoveryPlan.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Pdpb.RecoveryPlan.Builder |
removeCreates(int index)
repeated .metapb.Region creates = 1; |
Pdpb.RecoveryPlan.Builder |
removeUpdates(int index)
repeated .metapb.Region updates = 2; |
Pdpb.RecoveryPlan.Builder |
setCreates(int index,
Metapb.Region.Builder builderForValue)
repeated .metapb.Region creates = 1; |
Pdpb.RecoveryPlan.Builder |
setCreates(int index,
Metapb.Region value)
repeated .metapb.Region creates = 1; |
Pdpb.RecoveryPlan.Builder |
setDeletes(int index,
long value)
repeated uint64 deletes = 3; |
Pdpb.RecoveryPlan.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Pdpb.RecoveryPlan.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Pdpb.RecoveryPlan.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Pdpb.RecoveryPlan.Builder |
setUpdates(int index,
Metapb.Region.Builder builderForValue)
repeated .metapb.Region updates = 2; |
Pdpb.RecoveryPlan.Builder |
setUpdates(int index,
Metapb.Region value)
repeated .metapb.Region updates = 2; |
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<Pdpb.RecoveryPlan.Builder>
public Pdpb.RecoveryPlan.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<Pdpb.RecoveryPlan.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<Pdpb.RecoveryPlan.Builder>
public Pdpb.RecoveryPlan getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Pdpb.RecoveryPlan build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.RecoveryPlan buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Pdpb.RecoveryPlan.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<Pdpb.RecoveryPlan.Builder>
public Pdpb.RecoveryPlan.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<Pdpb.RecoveryPlan.Builder>
public Pdpb.RecoveryPlan.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.RecoveryPlan.Builder>
public Pdpb.RecoveryPlan.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.RecoveryPlan.Builder>
public Pdpb.RecoveryPlan.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<Pdpb.RecoveryPlan.Builder>
public Pdpb.RecoveryPlan.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<Pdpb.RecoveryPlan.Builder>
public Pdpb.RecoveryPlan.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Pdpb.RecoveryPlan.Builder>
public Pdpb.RecoveryPlan.Builder mergeFrom(Pdpb.RecoveryPlan other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.RecoveryPlan.Builder>
public Pdpb.RecoveryPlan.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<Pdpb.RecoveryPlan.Builder>
IOException
public List<Metapb.Region> getCreatesList()
repeated .metapb.Region creates = 1;
getCreatesList
in interface Pdpb.RecoveryPlanOrBuilder
public int getCreatesCount()
repeated .metapb.Region creates = 1;
getCreatesCount
in interface Pdpb.RecoveryPlanOrBuilder
public Metapb.Region getCreates(int index)
repeated .metapb.Region creates = 1;
getCreates
in interface Pdpb.RecoveryPlanOrBuilder
public Pdpb.RecoveryPlan.Builder setCreates(int index, Metapb.Region value)
repeated .metapb.Region creates = 1;
public Pdpb.RecoveryPlan.Builder setCreates(int index, Metapb.Region.Builder builderForValue)
repeated .metapb.Region creates = 1;
public Pdpb.RecoveryPlan.Builder addCreates(Metapb.Region value)
repeated .metapb.Region creates = 1;
public Pdpb.RecoveryPlan.Builder addCreates(int index, Metapb.Region value)
repeated .metapb.Region creates = 1;
public Pdpb.RecoveryPlan.Builder addCreates(Metapb.Region.Builder builderForValue)
repeated .metapb.Region creates = 1;
public Pdpb.RecoveryPlan.Builder addCreates(int index, Metapb.Region.Builder builderForValue)
repeated .metapb.Region creates = 1;
public Pdpb.RecoveryPlan.Builder addAllCreates(Iterable<? extends Metapb.Region> values)
repeated .metapb.Region creates = 1;
public Pdpb.RecoveryPlan.Builder clearCreates()
repeated .metapb.Region creates = 1;
public Pdpb.RecoveryPlan.Builder removeCreates(int index)
repeated .metapb.Region creates = 1;
public Metapb.Region.Builder getCreatesBuilder(int index)
repeated .metapb.Region creates = 1;
public Metapb.RegionOrBuilder getCreatesOrBuilder(int index)
repeated .metapb.Region creates = 1;
getCreatesOrBuilder
in interface Pdpb.RecoveryPlanOrBuilder
public List<? extends Metapb.RegionOrBuilder> getCreatesOrBuilderList()
repeated .metapb.Region creates = 1;
getCreatesOrBuilderList
in interface Pdpb.RecoveryPlanOrBuilder
public Metapb.Region.Builder addCreatesBuilder()
repeated .metapb.Region creates = 1;
public Metapb.Region.Builder addCreatesBuilder(int index)
repeated .metapb.Region creates = 1;
public List<Metapb.Region.Builder> getCreatesBuilderList()
repeated .metapb.Region creates = 1;
public List<Metapb.Region> getUpdatesList()
repeated .metapb.Region updates = 2;
getUpdatesList
in interface Pdpb.RecoveryPlanOrBuilder
public int getUpdatesCount()
repeated .metapb.Region updates = 2;
getUpdatesCount
in interface Pdpb.RecoveryPlanOrBuilder
public Metapb.Region getUpdates(int index)
repeated .metapb.Region updates = 2;
getUpdates
in interface Pdpb.RecoveryPlanOrBuilder
public Pdpb.RecoveryPlan.Builder setUpdates(int index, Metapb.Region value)
repeated .metapb.Region updates = 2;
public Pdpb.RecoveryPlan.Builder setUpdates(int index, Metapb.Region.Builder builderForValue)
repeated .metapb.Region updates = 2;
public Pdpb.RecoveryPlan.Builder addUpdates(Metapb.Region value)
repeated .metapb.Region updates = 2;
public Pdpb.RecoveryPlan.Builder addUpdates(int index, Metapb.Region value)
repeated .metapb.Region updates = 2;
public Pdpb.RecoveryPlan.Builder addUpdates(Metapb.Region.Builder builderForValue)
repeated .metapb.Region updates = 2;
public Pdpb.RecoveryPlan.Builder addUpdates(int index, Metapb.Region.Builder builderForValue)
repeated .metapb.Region updates = 2;
public Pdpb.RecoveryPlan.Builder addAllUpdates(Iterable<? extends Metapb.Region> values)
repeated .metapb.Region updates = 2;
public Pdpb.RecoveryPlan.Builder clearUpdates()
repeated .metapb.Region updates = 2;
public Pdpb.RecoveryPlan.Builder removeUpdates(int index)
repeated .metapb.Region updates = 2;
public Metapb.Region.Builder getUpdatesBuilder(int index)
repeated .metapb.Region updates = 2;
public Metapb.RegionOrBuilder getUpdatesOrBuilder(int index)
repeated .metapb.Region updates = 2;
getUpdatesOrBuilder
in interface Pdpb.RecoveryPlanOrBuilder
public List<? extends Metapb.RegionOrBuilder> getUpdatesOrBuilderList()
repeated .metapb.Region updates = 2;
getUpdatesOrBuilderList
in interface Pdpb.RecoveryPlanOrBuilder
public Metapb.Region.Builder addUpdatesBuilder()
repeated .metapb.Region updates = 2;
public Metapb.Region.Builder addUpdatesBuilder(int index)
repeated .metapb.Region updates = 2;
public List<Metapb.Region.Builder> getUpdatesBuilderList()
repeated .metapb.Region updates = 2;
public List<Long> getDeletesList()
repeated uint64 deletes = 3;
getDeletesList
in interface Pdpb.RecoveryPlanOrBuilder
public int getDeletesCount()
repeated uint64 deletes = 3;
getDeletesCount
in interface Pdpb.RecoveryPlanOrBuilder
public long getDeletes(int index)
repeated uint64 deletes = 3;
getDeletes
in interface Pdpb.RecoveryPlanOrBuilder
index
- The index of the element to return.public Pdpb.RecoveryPlan.Builder setDeletes(int index, long value)
repeated uint64 deletes = 3;
index
- The index to set the value at.value
- The deletes to set.public Pdpb.RecoveryPlan.Builder addDeletes(long value)
repeated uint64 deletes = 3;
value
- The deletes to add.public Pdpb.RecoveryPlan.Builder addAllDeletes(Iterable<? extends Long> values)
repeated uint64 deletes = 3;
values
- The deletes to add.public Pdpb.RecoveryPlan.Builder clearDeletes()
repeated uint64 deletes = 3;
public final Pdpb.RecoveryPlan.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.RecoveryPlan.Builder>
public final Pdpb.RecoveryPlan.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Pdpb.RecoveryPlan.Builder>
Copyright © 2024 PingCAP. All rights reserved.