public final class Posting extends com.google.protobuf.GeneratedMessageV3 implements PostingOrBuilder
dstore.elastic.forum.posting.Posting| Modifier and Type | Class and Description |
|---|---|
static class |
Posting.Builder
Protobuf type
dstore.elastic.forum.posting.Posting |
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 |
AUTHOR_PERSON_ID_FIELD_NUMBER |
static int |
BODY_FIELD_NUMBER |
static int |
DOCUMENT_ID_FIELD_NUMBER |
static int |
FORUM_ID_FIELD_NUMBER |
static int |
HAS_BINARIES_FIELD_NUMBER |
static int |
INDEX_NAME_FIELD_NUMBER |
static int |
LAST_UPDATED_FIELD_NUMBER |
static int |
MAIN_POSTING_ID_FIELD_NUMBER |
static int |
POST_DATE_FIELD_NUMBER |
static int |
POSTING_ID_FIELD_NUMBER |
static int |
PROPERTIES_FIELD_NUMBER |
static int |
REPLY_TO_POSTING_ID_FIELD_NUMBER |
static int |
SCORE_FIELD_NUMBER |
static int |
SUBJECT_FIELD_NUMBER |
static int |
VISIBLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsProperties(int key)
map<int32, .dstore.elastic.Field> properties = 20; |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAuthor()
string author = 5; |
com.google.protobuf.ByteString |
getAuthorBytes()
string author = 5; |
int |
getAuthorPersonId()
int32 author_person_id = 4; |
java.lang.String |
getBody()
string body = 11; |
com.google.protobuf.ByteString |
getBodyBytes()
string body = 11; |
static Posting |
getDefaultInstance() |
Posting |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDocumentId()
string document_id = 32; |
com.google.protobuf.ByteString |
getDocumentIdBytes()
string document_id = 32; |
int |
getForumId()
int32 forum_id = 1; |
boolean |
getHasBinaries()
bool has_binaries = 7; |
java.lang.String |
getIndexName()
string index_name = 31; |
com.google.protobuf.ByteString |
getIndexNameBytes()
string index_name = 31; |
TimestampValue |
getLastUpdated()
.dstore.values.TimestampValue last_updated = 9; |
TimestampValueOrBuilder |
getLastUpdatedOrBuilder()
.dstore.values.TimestampValue last_updated = 9; |
int |
getMainPostingId()
int32 main_posting_id = 12; |
com.google.protobuf.Parser<Posting> |
getParserForType() |
TimestampValue |
getPostDate()
.dstore.values.TimestampValue post_date = 8; |
TimestampValueOrBuilder |
getPostDateOrBuilder()
.dstore.values.TimestampValue post_date = 8; |
int |
getPostingId()
int32 posting_id = 2; |
java.util.Map<java.lang.Integer,Field> |
getProperties()
Deprecated.
|
int |
getPropertiesCount()
map<int32, .dstore.elastic.Field> properties = 20; |
java.util.Map<java.lang.Integer,Field> |
getPropertiesMap()
map<int32, .dstore.elastic.Field> properties = 20; |
Field |
getPropertiesOrDefault(int key,
Field defaultValue)
map<int32, .dstore.elastic.Field> properties = 20; |
Field |
getPropertiesOrThrow(int key)
map<int32, .dstore.elastic.Field> properties = 20; |
int |
getReplyToPostingId()
int32 reply_to_posting_id = 3; |
double |
getScore()
double score = 30; |
int |
getSerializedSize() |
java.lang.String |
getSubject()
string subject = 10; |
com.google.protobuf.ByteString |
getSubjectBytes()
string subject = 10; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
getVisible()
int32 visible = 6; |
int |
hashCode() |
boolean |
hasLastUpdated()
.dstore.values.TimestampValue last_updated = 9; |
boolean |
hasPostDate()
.dstore.values.TimestampValue post_date = 8; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Posting.Builder |
newBuilder() |
static Posting.Builder |
newBuilder(Posting prototype) |
Posting.Builder |
newBuilderForType() |
protected Posting.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Posting |
parseDelimitedFrom(java.io.InputStream input) |
static Posting |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Posting |
parseFrom(byte[] data) |
static Posting |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Posting |
parseFrom(com.google.protobuf.ByteString data) |
static Posting |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Posting |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Posting |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Posting |
parseFrom(java.io.InputStream input) |
static Posting |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Posting> |
parser() |
Posting.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FORUM_ID_FIELD_NUMBER
public static final int POSTING_ID_FIELD_NUMBER
public static final int MAIN_POSTING_ID_FIELD_NUMBER
public static final int REPLY_TO_POSTING_ID_FIELD_NUMBER
public static final int AUTHOR_PERSON_ID_FIELD_NUMBER
public static final int AUTHOR_FIELD_NUMBER
public static final int VISIBLE_FIELD_NUMBER
public static final int HAS_BINARIES_FIELD_NUMBER
public static final int POST_DATE_FIELD_NUMBER
public static final int LAST_UPDATED_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
public static final int INDEX_NAME_FIELD_NUMBER
public static final int DOCUMENT_ID_FIELD_NUMBER
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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getForumId()
int32 forum_id = 1;getForumId in interface PostingOrBuilderpublic int getPostingId()
int32 posting_id = 2;getPostingId in interface PostingOrBuilderpublic int getMainPostingId()
int32 main_posting_id = 12;getMainPostingId in interface PostingOrBuilderpublic int getReplyToPostingId()
int32 reply_to_posting_id = 3;getReplyToPostingId in interface PostingOrBuilderpublic int getAuthorPersonId()
int32 author_person_id = 4;getAuthorPersonId in interface PostingOrBuilderpublic java.lang.String getAuthor()
string author = 5;getAuthor in interface PostingOrBuilderpublic com.google.protobuf.ByteString getAuthorBytes()
string author = 5;getAuthorBytes in interface PostingOrBuilderpublic int getVisible()
int32 visible = 6;getVisible in interface PostingOrBuilderpublic boolean getHasBinaries()
bool has_binaries = 7;getHasBinaries in interface PostingOrBuilderpublic boolean hasPostDate()
.dstore.values.TimestampValue post_date = 8;hasPostDate in interface PostingOrBuilderpublic TimestampValue getPostDate()
.dstore.values.TimestampValue post_date = 8;getPostDate in interface PostingOrBuilderpublic TimestampValueOrBuilder getPostDateOrBuilder()
.dstore.values.TimestampValue post_date = 8;getPostDateOrBuilder in interface PostingOrBuilderpublic boolean hasLastUpdated()
.dstore.values.TimestampValue last_updated = 9;hasLastUpdated in interface PostingOrBuilderpublic TimestampValue getLastUpdated()
.dstore.values.TimestampValue last_updated = 9;getLastUpdated in interface PostingOrBuilderpublic TimestampValueOrBuilder getLastUpdatedOrBuilder()
.dstore.values.TimestampValue last_updated = 9;getLastUpdatedOrBuilder in interface PostingOrBuilderpublic java.lang.String getSubject()
string subject = 10;getSubject in interface PostingOrBuilderpublic com.google.protobuf.ByteString getSubjectBytes()
string subject = 10;getSubjectBytes in interface PostingOrBuilderpublic java.lang.String getBody()
string body = 11;getBody in interface PostingOrBuilderpublic com.google.protobuf.ByteString getBodyBytes()
string body = 11;getBodyBytes in interface PostingOrBuilderpublic int getPropertiesCount()
PostingOrBuildermap<int32, .dstore.elastic.Field> properties = 20;getPropertiesCount in interface PostingOrBuilderpublic boolean containsProperties(int key)
map<int32, .dstore.elastic.Field> properties = 20;containsProperties in interface PostingOrBuilder@Deprecated public java.util.Map<java.lang.Integer,Field> getProperties()
getPropertiesMap() instead.getProperties in interface PostingOrBuilderpublic java.util.Map<java.lang.Integer,Field> getPropertiesMap()
map<int32, .dstore.elastic.Field> properties = 20;getPropertiesMap in interface PostingOrBuilderpublic Field getPropertiesOrDefault(int key, Field defaultValue)
map<int32, .dstore.elastic.Field> properties = 20;getPropertiesOrDefault in interface PostingOrBuilderpublic Field getPropertiesOrThrow(int key)
map<int32, .dstore.elastic.Field> properties = 20;getPropertiesOrThrow in interface PostingOrBuilderpublic double getScore()
double score = 30;getScore in interface PostingOrBuilderpublic java.lang.String getIndexName()
string index_name = 31;getIndexName in interface PostingOrBuilderpublic com.google.protobuf.ByteString getIndexNameBytes()
string index_name = 31;getIndexNameBytes in interface PostingOrBuilderpublic java.lang.String getDocumentId()
string document_id = 32;getDocumentId in interface PostingOrBuilderpublic com.google.protobuf.ByteString getDocumentIdBytes()
string document_id = 32;getDocumentIdBytes in interface PostingOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.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 Posting parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Posting parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Posting parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Posting parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Posting parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Posting parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Posting parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Posting parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Posting parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Posting parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Posting.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Posting.Builder newBuilder()
public static Posting.Builder newBuilder(Posting prototype)
public Posting.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Posting.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Posting getDefaultInstance()
public static com.google.protobuf.Parser<Posting> parser()
public com.google.protobuf.Parser<Posting> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Posting getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder