Package pbx
Class Model.TopicDesc
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Model.TopicDesc,Model.TopicDesc.Builder>
-
- pbx.Model.TopicDesc
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Model.TopicDescOrBuilder
- Enclosing class:
- Model
public static final class Model.TopicDesc extends com.google.protobuf.GeneratedMessageLite<Model.TopicDesc,Model.TopicDesc.Builder> implements Model.TopicDescOrBuilder
Topic description, S2C in Meta message
Protobuf typepbx.TopicDesc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModel.TopicDesc.BuilderTopic description, S2C in Meta message-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intACS_FIELD_NUMBERstatic intCREATED_AT_FIELD_NUMBERstatic intDEFACS_FIELD_NUMBERstatic intDEL_ID_FIELD_NUMBERstatic intIS_CHAN_FIELD_NUMBERstatic intLAST_SEEN_TIME_FIELD_NUMBERstatic intLAST_SEEN_USER_AGENT_FIELD_NUMBERstatic intOWNER_FIELD_NUMBERstatic intPRIVATE_FIELD_NUMBERstatic intPUBLIC_FIELD_NUMBERstatic intREAD_ID_FIELD_NUMBERstatic intRECV_ID_FIELD_NUMBERstatic intSEQ_ID_FIELD_NUMBERstatic intSTATE_AT_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intTOUCHED_AT_FIELD_NUMBERstatic intTRUSTED_FIELD_NUMBERstatic intUPDATED_AT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)Model.AccessModegetAcs().pbx.AccessMode acs = 5 [json_name = "acs"];longgetCreatedAt()int64 created_at = 1 [json_name = "createdAt"];Model.DefaultAcsModegetDefacs().pbx.DefaultAcsMode defacs = 4 [json_name = "defacs"];static Model.TopicDescgetDefaultInstance()intgetDelId()int32 del_id = 9 [json_name = "delId"];booleangetIsChan()17!longgetLastSeenTime()P2P only: other user's last online timestamp & user agentjava.lang.StringgetLastSeenUserAgent()string last_seen_user_agent = 16 [json_name = "lastSeenUserAgent"];com.google.protobuf.ByteStringgetLastSeenUserAgentBytes()string last_seen_user_agent = 16 [json_name = "lastSeenUserAgent"];java.lang.StringgetOwner()owner user id; custom fieldcom.google.protobuf.ByteStringgetOwnerBytes()owner user id; custom fieldcom.google.protobuf.ByteStringgetPrivate()bytes private = 11 [json_name = "private"];com.google.protobuf.ByteStringgetPublic()bytes public = 10 [json_name = "public"];intgetReadId()int32 read_id = 7 [json_name = "readId"];intgetRecvId()int32 recv_id = 8 [json_name = "recvId"];intgetSeqId()int32 seq_id = 6 [json_name = "seqId"];java.lang.StringgetState()string state = 12 [json_name = "state"];longgetStateAt()int64 state_at = 13 [json_name = "stateAt"];com.google.protobuf.ByteStringgetStateBytes()string state = 12 [json_name = "state"];longgetTouchedAt()int64 touched_at = 3 [json_name = "touchedAt"];com.google.protobuf.ByteStringgetTrusted()bytes trusted = 14 [json_name = "trusted"];longgetUpdatedAt()int64 updated_at = 2 [json_name = "updatedAt"];booleanhasAcs().pbx.AccessMode acs = 5 [json_name = "acs"];booleanhasDefacs().pbx.DefaultAcsMode defacs = 4 [json_name = "defacs"];static Model.TopicDesc.BuildernewBuilder()static Model.TopicDesc.BuildernewBuilder(Model.TopicDesc prototype)static Model.TopicDescparseDelimitedFrom(java.io.InputStream input)static Model.TopicDescparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.TopicDescparseFrom(byte[] data)static Model.TopicDescparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.TopicDescparseFrom(com.google.protobuf.ByteString data)static Model.TopicDescparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.TopicDescparseFrom(com.google.protobuf.CodedInputStream input)static Model.TopicDescparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.TopicDescparseFrom(java.io.InputStream input)static Model.TopicDescparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.TopicDescparseFrom(java.nio.ByteBuffer data)static Model.TopicDescparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Model.TopicDesc>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATED_AT_FIELD_NUMBER
public static final int UPDATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOUCHED_AT_FIELD_NUMBER
public static final int TOUCHED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFACS_FIELD_NUMBER
public static final int DEFACS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACS_FIELD_NUMBER
public static final int ACS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQ_ID_FIELD_NUMBER
public static final int SEQ_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READ_ID_FIELD_NUMBER
public static final int READ_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECV_ID_FIELD_NUMBER
public static final int RECV_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEL_ID_FIELD_NUMBER
public static final int DEL_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBLIC_FIELD_NUMBER
public static final int PUBLIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_FIELD_NUMBER
public static final int PRIVATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_AT_FIELD_NUMBER
public static final int STATE_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRUSTED_FIELD_NUMBER
public static final int TRUSTED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_CHAN_FIELD_NUMBER
public static final int IS_CHAN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_SEEN_TIME_FIELD_NUMBER
public static final int LAST_SEEN_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_SEEN_USER_AGENT_FIELD_NUMBER
public static final int LAST_SEEN_USER_AGENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OWNER_FIELD_NUMBER
public static final int OWNER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreatedAt
public long getCreatedAt()
int64 created_at = 1 [json_name = "createdAt"];- Specified by:
getCreatedAtin interfaceModel.TopicDescOrBuilder- Returns:
- The createdAt.
-
getUpdatedAt
public long getUpdatedAt()
int64 updated_at = 2 [json_name = "updatedAt"];- Specified by:
getUpdatedAtin interfaceModel.TopicDescOrBuilder- Returns:
- The updatedAt.
-
getTouchedAt
public long getTouchedAt()
int64 touched_at = 3 [json_name = "touchedAt"];- Specified by:
getTouchedAtin interfaceModel.TopicDescOrBuilder- Returns:
- The touchedAt.
-
hasDefacs
public boolean hasDefacs()
.pbx.DefaultAcsMode defacs = 4 [json_name = "defacs"];- Specified by:
hasDefacsin interfaceModel.TopicDescOrBuilder- Returns:
- Whether the defacs field is set.
-
getDefacs
public Model.DefaultAcsMode getDefacs()
.pbx.DefaultAcsMode defacs = 4 [json_name = "defacs"];- Specified by:
getDefacsin interfaceModel.TopicDescOrBuilder- Returns:
- The defacs.
-
hasAcs
public boolean hasAcs()
.pbx.AccessMode acs = 5 [json_name = "acs"];- Specified by:
hasAcsin interfaceModel.TopicDescOrBuilder- Returns:
- Whether the acs field is set.
-
getAcs
public Model.AccessMode getAcs()
.pbx.AccessMode acs = 5 [json_name = "acs"];- Specified by:
getAcsin interfaceModel.TopicDescOrBuilder- Returns:
- The acs.
-
getSeqId
public int getSeqId()
int32 seq_id = 6 [json_name = "seqId"];- Specified by:
getSeqIdin interfaceModel.TopicDescOrBuilder- Returns:
- The seqId.
-
getReadId
public int getReadId()
int32 read_id = 7 [json_name = "readId"];- Specified by:
getReadIdin interfaceModel.TopicDescOrBuilder- Returns:
- The readId.
-
getRecvId
public int getRecvId()
int32 recv_id = 8 [json_name = "recvId"];- Specified by:
getRecvIdin interfaceModel.TopicDescOrBuilder- Returns:
- The recvId.
-
getDelId
public int getDelId()
int32 del_id = 9 [json_name = "delId"];- Specified by:
getDelIdin interfaceModel.TopicDescOrBuilder- Returns:
- The delId.
-
getPublic
public com.google.protobuf.ByteString getPublic()
bytes public = 10 [json_name = "public"];- Specified by:
getPublicin interfaceModel.TopicDescOrBuilder- Returns:
- The public.
-
getPrivate
public com.google.protobuf.ByteString getPrivate()
bytes private = 11 [json_name = "private"];- Specified by:
getPrivatein interfaceModel.TopicDescOrBuilder- Returns:
- The private.
-
getState
public java.lang.String getState()
string state = 12 [json_name = "state"];- Specified by:
getStatein interfaceModel.TopicDescOrBuilder- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.ByteString getStateBytes()
string state = 12 [json_name = "state"];- Specified by:
getStateBytesin interfaceModel.TopicDescOrBuilder- Returns:
- The bytes for state.
-
getStateAt
public long getStateAt()
int64 state_at = 13 [json_name = "stateAt"];- Specified by:
getStateAtin interfaceModel.TopicDescOrBuilder- Returns:
- The stateAt.
-
getTrusted
public com.google.protobuf.ByteString getTrusted()
bytes trusted = 14 [json_name = "trusted"];- Specified by:
getTrustedin interfaceModel.TopicDescOrBuilder- Returns:
- The trusted.
-
getIsChan
public boolean getIsChan()
17!
bool is_chan = 17 [json_name = "isChan"];- Specified by:
getIsChanin interfaceModel.TopicDescOrBuilder- Returns:
- The isChan.
-
getLastSeenTime
public long getLastSeenTime()
P2P only: other user's last online timestamp & user agent
int64 last_seen_time = 15 [json_name = "lastSeenTime"];- Specified by:
getLastSeenTimein interfaceModel.TopicDescOrBuilder- Returns:
- The lastSeenTime.
-
getLastSeenUserAgent
public java.lang.String getLastSeenUserAgent()
string last_seen_user_agent = 16 [json_name = "lastSeenUserAgent"];- Specified by:
getLastSeenUserAgentin interfaceModel.TopicDescOrBuilder- Returns:
- The lastSeenUserAgent.
-
getLastSeenUserAgentBytes
public com.google.protobuf.ByteString getLastSeenUserAgentBytes()
string last_seen_user_agent = 16 [json_name = "lastSeenUserAgent"];- Specified by:
getLastSeenUserAgentBytesin interfaceModel.TopicDescOrBuilder- Returns:
- The bytes for lastSeenUserAgent.
-
getOwner
public java.lang.String getOwner()
owner user id; custom field
string owner = 1000 [json_name = "owner"];- Specified by:
getOwnerin interfaceModel.TopicDescOrBuilder- Returns:
- The owner.
-
getOwnerBytes
public com.google.protobuf.ByteString getOwnerBytes()
owner user id; custom field
string owner = 1000 [json_name = "owner"];- Specified by:
getOwnerBytesin interfaceModel.TopicDescOrBuilder- Returns:
- The bytes for owner.
-
parseFrom
public static Model.TopicDesc parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicDesc parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicDesc parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicDesc parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicDesc parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicDesc parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicDesc parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Model.TopicDesc parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Model.TopicDesc parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Model.TopicDesc parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Model.TopicDesc parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Model.TopicDesc parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Model.TopicDesc.Builder newBuilder()
-
newBuilder
public static Model.TopicDesc.Builder newBuilder(Model.TopicDesc prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Model.TopicDesc,Model.TopicDesc.Builder>
-
getDefaultInstance
public static Model.TopicDesc getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Model.TopicDesc> parser()
-
-