public class KeyPair extends Object implements org.apache.thrift.TBase<KeyPair,KeyPair._Fields>, Serializable, Cloneable
限定符和类型 | 类和说明 |
---|---|
static class |
KeyPair._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
限定符和类型 | 字段和说明 |
---|---|
String |
accesskey |
static Map<KeyPair._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
signature |
long |
timestamp |
String |
token |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
int |
compareTo(KeyPair other) |
KeyPair |
deepCopy() |
boolean |
equals(KeyPair that) |
boolean |
equals(Object that) |
KeyPair._Fields |
fieldForId(int fieldId) |
String |
getAccesskey() |
Object |
getFieldValue(KeyPair._Fields field) |
String |
getSignature() |
long |
getTimestamp() |
String |
getToken() |
int |
hashCode() |
boolean |
isSet(KeyPair._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAccesskey()
Returns true if field accesskey is set (has been assigned a value) and false otherwise
|
boolean |
isSetSignature()
Returns true if field signature is set (has been assigned a value) and false otherwise
|
boolean |
isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwise
|
boolean |
isSetToken()
Returns true if field token is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
KeyPair |
setAccesskey(String accesskey) |
void |
setAccesskeyIsSet(boolean value) |
void |
setFieldValue(KeyPair._Fields field,
Object value) |
KeyPair |
setSignature(String signature) |
void |
setSignatureIsSet(boolean value) |
KeyPair |
setTimestamp(long timestamp) |
void |
setTimestampIsSet(boolean value) |
KeyPair |
setToken(String token) |
void |
setTokenIsSet(boolean value) |
String |
toString() |
void |
unsetAccesskey() |
void |
unsetSignature() |
void |
unsetTimestamp() |
void |
unsetToken() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String accesskey
public long timestamp
public String token
public String signature
public static final Map<KeyPair._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public KeyPair()
public KeyPair(KeyPair other)
public KeyPair deepCopy()
deepCopy
在接口中 org.apache.thrift.TBase<KeyPair,KeyPair._Fields>
public void clear()
clear
在接口中 org.apache.thrift.TBase<KeyPair,KeyPair._Fields>
public String getAccesskey()
public void unsetAccesskey()
public boolean isSetAccesskey()
public void setAccesskeyIsSet(boolean value)
public long getTimestamp()
public KeyPair setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public String getToken()
public void unsetToken()
public boolean isSetToken()
public void setTokenIsSet(boolean value)
public String getSignature()
public void unsetSignature()
public boolean isSetSignature()
public void setSignatureIsSet(boolean value)
public void setFieldValue(KeyPair._Fields field, Object value)
setFieldValue
在接口中 org.apache.thrift.TBase<KeyPair,KeyPair._Fields>
public Object getFieldValue(KeyPair._Fields field)
getFieldValue
在接口中 org.apache.thrift.TBase<KeyPair,KeyPair._Fields>
public boolean isSet(KeyPair._Fields field)
isSet
在接口中 org.apache.thrift.TBase<KeyPair,KeyPair._Fields>
public boolean equals(KeyPair that)
public int compareTo(KeyPair other)
compareTo
在接口中 Comparable<KeyPair>
public KeyPair._Fields fieldForId(int fieldId)
fieldForId
在接口中 org.apache.thrift.TBase<KeyPair,KeyPair._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
在接口中 org.apache.thrift.TBase<KeyPair,KeyPair._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
在接口中 org.apache.thrift.TBase<KeyPair,KeyPair._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2016. All rights reserved.