public static final class Personhood.PollStruct.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Personhood.PollStruct.Builder> implements Personhood.PollStructOrBuilder
PollStruct represents one poll with answers.Protobuf type
personhood.PollStruct| Modifier and Type | Method and Description |
|---|---|
Personhood.PollStruct.Builder |
addAllChoices(Iterable<String> values)
repeated string choices = 5; |
Personhood.PollStruct.Builder |
addAllChosen(Iterable<? extends Personhood.PollChoice> values)
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollStruct.Builder |
addChoices(String value)
repeated string choices = 5; |
Personhood.PollStruct.Builder |
addChoicesBytes(com.google.protobuf.ByteString value)
repeated string choices = 5; |
Personhood.PollStruct.Builder |
addChosen(int index,
Personhood.PollChoice.Builder builderForValue)
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollStruct.Builder |
addChosen(int index,
Personhood.PollChoice value)
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollStruct.Builder |
addChosen(Personhood.PollChoice.Builder builderForValue)
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollStruct.Builder |
addChosen(Personhood.PollChoice value)
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollChoice.Builder |
addChosenBuilder()
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollChoice.Builder |
addChosenBuilder(int index)
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollStruct.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Personhood.PollStruct |
build() |
Personhood.PollStruct |
buildPartial() |
Personhood.PollStruct.Builder |
clear() |
Personhood.PollStruct.Builder |
clearChoices()
repeated string choices = 5; |
Personhood.PollStruct.Builder |
clearChosen()
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollStruct.Builder |
clearDescription()
required string description = 4; |
Personhood.PollStruct.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Personhood.PollStruct.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Personhood.PollStruct.Builder |
clearPersonhood()
required bytes personhood = 1; |
Personhood.PollStruct.Builder |
clearPollid()
optional bytes pollid = 2; |
Personhood.PollStruct.Builder |
clearTitle()
required string title = 3; |
Personhood.PollStruct.Builder |
clone() |
String |
getChoices(int index)
repeated string choices = 5; |
com.google.protobuf.ByteString |
getChoicesBytes(int index)
repeated string choices = 5; |
int |
getChoicesCount()
repeated string choices = 5; |
com.google.protobuf.ProtocolStringList |
getChoicesList()
repeated string choices = 5; |
Personhood.PollChoice |
getChosen(int index)
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollChoice.Builder |
getChosenBuilder(int index)
repeated .personhood.PollChoice chosen = 6; |
List<Personhood.PollChoice.Builder> |
getChosenBuilderList()
repeated .personhood.PollChoice chosen = 6; |
int |
getChosenCount()
repeated .personhood.PollChoice chosen = 6; |
List<Personhood.PollChoice> |
getChosenList()
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollChoiceOrBuilder |
getChosenOrBuilder(int index)
repeated .personhood.PollChoice chosen = 6; |
List<? extends Personhood.PollChoiceOrBuilder> |
getChosenOrBuilderList()
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollStruct |
getDefaultInstanceForType() |
String |
getDescription()
required string description = 4; |
com.google.protobuf.ByteString |
getDescriptionBytes()
required string description = 4; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getPersonhood()
required bytes personhood = 1; |
com.google.protobuf.ByteString |
getPollid()
optional bytes pollid = 2; |
String |
getTitle()
required string title = 3; |
com.google.protobuf.ByteString |
getTitleBytes()
required string title = 3; |
boolean |
hasDescription()
required string description = 4; |
boolean |
hasPersonhood()
required bytes personhood = 1; |
boolean |
hasPollid()
optional bytes pollid = 2; |
boolean |
hasTitle()
required string title = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Personhood.PollStruct.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Personhood.PollStruct.Builder |
mergeFrom(com.google.protobuf.Message other) |
Personhood.PollStruct.Builder |
mergeFrom(Personhood.PollStruct other) |
Personhood.PollStruct.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Personhood.PollStruct.Builder |
removeChosen(int index)
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollStruct.Builder |
setChoices(int index,
String value)
repeated string choices = 5; |
Personhood.PollStruct.Builder |
setChosen(int index,
Personhood.PollChoice.Builder builderForValue)
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollStruct.Builder |
setChosen(int index,
Personhood.PollChoice value)
repeated .personhood.PollChoice chosen = 6; |
Personhood.PollStruct.Builder |
setDescription(String value)
required string description = 4; |
Personhood.PollStruct.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
required string description = 4; |
Personhood.PollStruct.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Personhood.PollStruct.Builder |
setPersonhood(com.google.protobuf.ByteString value)
required bytes personhood = 1; |
Personhood.PollStruct.Builder |
setPollid(com.google.protobuf.ByteString value)
optional bytes pollid = 2; |
Personhood.PollStruct.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Personhood.PollStruct.Builder |
setTitle(String value)
required string title = 3; |
Personhood.PollStruct.Builder |
setTitleBytes(com.google.protobuf.ByteString value)
required string title = 3; |
Personhood.PollStruct.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<Personhood.PollStruct.Builder>public Personhood.PollStruct.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.PollStruct.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<Personhood.PollStruct.Builder>public Personhood.PollStruct getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Personhood.PollStruct build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Personhood.PollStruct buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Personhood.PollStruct.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.PollStruct.Builder>public Personhood.PollStruct.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<Personhood.PollStruct.Builder>public Personhood.PollStruct.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.PollStruct.Builder>public Personhood.PollStruct.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.PollStruct.Builder>public Personhood.PollStruct.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<Personhood.PollStruct.Builder>public Personhood.PollStruct.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<Personhood.PollStruct.Builder>public Personhood.PollStruct.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Personhood.PollStruct.Builder>public Personhood.PollStruct.Builder mergeFrom(Personhood.PollStruct other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.PollStruct.Builder>public Personhood.PollStruct.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<Personhood.PollStruct.Builder>IOExceptionpublic boolean hasPersonhood()
required bytes personhood = 1;hasPersonhood in interface Personhood.PollStructOrBuilderpublic com.google.protobuf.ByteString getPersonhood()
required bytes personhood = 1;getPersonhood in interface Personhood.PollStructOrBuilderpublic Personhood.PollStruct.Builder setPersonhood(com.google.protobuf.ByteString value)
required bytes personhood = 1;public Personhood.PollStruct.Builder clearPersonhood()
required bytes personhood = 1;public boolean hasPollid()
optional bytes pollid = 2;hasPollid in interface Personhood.PollStructOrBuilderpublic com.google.protobuf.ByteString getPollid()
optional bytes pollid = 2;getPollid in interface Personhood.PollStructOrBuilderpublic Personhood.PollStruct.Builder setPollid(com.google.protobuf.ByteString value)
optional bytes pollid = 2;public Personhood.PollStruct.Builder clearPollid()
optional bytes pollid = 2;public boolean hasTitle()
required string title = 3;hasTitle in interface Personhood.PollStructOrBuilderpublic String getTitle()
required string title = 3;getTitle in interface Personhood.PollStructOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
required string title = 3;getTitleBytes in interface Personhood.PollStructOrBuilderpublic Personhood.PollStruct.Builder setTitle(String value)
required string title = 3;public Personhood.PollStruct.Builder clearTitle()
required string title = 3;public Personhood.PollStruct.Builder setTitleBytes(com.google.protobuf.ByteString value)
required string title = 3;public boolean hasDescription()
required string description = 4;hasDescription in interface Personhood.PollStructOrBuilderpublic String getDescription()
required string description = 4;getDescription in interface Personhood.PollStructOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
required string description = 4;getDescriptionBytes in interface Personhood.PollStructOrBuilderpublic Personhood.PollStruct.Builder setDescription(String value)
required string description = 4;public Personhood.PollStruct.Builder clearDescription()
required string description = 4;public Personhood.PollStruct.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
required string description = 4;public com.google.protobuf.ProtocolStringList getChoicesList()
repeated string choices = 5;getChoicesList in interface Personhood.PollStructOrBuilderpublic int getChoicesCount()
repeated string choices = 5;getChoicesCount in interface Personhood.PollStructOrBuilderpublic String getChoices(int index)
repeated string choices = 5;getChoices in interface Personhood.PollStructOrBuilderpublic com.google.protobuf.ByteString getChoicesBytes(int index)
repeated string choices = 5;getChoicesBytes in interface Personhood.PollStructOrBuilderpublic Personhood.PollStruct.Builder setChoices(int index, String value)
repeated string choices = 5;public Personhood.PollStruct.Builder addChoices(String value)
repeated string choices = 5;public Personhood.PollStruct.Builder addAllChoices(Iterable<String> values)
repeated string choices = 5;public Personhood.PollStruct.Builder clearChoices()
repeated string choices = 5;public Personhood.PollStruct.Builder addChoicesBytes(com.google.protobuf.ByteString value)
repeated string choices = 5;public List<Personhood.PollChoice> getChosenList()
repeated .personhood.PollChoice chosen = 6;getChosenList in interface Personhood.PollStructOrBuilderpublic int getChosenCount()
repeated .personhood.PollChoice chosen = 6;getChosenCount in interface Personhood.PollStructOrBuilderpublic Personhood.PollChoice getChosen(int index)
repeated .personhood.PollChoice chosen = 6;getChosen in interface Personhood.PollStructOrBuilderpublic Personhood.PollStruct.Builder setChosen(int index, Personhood.PollChoice value)
repeated .personhood.PollChoice chosen = 6;public Personhood.PollStruct.Builder setChosen(int index, Personhood.PollChoice.Builder builderForValue)
repeated .personhood.PollChoice chosen = 6;public Personhood.PollStruct.Builder addChosen(Personhood.PollChoice value)
repeated .personhood.PollChoice chosen = 6;public Personhood.PollStruct.Builder addChosen(int index, Personhood.PollChoice value)
repeated .personhood.PollChoice chosen = 6;public Personhood.PollStruct.Builder addChosen(Personhood.PollChoice.Builder builderForValue)
repeated .personhood.PollChoice chosen = 6;public Personhood.PollStruct.Builder addChosen(int index, Personhood.PollChoice.Builder builderForValue)
repeated .personhood.PollChoice chosen = 6;public Personhood.PollStruct.Builder addAllChosen(Iterable<? extends Personhood.PollChoice> values)
repeated .personhood.PollChoice chosen = 6;public Personhood.PollStruct.Builder clearChosen()
repeated .personhood.PollChoice chosen = 6;public Personhood.PollStruct.Builder removeChosen(int index)
repeated .personhood.PollChoice chosen = 6;public Personhood.PollChoice.Builder getChosenBuilder(int index)
repeated .personhood.PollChoice chosen = 6;public Personhood.PollChoiceOrBuilder getChosenOrBuilder(int index)
repeated .personhood.PollChoice chosen = 6;getChosenOrBuilder in interface Personhood.PollStructOrBuilderpublic List<? extends Personhood.PollChoiceOrBuilder> getChosenOrBuilderList()
repeated .personhood.PollChoice chosen = 6;getChosenOrBuilderList in interface Personhood.PollStructOrBuilderpublic Personhood.PollChoice.Builder addChosenBuilder()
repeated .personhood.PollChoice chosen = 6;public Personhood.PollChoice.Builder addChosenBuilder(int index)
repeated .personhood.PollChoice chosen = 6;public List<Personhood.PollChoice.Builder> getChosenBuilderList()
repeated .personhood.PollChoice chosen = 6;public final Personhood.PollStruct.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.PollStruct.Builder>public final Personhood.PollStruct.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.PollStruct.Builder>Copyright © 2019. All rights reserved.