|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.evernote.edam.notestore.ClientUsageMetrics
public class ClientUsageMetrics
This structure is passed from clients to the Evernote service when they wish to relay coarse-grained usage metrics to the service to help improve products.
Constructor Summary | |
---|---|
ClientUsageMetrics()
|
|
ClientUsageMetrics(ClientUsageMetrics other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(ClientUsageMetrics other)
|
ClientUsageMetrics |
deepCopy()
Creates a deep copy of the object. |
boolean |
equals(ClientUsageMetrics that)
|
boolean |
equals(java.lang.Object that)
|
int |
getSessions()
|
int |
hashCode()
|
boolean |
isSetSessions()
Returns true if field sessions is set (has been asigned a value) and false otherwise |
void |
read(com.evernote.thrift.protocol.TProtocol iprot)
Reads an instance of the object from the given protocol. |
void |
setSessions(int sessions)
|
void |
setSessionsIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetSessions()
|
void |
validate()
|
void |
write(com.evernote.thrift.protocol.TProtocol oprot)
Writes the object to the given protocol. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClientUsageMetrics()
public ClientUsageMetrics(ClientUsageMetrics other)
Method Detail |
---|
public ClientUsageMetrics deepCopy()
com.evernote.thrift.TBase
deepCopy
in interface com.evernote.thrift.TBase<ClientUsageMetrics>
public void clear()
com.evernote.thrift.TBase
clear
in interface com.evernote.thrift.TBase<ClientUsageMetrics>
public int getSessions()
public void setSessions(int sessions)
public void unsetSessions()
public boolean isSetSessions()
public void setSessionsIsSet(boolean value)
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(ClientUsageMetrics that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ClientUsageMetrics other)
compareTo
in interface java.lang.Comparable<ClientUsageMetrics>
public void read(com.evernote.thrift.protocol.TProtocol iprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
read
in interface com.evernote.thrift.TBase<ClientUsageMetrics>
iprot
- Input protocol
com.evernote.thrift.TException
public void write(com.evernote.thrift.protocol.TProtocol oprot) throws com.evernote.thrift.TException
com.evernote.thrift.TBase
write
in interface com.evernote.thrift.TBase<ClientUsageMetrics>
oprot
- Output protocol
com.evernote.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws com.evernote.thrift.TException
com.evernote.thrift.TException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |