@Generated(value="Autogenerated by Thrift Compiler (0.10.0)",
date="2017-08-15")
public class GetDeviceTokenRet
extends java.lang.Object
implements org.apache.thrift.TBase<GetDeviceTokenRet,GetDeviceTokenRet._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<GetDeviceTokenRet>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
GetDeviceTokenRet._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| 限定符和类型 | 字段和说明 |
|---|---|
java.lang.String |
deviceToken |
static java.util.Map<GetDeviceTokenRet._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
GetDeviceTokenStatus |
status |
| 构造器和说明 |
|---|
GetDeviceTokenRet() |
GetDeviceTokenRet(GetDeviceTokenRet other)
Performs a deep copy on other.
|
GetDeviceTokenRet(GetDeviceTokenStatus status,
java.lang.String deviceToken) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clear() |
int |
compareTo(GetDeviceTokenRet other) |
GetDeviceTokenRet |
deepCopy() |
boolean |
equals(GetDeviceTokenRet that) |
boolean |
equals(java.lang.Object that) |
GetDeviceTokenRet._Fields |
fieldForId(int fieldId) |
java.lang.String |
getDeviceToken() |
java.lang.Object |
getFieldValue(GetDeviceTokenRet._Fields field) |
GetDeviceTokenStatus |
getStatus() |
int |
hashCode() |
boolean |
isSet(GetDeviceTokenRet._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDeviceToken()
Returns true if field deviceToken is set (has been assigned a value) and false otherwise
|
boolean |
isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
GetDeviceTokenRet |
setDeviceToken(java.lang.String deviceToken) |
void |
setDeviceTokenIsSet(boolean value) |
void |
setFieldValue(GetDeviceTokenRet._Fields field,
java.lang.Object value) |
GetDeviceTokenRet |
setStatus(GetDeviceTokenStatus status) |
void |
setStatusIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetDeviceToken() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public GetDeviceTokenStatus status
public java.lang.String deviceToken
public static final java.util.Map<GetDeviceTokenRet._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetDeviceTokenRet()
public GetDeviceTokenRet(GetDeviceTokenStatus status, java.lang.String deviceToken)
public GetDeviceTokenRet(GetDeviceTokenRet other)
public GetDeviceTokenRet deepCopy()
deepCopy 在接口中 org.apache.thrift.TBase<GetDeviceTokenRet,GetDeviceTokenRet._Fields>public void clear()
clear 在接口中 org.apache.thrift.TBase<GetDeviceTokenRet,GetDeviceTokenRet._Fields>public GetDeviceTokenStatus getStatus()
public GetDeviceTokenRet setStatus(GetDeviceTokenStatus status)
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public java.lang.String getDeviceToken()
public GetDeviceTokenRet setDeviceToken(java.lang.String deviceToken)
public void unsetDeviceToken()
public boolean isSetDeviceToken()
public void setDeviceTokenIsSet(boolean value)
public void setFieldValue(GetDeviceTokenRet._Fields field, java.lang.Object value)
setFieldValue 在接口中 org.apache.thrift.TBase<GetDeviceTokenRet,GetDeviceTokenRet._Fields>public java.lang.Object getFieldValue(GetDeviceTokenRet._Fields field)
getFieldValue 在接口中 org.apache.thrift.TBase<GetDeviceTokenRet,GetDeviceTokenRet._Fields>public boolean isSet(GetDeviceTokenRet._Fields field)
isSet 在接口中 org.apache.thrift.TBase<GetDeviceTokenRet,GetDeviceTokenRet._Fields>public boolean equals(java.lang.Object that)
equals 在类中 java.lang.Objectpublic boolean equals(GetDeviceTokenRet that)
public int hashCode()
hashCode 在类中 java.lang.Objectpublic int compareTo(GetDeviceTokenRet other)
compareTo 在接口中 java.lang.Comparable<GetDeviceTokenRet>public GetDeviceTokenRet._Fields fieldForId(int fieldId)
fieldForId 在接口中 org.apache.thrift.TBase<GetDeviceTokenRet,GetDeviceTokenRet._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read 在接口中 org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write 在接口中 org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic java.lang.String toString()
toString 在类中 java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException