public static final class Personhood.Questionnaire extends com.google.protobuf.GeneratedMessageV3 implements Personhood.QuestionnaireOrBuilder
Questionnaire represents one poll that will be sent to candidates.Protobuf type
personhood.Questionnaire| Modifier and Type | Class and Description |
|---|---|
static class |
Personhood.Questionnaire.Builder
Questionnaire represents one poll that will be sent to candidates.
|
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 |
BALANCE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static com.google.protobuf.Parser<Personhood.Questionnaire> |
PARSER
Deprecated.
|
static int |
QUESTIONS_FIELD_NUMBER |
static int |
REPLIES_FIELD_NUMBER |
static int |
REWARD_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getBalance()
Balance left for that questionnaire
|
static Personhood.Questionnaire |
getDefaultInstance() |
Personhood.Questionnaire |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getId()
ID is a random identifier of that questionnaire
|
com.google.protobuf.Parser<Personhood.Questionnaire> |
getParserForType() |
String |
getQuestions(int index)
Questions is a slice of texts that will be presented
|
com.google.protobuf.ByteString |
getQuestionsBytes(int index)
Questions is a slice of texts that will be presented
|
int |
getQuestionsCount()
Questions is a slice of texts that will be presented
|
com.google.protobuf.ProtocolStringList |
getQuestionsList()
Questions is a slice of texts that will be presented
|
int |
getReplies()
Replies indicates how many answers the player can chose.
|
long |
getReward()
Reward for replying to one questionnaire
|
int |
getSerializedSize() |
String |
getTitle()
Title of the poll
|
com.google.protobuf.ByteString |
getTitleBytes()
Title of the poll
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBalance()
Balance left for that questionnaire
|
int |
hashCode() |
boolean |
hasId()
ID is a random identifier of that questionnaire
|
boolean |
hasReplies()
Replies indicates how many answers the player can chose.
|
boolean |
hasReward()
Reward for replying to one questionnaire
|
boolean |
hasTitle()
Title of the poll
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Personhood.Questionnaire.Builder |
newBuilder() |
static Personhood.Questionnaire.Builder |
newBuilder(Personhood.Questionnaire prototype) |
Personhood.Questionnaire.Builder |
newBuilderForType() |
protected Personhood.Questionnaire.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Personhood.Questionnaire |
parseDelimitedFrom(InputStream input) |
static Personhood.Questionnaire |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.Questionnaire |
parseFrom(byte[] data) |
static Personhood.Questionnaire |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.Questionnaire |
parseFrom(ByteBuffer data) |
static Personhood.Questionnaire |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.Questionnaire |
parseFrom(com.google.protobuf.ByteString data) |
static Personhood.Questionnaire |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.Questionnaire |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Personhood.Questionnaire |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.Questionnaire |
parseFrom(InputStream input) |
static Personhood.Questionnaire |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Personhood.Questionnaire> |
parser() |
Personhood.Questionnaire.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 TITLE_FIELD_NUMBER
public static final int QUESTIONS_FIELD_NUMBER
public static final int REPLIES_FIELD_NUMBER
public static final int BALANCE_FIELD_NUMBER
public static final int REWARD_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Personhood.Questionnaire> 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 hasTitle()
Title of the poll
required string title = 1;hasTitle in interface Personhood.QuestionnaireOrBuilderpublic String getTitle()
Title of the poll
required string title = 1;getTitle in interface Personhood.QuestionnaireOrBuilderpublic com.google.protobuf.ByteString getTitleBytes()
Title of the poll
required string title = 1;getTitleBytes in interface Personhood.QuestionnaireOrBuilderpublic com.google.protobuf.ProtocolStringList getQuestionsList()
Questions is a slice of texts that will be presented
repeated string questions = 2;getQuestionsList in interface Personhood.QuestionnaireOrBuilderpublic int getQuestionsCount()
Questions is a slice of texts that will be presented
repeated string questions = 2;getQuestionsCount in interface Personhood.QuestionnaireOrBuilderpublic String getQuestions(int index)
Questions is a slice of texts that will be presented
repeated string questions = 2;getQuestions in interface Personhood.QuestionnaireOrBuilderpublic com.google.protobuf.ByteString getQuestionsBytes(int index)
Questions is a slice of texts that will be presented
repeated string questions = 2;getQuestionsBytes in interface Personhood.QuestionnaireOrBuilderpublic boolean hasReplies()
Replies indicates how many answers the player can chose.
required sint32 replies = 3;hasReplies in interface Personhood.QuestionnaireOrBuilderpublic int getReplies()
Replies indicates how many answers the player can chose.
required sint32 replies = 3;getReplies in interface Personhood.QuestionnaireOrBuilderpublic boolean hasBalance()
Balance left for that questionnaire
required uint64 balance = 4;hasBalance in interface Personhood.QuestionnaireOrBuilderpublic long getBalance()
Balance left for that questionnaire
required uint64 balance = 4;getBalance in interface Personhood.QuestionnaireOrBuilderpublic boolean hasReward()
Reward for replying to one questionnaire
required uint64 reward = 5;hasReward in interface Personhood.QuestionnaireOrBuilderpublic long getReward()
Reward for replying to one questionnaire
required uint64 reward = 5;getReward in interface Personhood.QuestionnaireOrBuilderpublic boolean hasId()
ID is a random identifier of that questionnaire
required bytes id = 6;hasId in interface Personhood.QuestionnaireOrBuilderpublic com.google.protobuf.ByteString getId()
ID is a random identifier of that questionnaire
required bytes id = 6;getId in interface Personhood.QuestionnaireOrBuilderpublic 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.Questionnaire parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Questionnaire parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Questionnaire parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Questionnaire parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Questionnaire parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Questionnaire parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Questionnaire parseFrom(InputStream input) throws IOException
IOExceptionpublic static Personhood.Questionnaire parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Personhood.Questionnaire parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Personhood.Questionnaire parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Personhood.Questionnaire parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Personhood.Questionnaire parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Personhood.Questionnaire.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Personhood.Questionnaire.Builder newBuilder()
public static Personhood.Questionnaire.Builder newBuilder(Personhood.Questionnaire prototype)
public Personhood.Questionnaire.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Personhood.Questionnaire.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Personhood.Questionnaire getDefaultInstance()
public static com.google.protobuf.Parser<Personhood.Questionnaire> parser()
public com.google.protobuf.Parser<Personhood.Questionnaire> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Personhood.Questionnaire getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.