@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class TCMResult extends Object implements org.apache.thrift.TBase<TCMResult,TCMResult._Fields>, Serializable, Cloneable, Comparable<TCMResult>
Modifier and Type | Class and Description |
---|---|
static class |
TCMResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
cmid |
static Map<TCMResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
TCMStatus |
status |
Constructor and Description |
---|
TCMResult() |
TCMResult(long cmid,
TCMStatus status) |
TCMResult(TCMResult other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TCMResult other) |
TCMResult |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TCMResult that) |
TCMResult._Fields |
fieldForId(int fieldId) |
long |
getCmid() |
Object |
getFieldValue(TCMResult._Fields field) |
TCMStatus |
getStatus() |
int |
hashCode() |
boolean |
isSet(TCMResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCmid()
Returns true if field cmid 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) |
TCMResult |
setCmid(long cmid) |
void |
setCmidIsSet(boolean value) |
void |
setFieldValue(TCMResult._Fields field,
Object value) |
TCMResult |
setStatus(TCMStatus status) |
void |
setStatusIsSet(boolean value) |
String |
toString() |
void |
unsetCmid() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long cmid
public static final Map<TCMResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TCMResult()
public TCMResult(long cmid, TCMStatus status)
public TCMResult(TCMResult other)
public TCMResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
public long getCmid()
public TCMResult setCmid(long cmid)
public void unsetCmid()
public boolean isSetCmid()
public void setCmidIsSet(boolean value)
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public void setFieldValue(TCMResult._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
public Object getFieldValue(TCMResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
public boolean isSet(TCMResult._Fields field)
isSet
in interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
public boolean equals(TCMResult that)
public int compareTo(TCMResult other)
compareTo
in interface Comparable<TCMResult>
public TCMResult._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TCMResult,TCMResult._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.