public static final class Personhood.PollStruct extends com.google.protobuf.GeneratedMessageV3 implements Personhood.PollStructOrBuilder
PollStruct represents one poll with answers.Protobuf type
personhood.PollStruct| Modifier and Type | Class and Description |
|---|---|
static class |
Personhood.PollStruct.Builder
PollStruct represents one poll with answers.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CHOICES_FIELD_NUMBER |
static int |
CHOSEN_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static com.google.protobuf.Parser<Personhood.PollStruct> |
PARSER
Deprecated.
|
static int |
PERSONHOOD_FIELD_NUMBER |
static int |
POLLID_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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; |
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; |
static Personhood.PollStruct |
getDefaultInstance() |
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.Parser<Personhood.PollStruct> |
getParserForType() |
com.google.protobuf.ByteString |
getPersonhood()
required bytes personhood = 1; |
com.google.protobuf.ByteString |
getPollid()
optional bytes pollid = 2; |
int |
getSerializedSize() |
String |
getTitle()
required string title = 3; |
com.google.protobuf.ByteString |
getTitleBytes()
required string title = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDescription()
required string description = 4; |
int |
hashCode() |
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() |
static Personhood.PollStruct.Builder |
newBuilder() |
static Personhood.PollStruct.Builder |
newBuilder(Personhood.PollStruct prototype) |
Personhood.PollStruct.Builder |
newBuilderForType() |
protected Personhood.PollStruct.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Personhood.PollStruct |
parseDelimitedFrom(InputStream input) |
static Personhood.PollStruct |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.PollStruct |
parseFrom(byte[] data) |
static Personhood.PollStruct |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.PollStruct |
parseFrom(ByteBuffer data) |
static Personhood.PollStruct |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.PollStruct |
parseFrom(com.google.protobuf.ByteString data) |
static Personhood.PollStruct |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.PollStruct |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Personhood.PollStruct |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.PollStruct |
parseFrom(InputStream input) |
static Personhood.PollStruct |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Personhood.PollStruct> |
parser() |
Personhood.PollStruct.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PERSONHOOD_FIELD_NUMBER
public static final int POLLID_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int CHOICES_FIELD_NUMBER
public static final int CHOSEN_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Personhood.PollStruct> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 List<Personhood.PollChoice> getChosenList()
repeated .personhood.PollChoice chosen = 6;getChosenList in interface Personhood.PollStructOrBuilderpublic List<? extends Personhood.PollChoiceOrBuilder> getChosenOrBuilderList()
repeated .personhood.PollChoice chosen = 6;getChosenOrBuilderList 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.PollChoiceOrBuilder getChosenOrBuilder(int index)
repeated .personhood.PollChoice chosen = 6;getChosenOrBuilder in interface Personhood.PollStructOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Personhood.PollStruct parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.PollStruct parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.PollStruct parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.PollStruct parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.PollStruct parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.PollStruct parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.PollStruct parseFrom(InputStream input) throws IOException
IOExceptionpublic static Personhood.PollStruct parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Personhood.PollStruct parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Personhood.PollStruct parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Personhood.PollStruct parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Personhood.PollStruct parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Personhood.PollStruct.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Personhood.PollStruct.Builder newBuilder()
public static Personhood.PollStruct.Builder newBuilder(Personhood.PollStruct prototype)
public Personhood.PollStruct.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Personhood.PollStruct.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Personhood.PollStruct getDefaultInstance()
public static com.google.protobuf.Parser<Personhood.PollStruct> parser()
public com.google.protobuf.Parser<Personhood.PollStruct> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Personhood.PollStruct getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019. All rights reserved.