public static final class SessionPB.Bean extends Object implements SessionPB.Getter
| Constructor and Description |
|---|
SessionPB.Bean() |
SessionPB.Bean(SessionPB.Bean copy) |
public SessionPB.Bean()
public SessionPB.Bean(SessionPB.Bean copy)
public SessionPB.Bean copy()
copy in interface SessionPB.Gettercopy in interface org.fusesource.hawtbuf.proto.PBMessage<SessionPB.Bean,SessionPB.Buffer>public boolean frozen()
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<SessionPB.Bean,SessionPB.Buffer>public SessionPB.Buffer freeze()
freeze in interface SessionPB.Getterfreeze in interface org.fusesource.hawtbuf.proto.PBMessage<SessionPB.Bean,SessionPB.Buffer>public boolean hasClientId()
hasClientId in interface SessionPB.Getterpublic org.fusesource.hawtbuf.UTF8Buffer getClientId()
getClientId in interface SessionPB.Getterpublic SessionPB.Bean setClientId(org.fusesource.hawtbuf.UTF8Buffer clientId)
public void clearClientId()
public boolean hasSubscriptions()
hasSubscriptions in interface SessionPB.Getterpublic List<TopicPB.Getter> getSubscriptionsList()
getSubscriptionsList in interface SessionPB.Getterpublic List<TopicPB.Getter> createSubscriptionsList()
public SessionPB.Bean setSubscriptionsList(List<TopicPB.Getter> subscriptions)
public int getSubscriptionsCount()
getSubscriptionsCount in interface SessionPB.Getterpublic TopicPB.Getter getSubscriptions(int index)
getSubscriptions in interface SessionPB.Getterpublic SessionPB.Bean setSubscriptions(int index, TopicPB.Getter value)
public SessionPB.Bean addSubscriptions(TopicPB.Getter value)
public SessionPB.Bean addAllSubscriptions(Iterable<? extends TopicPB.Getter> collection)
public void clearSubscriptions()
public boolean hasReceivedMessageIds()
hasReceivedMessageIds in interface SessionPB.Getterpublic List<Integer> getReceivedMessageIdsList()
getReceivedMessageIdsList in interface SessionPB.Getterpublic SessionPB.Bean setReceivedMessageIdsList(List<Integer> receivedMessageIds)
public int getReceivedMessageIdsCount()
getReceivedMessageIdsCount in interface SessionPB.Getterpublic Integer getReceivedMessageIds(int index)
getReceivedMessageIds in interface SessionPB.Getterpublic SessionPB.Bean setReceivedMessageIds(int index, Integer value)
public SessionPB.Bean addReceivedMessageIds(Integer value)
public SessionPB.Bean addAllReceivedMessageIds(Iterable<? extends Integer> collection)
public void clearReceivedMessageIds()
public StringBuilder toString(StringBuilder sb, String prefix)
toString in interface SessionPB.Getterpublic SessionPB.Bean mergeUnframed(InputStream input) throws IOException
IOExceptionpublic SessionPB.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input) throws IOException
IOExceptionpublic boolean equals(SessionPB.Bean obj)
public SessionPB.Bean mergeFrom(SessionPB.Getter other)
public void clear()
public void readExternal(DataInput in) throws IOException
IOExceptionpublic void writeExternal(DataOutput out) throws IOException
IOExceptionCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.