public static final class Personhood.Message extends com.google.protobuf.GeneratedMessageV3 implements Personhood.MessageOrBuilder
Message represents a message that will be sent to the system.Protobuf type
personhood.Message| Modifier and Type | Class and Description |
|---|---|
static class |
Personhood.Message.Builder
Message represents a message that will be sent to the system.
|
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 |
AUTHOR_FIELD_NUMBER |
static int |
BALANCE_FIELD_NUMBER |
static int |
DATE_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static com.google.protobuf.Parser<Personhood.Message> |
PARSER
Deprecated.
|
static int |
PARTYIID_FIELD_NUMBER |
static int |
REWARD_FIELD_NUMBER |
static int |
SUBJECT_FIELD_NUMBER |
static int |
TEXT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static Personhood.Message |
getDefaultInstance() |
Personhood.Message |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getId()
ID of the messgae - should be random.
|
com.google.protobuf.Parser<Personhood.Message> |
getParserForType() |
com.google.protobuf.ByteString |
getPartyiid()
PartyIID - the instance ID of the party this message belongs to
|
long |
getReward()
Reward for reading this messgae.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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() |
static Personhood.Message.Builder |
newBuilder() |
static Personhood.Message.Builder |
newBuilder(Personhood.Message prototype) |
Personhood.Message.Builder |
newBuilderForType() |
protected Personhood.Message.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Personhood.Message |
parseDelimitedFrom(InputStream input) |
static Personhood.Message |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.Message |
parseFrom(byte[] data) |
static Personhood.Message |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.Message |
parseFrom(ByteBuffer data) |
static Personhood.Message |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.Message |
parseFrom(com.google.protobuf.ByteString data) |
static Personhood.Message |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.Message |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Personhood.Message |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Personhood.Message |
parseFrom(InputStream input) |
static Personhood.Message |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Personhood.Message> |
parser() |
Personhood.Message.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 SUBJECT_FIELD_NUMBER
public static final int DATE_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
public static final int AUTHOR_FIELD_NUMBER
public static final int BALANCE_FIELD_NUMBER
public static final int REWARD_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int PARTYIID_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Personhood.Message> 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 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 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 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 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 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 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 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 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 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.Message parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Message parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Message parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Message parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Message parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Message parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Personhood.Message parseFrom(InputStream input) throws IOException
IOExceptionpublic static Personhood.Message parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Personhood.Message parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Personhood.Message parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Personhood.Message parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Personhood.Message parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Personhood.Message.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Personhood.Message.Builder newBuilder()
public static Personhood.Message.Builder newBuilder(Personhood.Message prototype)
public Personhood.Message.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Personhood.Message.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Personhood.Message getDefaultInstance()
public static com.google.protobuf.Parser<Personhood.Message> parser()
public com.google.protobuf.Parser<Personhood.Message> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Personhood.Message getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.