public static final class Eraftpb.ConfChange.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Eraftpb.ConfChange.Builder> implements Eraftpb.ConfChangeOrBuilder
eraftpb.ConfChange
Modifier and Type | Method and Description |
---|---|
Eraftpb.ConfChange.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Eraftpb.ConfChange |
build() |
Eraftpb.ConfChange |
buildPartial() |
Eraftpb.ConfChange.Builder |
clear() |
Eraftpb.ConfChange.Builder |
clearChangeType()
.eraftpb.ConfChangeType change_type = 2; |
Eraftpb.ConfChange.Builder |
clearContext()
bytes context = 4; |
Eraftpb.ConfChange.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Eraftpb.ConfChange.Builder |
clearId()
uint64 id = 1; |
Eraftpb.ConfChange.Builder |
clearNodeId()
uint64 node_id = 3; |
Eraftpb.ConfChange.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Eraftpb.ConfChange.Builder |
clone() |
Eraftpb.ConfChangeType |
getChangeType()
.eraftpb.ConfChangeType change_type = 2; |
int |
getChangeTypeValue()
.eraftpb.ConfChangeType change_type = 2; |
com.google.protobuf.ByteString |
getContext()
bytes context = 4; |
Eraftpb.ConfChange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
uint64 id = 1; |
long |
getNodeId()
uint64 node_id = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Eraftpb.ConfChange.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Eraftpb.ConfChange.Builder |
mergeFrom(Eraftpb.ConfChange other) |
Eraftpb.ConfChange.Builder |
mergeFrom(com.google.protobuf.Message other) |
Eraftpb.ConfChange.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Eraftpb.ConfChange.Builder |
setChangeType(Eraftpb.ConfChangeType value)
.eraftpb.ConfChangeType change_type = 2; |
Eraftpb.ConfChange.Builder |
setChangeTypeValue(int value)
.eraftpb.ConfChangeType change_type = 2; |
Eraftpb.ConfChange.Builder |
setContext(com.google.protobuf.ByteString value)
bytes context = 4; |
Eraftpb.ConfChange.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Eraftpb.ConfChange.Builder |
setId(long value)
uint64 id = 1; |
Eraftpb.ConfChange.Builder |
setNodeId(long value)
uint64 node_id = 3; |
Eraftpb.ConfChange.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Eraftpb.ConfChange.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<Eraftpb.ConfChange.Builder>
public Eraftpb.ConfChange.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<Eraftpb.ConfChange.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<Eraftpb.ConfChange.Builder>
public Eraftpb.ConfChange getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Eraftpb.ConfChange build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Eraftpb.ConfChange buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Eraftpb.ConfChange.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<Eraftpb.ConfChange.Builder>
public Eraftpb.ConfChange.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<Eraftpb.ConfChange.Builder>
public Eraftpb.ConfChange.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Eraftpb.ConfChange.Builder>
public Eraftpb.ConfChange.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Eraftpb.ConfChange.Builder>
public Eraftpb.ConfChange.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<Eraftpb.ConfChange.Builder>
public Eraftpb.ConfChange.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<Eraftpb.ConfChange.Builder>
public Eraftpb.ConfChange.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Eraftpb.ConfChange.Builder>
public Eraftpb.ConfChange.Builder mergeFrom(Eraftpb.ConfChange other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Eraftpb.ConfChange.Builder>
public Eraftpb.ConfChange.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<Eraftpb.ConfChange.Builder>
IOException
public int getChangeTypeValue()
.eraftpb.ConfChangeType change_type = 2;
getChangeTypeValue
in interface Eraftpb.ConfChangeOrBuilder
public Eraftpb.ConfChange.Builder setChangeTypeValue(int value)
.eraftpb.ConfChangeType change_type = 2;
value
- The enum numeric value on the wire for changeType to set.public Eraftpb.ConfChangeType getChangeType()
.eraftpb.ConfChangeType change_type = 2;
getChangeType
in interface Eraftpb.ConfChangeOrBuilder
public Eraftpb.ConfChange.Builder setChangeType(Eraftpb.ConfChangeType value)
.eraftpb.ConfChangeType change_type = 2;
value
- The changeType to set.public Eraftpb.ConfChange.Builder clearChangeType()
.eraftpb.ConfChangeType change_type = 2;
public long getNodeId()
uint64 node_id = 3;
getNodeId
in interface Eraftpb.ConfChangeOrBuilder
public Eraftpb.ConfChange.Builder setNodeId(long value)
uint64 node_id = 3;
value
- The nodeId to set.public Eraftpb.ConfChange.Builder clearNodeId()
uint64 node_id = 3;
public com.google.protobuf.ByteString getContext()
bytes context = 4;
getContext
in interface Eraftpb.ConfChangeOrBuilder
public Eraftpb.ConfChange.Builder setContext(com.google.protobuf.ByteString value)
bytes context = 4;
value
- The context to set.public Eraftpb.ConfChange.Builder clearContext()
bytes context = 4;
public long getId()
uint64 id = 1;
getId
in interface Eraftpb.ConfChangeOrBuilder
public Eraftpb.ConfChange.Builder setId(long value)
uint64 id = 1;
value
- The id to set.public Eraftpb.ConfChange.Builder clearId()
uint64 id = 1;
public final Eraftpb.ConfChange.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Eraftpb.ConfChange.Builder>
public final Eraftpb.ConfChange.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Eraftpb.ConfChange.Builder>
Copyright © 2024 PingCAP. All rights reserved.