public static final class Personhood.Message.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Personhood.Message.Builder> implements Personhood.MessageOrBuilder
Message represents a message that will be sent to the system.Protobuf type
personhood.Message| Modifier and Type | Method and Description |
|---|---|
Personhood.Message.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Personhood.Message |
build() |
Personhood.Message |
buildPartial() |
Personhood.Message.Builder |
clear() |
Personhood.Message.Builder |
clearAuthor()
Author's coin account for eventual rewards/tips to the author.
|
Personhood.Message.Builder |
clearBalance()
Balance the message has currently left.
|
Personhood.Message.Builder |
clearDate()
Date, as unix-encoded seconds since 1970.
|
Personhood.Message.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Personhood.Message.Builder |
clearId()
ID of the messgae - should be random.
|
Personhood.Message.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Personhood.Message.Builder |
clearPartyiid()
PartyIID - the instance ID of the party this message belongs to
|
Personhood.Message.Builder |
clearReward()
Reward for reading this messgae.
|
Personhood.Message.Builder |
clearSubject()
Subject is one of the fields always visible, even if the client did not
chose to read the message.
|
Personhood.Message.Builder |
clearText()
Text, can be any length of text of the message.
|
Personhood.Message.Builder |
clone() |
com.google.protobuf.ByteString |
getAuthor()
Author's coin account for eventual rewards/tips to the author.
|
long |
getBalance()
Balance the message has currently left.
|
long |
getDate()
Date, as unix-encoded seconds since 1970.
|
Personhood.Message |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getId()
ID of the messgae - should be random.
|
com.google.protobuf.ByteString |
getPartyiid()
PartyIID - the instance ID of the party this message belongs to
|
long |
getReward()
Reward for reading this messgae.
|
String |
getSubject()
Subject is one of the fields always visible, even if the client did not
chose to read the message.
|
com.google.protobuf.ByteString |
getSubjectBytes()
Subject is one of the fields always visible, even if the client did not
chose to read the message.
|
String |
getText()
Text, can be any length of text of the message.
|
com.google.protobuf.ByteString |
getTextBytes()
Text, can be any length of text of the message.
|
boolean |
hasAuthor()
Author's coin account for eventual rewards/tips to the author.
|
boolean |
hasBalance()
Balance the message has currently left.
|
boolean |
hasDate()
Date, as unix-encoded seconds since 1970.
|
boolean |
hasId()
ID of the messgae - should be random.
|
boolean |
hasPartyiid()
PartyIID - the instance ID of the party this message belongs to
|
boolean |
hasReward()
Reward for reading this messgae.
|
boolean |
hasSubject()
Subject is one of the fields always visible, even if the client did not
chose to read the message.
|
boolean |
hasText()
Text, can be any length of text of the message.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Personhood.Message.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Personhood.Message.Builder |
mergeFrom(com.google.protobuf.Message other) |
Personhood.Message.Builder |
mergeFrom(Personhood.Message other) |
Personhood.Message.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Personhood.Message.Builder |
setAuthor(com.google.protobuf.ByteString value)
Author's coin account for eventual rewards/tips to the author.
|
Personhood.Message.Builder |
setBalance(long value)
Balance the message has currently left.
|
Personhood.Message.Builder |
setDate(long value)
Date, as unix-encoded seconds since 1970.
|
Personhood.Message.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Personhood.Message.Builder |
setId(com.google.protobuf.ByteString value)
ID of the messgae - should be random.
|
Personhood.Message.Builder |
setPartyiid(com.google.protobuf.ByteString value)
PartyIID - the instance ID of the party this message belongs to
|
Personhood.Message.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Personhood.Message.Builder |
setReward(long value)
Reward for reading this messgae.
|
Personhood.Message.Builder |
setSubject(String value)
Subject is one of the fields always visible, even if the client did not
chose to read the message.
|
Personhood.Message.Builder |
setSubjectBytes(com.google.protobuf.ByteString value)
Subject is one of the fields always visible, even if the client did not
chose to read the message.
|
Personhood.Message.Builder |
setText(String value)
Text, can be any length of text of the message.
|
Personhood.Message.Builder |
setTextBytes(com.google.protobuf.ByteString value)
Text, can be any length of text of the message.
|
Personhood.Message.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.Message.Builder>public Personhood.Message.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.Message.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.Message.Builder>public Personhood.Message getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Personhood.Message build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Personhood.Message buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Personhood.Message.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.Message.Builder>public Personhood.Message.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.Message.Builder>public Personhood.Message.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.Message.Builder>public Personhood.Message.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.Message.Builder>public Personhood.Message.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.Message.Builder>public Personhood.Message.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.Message.Builder>public Personhood.Message.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Personhood.Message.Builder>public Personhood.Message.Builder mergeFrom(Personhood.Message other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.Message.Builder>public Personhood.Message.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.Message.Builder>IOExceptionpublic boolean hasSubject()
Subject is one of the fields always visible, even if the client did not chose to read the message.
required string subject = 1;hasSubject in interface Personhood.MessageOrBuilderpublic String getSubject()
Subject is one of the fields always visible, even if the client did not chose to read the message.
required string subject = 1;getSubject in interface Personhood.MessageOrBuilderpublic com.google.protobuf.ByteString getSubjectBytes()
Subject is one of the fields always visible, even if the client did not chose to read the message.
required string subject = 1;getSubjectBytes in interface Personhood.MessageOrBuilderpublic Personhood.Message.Builder setSubject(String value)
Subject is one of the fields always visible, even if the client did not chose to read the message.
required string subject = 1;public Personhood.Message.Builder clearSubject()
Subject is one of the fields always visible, even if the client did not chose to read the message.
required string subject = 1;public Personhood.Message.Builder setSubjectBytes(com.google.protobuf.ByteString value)
Subject is one of the fields always visible, even if the client did not chose to read the message.
required string subject = 1;public boolean hasDate()
Date, as unix-encoded seconds since 1970.
required uint64 date = 2;hasDate in interface Personhood.MessageOrBuilderpublic long getDate()
Date, as unix-encoded seconds since 1970.
required uint64 date = 2;getDate in interface Personhood.MessageOrBuilderpublic Personhood.Message.Builder setDate(long value)
Date, as unix-encoded seconds since 1970.
required uint64 date = 2;public Personhood.Message.Builder clearDate()
Date, as unix-encoded seconds since 1970.
required uint64 date = 2;public boolean hasText()
Text, can be any length of text of the message.
required string text = 3;hasText in interface Personhood.MessageOrBuilderpublic String getText()
Text, can be any length of text of the message.
required string text = 3;getText in interface Personhood.MessageOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
Text, can be any length of text of the message.
required string text = 3;getTextBytes in interface Personhood.MessageOrBuilderpublic Personhood.Message.Builder setText(String value)
Text, can be any length of text of the message.
required string text = 3;public Personhood.Message.Builder clearText()
Text, can be any length of text of the message.
required string text = 3;public Personhood.Message.Builder setTextBytes(com.google.protobuf.ByteString value)
Text, can be any length of text of the message.
required string text = 3;public boolean hasAuthor()
Author's coin account for eventual rewards/tips to the author.
required bytes author = 4;hasAuthor in interface Personhood.MessageOrBuilderpublic com.google.protobuf.ByteString getAuthor()
Author's coin account for eventual rewards/tips to the author.
required bytes author = 4;getAuthor in interface Personhood.MessageOrBuilderpublic Personhood.Message.Builder setAuthor(com.google.protobuf.ByteString value)
Author's coin account for eventual rewards/tips to the author.
required bytes author = 4;public Personhood.Message.Builder clearAuthor()
Author's coin account for eventual rewards/tips to the author.
required bytes author = 4;public boolean hasBalance()
Balance the message has currently left.
required uint64 balance = 5;hasBalance in interface Personhood.MessageOrBuilderpublic long getBalance()
Balance the message has currently left.
required uint64 balance = 5;getBalance in interface Personhood.MessageOrBuilderpublic Personhood.Message.Builder setBalance(long value)
Balance the message has currently left.
required uint64 balance = 5;public Personhood.Message.Builder clearBalance()
Balance the message has currently left.
required uint64 balance = 5;public boolean hasReward()
Reward for reading this messgae.
required uint64 reward = 6;hasReward in interface Personhood.MessageOrBuilderpublic long getReward()
Reward for reading this messgae.
required uint64 reward = 6;getReward in interface Personhood.MessageOrBuilderpublic Personhood.Message.Builder setReward(long value)
Reward for reading this messgae.
required uint64 reward = 6;public Personhood.Message.Builder clearReward()
Reward for reading this messgae.
required uint64 reward = 6;public boolean hasId()
ID of the messgae - should be random.
required bytes id = 7;hasId in interface Personhood.MessageOrBuilderpublic com.google.protobuf.ByteString getId()
ID of the messgae - should be random.
required bytes id = 7;getId in interface Personhood.MessageOrBuilderpublic Personhood.Message.Builder setId(com.google.protobuf.ByteString value)
ID of the messgae - should be random.
required bytes id = 7;public Personhood.Message.Builder clearId()
ID of the messgae - should be random.
required bytes id = 7;public boolean hasPartyiid()
PartyIID - the instance ID of the party this message belongs to
required bytes partyiid = 8;hasPartyiid in interface Personhood.MessageOrBuilderpublic com.google.protobuf.ByteString getPartyiid()
PartyIID - the instance ID of the party this message belongs to
required bytes partyiid = 8;getPartyiid in interface Personhood.MessageOrBuilderpublic Personhood.Message.Builder setPartyiid(com.google.protobuf.ByteString value)
PartyIID - the instance ID of the party this message belongs to
required bytes partyiid = 8;public Personhood.Message.Builder clearPartyiid()
PartyIID - the instance ID of the party this message belongs to
required bytes partyiid = 8;public final Personhood.Message.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.Message.Builder>public final Personhood.Message.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Personhood.Message.Builder>Copyright © 2018. All rights reserved.