public static interface Personhood.QuestionnaireOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
long |
getBalance()
Balance left for that questionnaire
|
com.google.protobuf.ByteString |
getId()
ID is a random identifier of that questionnaire
|
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
|
List<String> |
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
|
String |
getTitle()
Title of the poll
|
com.google.protobuf.ByteString |
getTitleBytes()
Title of the poll
|
boolean |
hasBalance()
Balance left for that questionnaire
|
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
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasTitle()
Title of the poll
required string title = 1;String getTitle()
Title of the poll
required string title = 1;com.google.protobuf.ByteString getTitleBytes()
Title of the poll
required string title = 1;List<String> getQuestionsList()
Questions is a slice of texts that will be presented
repeated string questions = 2;int getQuestionsCount()
Questions is a slice of texts that will be presented
repeated string questions = 2;String getQuestions(int index)
Questions is a slice of texts that will be presented
repeated string questions = 2;com.google.protobuf.ByteString getQuestionsBytes(int index)
Questions is a slice of texts that will be presented
repeated string questions = 2;boolean hasReplies()
Replies indicates how many answers the player can chose.
required sint32 replies = 3;int getReplies()
Replies indicates how many answers the player can chose.
required sint32 replies = 3;boolean hasBalance()
Balance left for that questionnaire
required uint64 balance = 4;long getBalance()
Balance left for that questionnaire
required uint64 balance = 4;boolean hasReward()
Reward for replying to one questionnaire
required uint64 reward = 5;long getReward()
Reward for replying to one questionnaire
required uint64 reward = 5;boolean hasId()
ID is a random identifier of that questionnaire
required bytes id = 6;com.google.protobuf.ByteString getId()
ID is a random identifier of that questionnaire
required bytes id = 6;Copyright © 2018. All rights reserved.