Package pbx
Class Model.TopicSub
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Model.TopicSub,Model.TopicSub.Builder>
-
- pbx.Model.TopicSub
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,Model.TopicSubOrBuilder
- Enclosing class:
- Model
public static final class Model.TopicSub extends com.google.protobuf.GeneratedMessageLite<Model.TopicSub,Model.TopicSub.Builder> implements Model.TopicSubOrBuilder
MsgTopicSub: topic subscription details, sent in Meta message
Protobuf typepbx.TopicSub
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModel.TopicSub.BuilderMsgTopicSub: topic subscription details, sent 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 intDEL_ID_FIELD_NUMBERstatic intDELETED_AT_FIELD_NUMBERstatic intLAST_SEEN_TIME_FIELD_NUMBERstatic intLAST_SEEN_USER_AGENT_FIELD_NUMBERstatic intONLINE_FIELD_NUMBERstatic intPRIVATE_FIELD_NUMBERstatic intPUBLIC_FIELD_NUMBERstatic intREAD_ID_FIELD_NUMBERstatic intRECV_ID_FIELD_NUMBERstatic intSEQ_ID_FIELD_NUMBERstatic intTOPIC_FIELD_NUMBERstatic intTOUCHED_AT_FIELD_NUMBERstatic intTRUSTED_FIELD_NUMBERstatic intUPDATED_AT_FIELD_NUMBERstatic intUSER_ID_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 = 4 [json_name = "acs"];longgetCreatedAt()int64 created_at = 17 [json_name = "createdAt"];static Model.TopicSubgetDefaultInstance()longgetDeletedAt()int64 deleted_at = 2 [json_name = "deletedAt"];intgetDelId()Messages are deleted up to this IDlonggetLastSeenTime()Other user's last online timestamp & user agentjava.lang.StringgetLastSeenUserAgent()string last_seen_user_agent = 15 [json_name = "lastSeenUserAgent"];com.google.protobuf.ByteStringgetLastSeenUserAgentBytes()string last_seen_user_agent = 15 [json_name = "lastSeenUserAgent"];booleangetOnline()bool online = 3 [json_name = "online"];com.google.protobuf.ByteStringgetPrivate()bytes private = 8 [json_name = "private"];com.google.protobuf.ByteStringgetPublic()bytes public = 7 [json_name = "public"];intgetReadId()int32 read_id = 5 [json_name = "readId"];intgetRecvId()int32 recv_id = 6 [json_name = "recvId"];intgetSeqId()ID of the last {data} message in a topicjava.lang.StringgetTopic()Topic name of this subscriptioncom.google.protobuf.ByteStringgetTopicBytes()Topic name of this subscriptionlonggetTouchedAt()int64 touched_at = 11 [json_name = "touchedAt"];com.google.protobuf.ByteStringgetTrusted()16!longgetUpdatedAt()int64 updated_at = 1 [json_name = "updatedAt"];java.lang.StringgetUserId()Uid of the subscribed usercom.google.protobuf.ByteStringgetUserIdBytes()Uid of the subscribed userbooleanhasAcs().pbx.AccessMode acs = 4 [json_name = "acs"];static Model.TopicSub.BuildernewBuilder()static Model.TopicSub.BuildernewBuilder(Model.TopicSub prototype)static Model.TopicSubparseDelimitedFrom(java.io.InputStream input)static Model.TopicSubparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.TopicSubparseFrom(byte[] data)static Model.TopicSubparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.TopicSubparseFrom(com.google.protobuf.ByteString data)static Model.TopicSubparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.TopicSubparseFrom(com.google.protobuf.CodedInputStream input)static Model.TopicSubparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.TopicSubparseFrom(java.io.InputStream input)static Model.TopicSubparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Model.TopicSubparseFrom(java.nio.ByteBuffer data)static Model.TopicSubparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Model.TopicSub>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
-
UPDATED_AT_FIELD_NUMBER
public static final int UPDATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELETED_AT_FIELD_NUMBER
public static final int DELETED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ONLINE_FIELD_NUMBER
public static final int ONLINE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACS_FIELD_NUMBER
public static final int ACS_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
-
PUBLIC_FIELD_NUMBER
public static final int PUBLIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRUSTED_FIELD_NUMBER
public static final int TRUSTED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_FIELD_NUMBER
public static final int PRIVATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_ID_FIELD_NUMBER
public static final int USER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOUCHED_AT_FIELD_NUMBER
public static final int TOUCHED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQ_ID_FIELD_NUMBER
public static final int SEQ_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
-
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
-
-
Method Detail
-
getUpdatedAt
public long getUpdatedAt()
int64 updated_at = 1 [json_name = "updatedAt"];- Specified by:
getUpdatedAtin interfaceModel.TopicSubOrBuilder- Returns:
- The updatedAt.
-
getDeletedAt
public long getDeletedAt()
int64 deleted_at = 2 [json_name = "deletedAt"];- Specified by:
getDeletedAtin interfaceModel.TopicSubOrBuilder- Returns:
- The deletedAt.
-
getCreatedAt
public long getCreatedAt()
int64 created_at = 17 [json_name = "createdAt"];- Specified by:
getCreatedAtin interfaceModel.TopicSubOrBuilder- Returns:
- The createdAt.
-
getOnline
public boolean getOnline()
bool online = 3 [json_name = "online"];- Specified by:
getOnlinein interfaceModel.TopicSubOrBuilder- Returns:
- The online.
-
hasAcs
public boolean hasAcs()
.pbx.AccessMode acs = 4 [json_name = "acs"];- Specified by:
hasAcsin interfaceModel.TopicSubOrBuilder- Returns:
- Whether the acs field is set.
-
getAcs
public Model.AccessMode getAcs()
.pbx.AccessMode acs = 4 [json_name = "acs"];- Specified by:
getAcsin interfaceModel.TopicSubOrBuilder- Returns:
- The acs.
-
getReadId
public int getReadId()
int32 read_id = 5 [json_name = "readId"];- Specified by:
getReadIdin interfaceModel.TopicSubOrBuilder- Returns:
- The readId.
-
getRecvId
public int getRecvId()
int32 recv_id = 6 [json_name = "recvId"];- Specified by:
getRecvIdin interfaceModel.TopicSubOrBuilder- Returns:
- The recvId.
-
getPublic
public com.google.protobuf.ByteString getPublic()
bytes public = 7 [json_name = "public"];- Specified by:
getPublicin interfaceModel.TopicSubOrBuilder- Returns:
- The public.
-
getTrusted
public com.google.protobuf.ByteString getTrusted()
16!
bytes trusted = 16 [json_name = "trusted"];- Specified by:
getTrustedin interfaceModel.TopicSubOrBuilder- Returns:
- The trusted.
-
getPrivate
public com.google.protobuf.ByteString getPrivate()
bytes private = 8 [json_name = "private"];- Specified by:
getPrivatein interfaceModel.TopicSubOrBuilder- Returns:
- The private.
-
getUserId
public java.lang.String getUserId()
Uid of the subscribed user
string user_id = 9 [json_name = "userId"];- Specified by:
getUserIdin interfaceModel.TopicSubOrBuilder- Returns:
- The userId.
-
getUserIdBytes
public com.google.protobuf.ByteString getUserIdBytes()
Uid of the subscribed user
string user_id = 9 [json_name = "userId"];- Specified by:
getUserIdBytesin interfaceModel.TopicSubOrBuilder- Returns:
- The bytes for userId.
-
getTopic
public java.lang.String getTopic()
Topic name of this subscription
string topic = 10 [json_name = "topic"];- Specified by:
getTopicin interfaceModel.TopicSubOrBuilder- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()
Topic name of this subscription
string topic = 10 [json_name = "topic"];- Specified by:
getTopicBytesin interfaceModel.TopicSubOrBuilder- Returns:
- The bytes for topic.
-
getTouchedAt
public long getTouchedAt()
int64 touched_at = 11 [json_name = "touchedAt"];- Specified by:
getTouchedAtin interfaceModel.TopicSubOrBuilder- Returns:
- The touchedAt.
-
getSeqId
public int getSeqId()
ID of the last {data} message in a topicint32 seq_id = 12 [json_name = "seqId"];- Specified by:
getSeqIdin interfaceModel.TopicSubOrBuilder- Returns:
- The seqId.
-
getDelId
public int getDelId()
Messages are deleted up to this ID
int32 del_id = 13 [json_name = "delId"];- Specified by:
getDelIdin interfaceModel.TopicSubOrBuilder- Returns:
- The delId.
-
getLastSeenTime
public long getLastSeenTime()
Other user's last online timestamp & user agent
int64 last_seen_time = 14 [json_name = "lastSeenTime"];- Specified by:
getLastSeenTimein interfaceModel.TopicSubOrBuilder- Returns:
- The lastSeenTime.
-
getLastSeenUserAgent
public java.lang.String getLastSeenUserAgent()
string last_seen_user_agent = 15 [json_name = "lastSeenUserAgent"];- Specified by:
getLastSeenUserAgentin interfaceModel.TopicSubOrBuilder- Returns:
- The lastSeenUserAgent.
-
getLastSeenUserAgentBytes
public com.google.protobuf.ByteString getLastSeenUserAgentBytes()
string last_seen_user_agent = 15 [json_name = "lastSeenUserAgent"];- Specified by:
getLastSeenUserAgentBytesin interfaceModel.TopicSubOrBuilder- Returns:
- The bytes for lastSeenUserAgent.
-
parseFrom
public static Model.TopicSub parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicSub parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicSub parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicSub 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.TopicSub parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicSub parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Model.TopicSub parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Model.TopicSub parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Model.TopicSub parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Model.TopicSub parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Model.TopicSub parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Model.TopicSub parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Model.TopicSub.Builder newBuilder()
-
newBuilder
public static Model.TopicSub.Builder newBuilder(Model.TopicSub 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.TopicSub,Model.TopicSub.Builder>
-
getDefaultInstance
public static Model.TopicSub getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Model.TopicSub> parser()
-
-