public static final class CandidateList.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder> implements CandidateListOrBuilder
iotextypes.CandidateList| Modifier and Type | Method and Description |
|---|---|
CandidateList.Builder |
addAllCandidates(Iterable<? extends Candidate> values)
repeated .iotextypes.Candidate candidates = 1; |
CandidateList.Builder |
addCandidates(Candidate.Builder builderForValue)
repeated .iotextypes.Candidate candidates = 1; |
CandidateList.Builder |
addCandidates(Candidate value)
repeated .iotextypes.Candidate candidates = 1; |
CandidateList.Builder |
addCandidates(int index,
Candidate.Builder builderForValue)
repeated .iotextypes.Candidate candidates = 1; |
CandidateList.Builder |
addCandidates(int index,
Candidate value)
repeated .iotextypes.Candidate candidates = 1; |
Candidate.Builder |
addCandidatesBuilder()
repeated .iotextypes.Candidate candidates = 1; |
Candidate.Builder |
addCandidatesBuilder(int index)
repeated .iotextypes.Candidate candidates = 1; |
CandidateList.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CandidateList |
build() |
CandidateList |
buildPartial() |
CandidateList.Builder |
clear() |
CandidateList.Builder |
clearCandidates()
repeated .iotextypes.Candidate candidates = 1; |
CandidateList.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CandidateList.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CandidateList.Builder |
clone() |
Candidate |
getCandidates(int index)
repeated .iotextypes.Candidate candidates = 1; |
Candidate.Builder |
getCandidatesBuilder(int index)
repeated .iotextypes.Candidate candidates = 1; |
List<Candidate.Builder> |
getCandidatesBuilderList()
repeated .iotextypes.Candidate candidates = 1; |
int |
getCandidatesCount()
repeated .iotextypes.Candidate candidates = 1; |
List<Candidate> |
getCandidatesList()
repeated .iotextypes.Candidate candidates = 1; |
CandidateOrBuilder |
getCandidatesOrBuilder(int index)
repeated .iotextypes.Candidate candidates = 1; |
List<? extends CandidateOrBuilder> |
getCandidatesOrBuilderList()
repeated .iotextypes.Candidate candidates = 1; |
CandidateList |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CandidateList.Builder |
mergeFrom(CandidateList other) |
CandidateList.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CandidateList.Builder |
mergeFrom(com.google.protobuf.Message other) |
CandidateList.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CandidateList.Builder |
removeCandidates(int index)
repeated .iotextypes.Candidate candidates = 1; |
CandidateList.Builder |
setCandidates(int index,
Candidate.Builder builderForValue)
repeated .iotextypes.Candidate candidates = 1; |
CandidateList.Builder |
setCandidates(int index,
Candidate value)
repeated .iotextypes.Candidate candidates = 1; |
CandidateList.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CandidateList.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CandidateList.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public CandidateList.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public CandidateList getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CandidateList build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CandidateList buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CandidateList.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public CandidateList.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public CandidateList.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public CandidateList.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public CandidateList.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public CandidateList.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public CandidateList.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CandidateList.Builder>public CandidateList.Builder mergeFrom(CandidateList other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public CandidateList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CandidateList.Builder>IOExceptionpublic List<Candidate> getCandidatesList()
repeated .iotextypes.Candidate candidates = 1;getCandidatesList in interface CandidateListOrBuilderpublic int getCandidatesCount()
repeated .iotextypes.Candidate candidates = 1;getCandidatesCount in interface CandidateListOrBuilderpublic Candidate getCandidates(int index)
repeated .iotextypes.Candidate candidates = 1;getCandidates in interface CandidateListOrBuilderpublic CandidateList.Builder setCandidates(int index, Candidate value)
repeated .iotextypes.Candidate candidates = 1;public CandidateList.Builder setCandidates(int index, Candidate.Builder builderForValue)
repeated .iotextypes.Candidate candidates = 1;public CandidateList.Builder addCandidates(Candidate value)
repeated .iotextypes.Candidate candidates = 1;public CandidateList.Builder addCandidates(int index, Candidate value)
repeated .iotextypes.Candidate candidates = 1;public CandidateList.Builder addCandidates(Candidate.Builder builderForValue)
repeated .iotextypes.Candidate candidates = 1;public CandidateList.Builder addCandidates(int index, Candidate.Builder builderForValue)
repeated .iotextypes.Candidate candidates = 1;public CandidateList.Builder addAllCandidates(Iterable<? extends Candidate> values)
repeated .iotextypes.Candidate candidates = 1;public CandidateList.Builder clearCandidates()
repeated .iotextypes.Candidate candidates = 1;public CandidateList.Builder removeCandidates(int index)
repeated .iotextypes.Candidate candidates = 1;public Candidate.Builder getCandidatesBuilder(int index)
repeated .iotextypes.Candidate candidates = 1;public CandidateOrBuilder getCandidatesOrBuilder(int index)
repeated .iotextypes.Candidate candidates = 1;getCandidatesOrBuilder in interface CandidateListOrBuilderpublic List<? extends CandidateOrBuilder> getCandidatesOrBuilderList()
repeated .iotextypes.Candidate candidates = 1;getCandidatesOrBuilderList in interface CandidateListOrBuilderpublic Candidate.Builder addCandidatesBuilder()
repeated .iotextypes.Candidate candidates = 1;public Candidate.Builder addCandidatesBuilder(int index)
repeated .iotextypes.Candidate candidates = 1;public List<Candidate.Builder> getCandidatesBuilderList()
repeated .iotextypes.Candidate candidates = 1;public final CandidateList.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>public final CandidateList.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CandidateList.Builder>Copyright © 2022 IoTeX Group. All rights reserved.