Package dev.vality.damsel.accounter
Class AccounterSrv.GetPlan_result
java.lang.Object
dev.vality.damsel.accounter.AccounterSrv.GetPlan_result
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<AccounterSrv.GetPlan_result>,org.apache.thrift.TBase<AccounterSrv.GetPlan_result,AccounterSrv.GetPlan_result._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- AccounterSrv
public static class AccounterSrv.GetPlan_result extends Object implements org.apache.thrift.TBase<AccounterSrv.GetPlan_result,AccounterSrv.GetPlan_result._Fields>, Serializable, Cloneable, Comparable<AccounterSrv.GetPlan_result>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccounterSrv.GetPlan_result._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description PlanNotFounde1static Map<AccounterSrv.GetPlan_result._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPostingPlansuccess -
Constructor Summary
Constructors Constructor Description GetPlan_result()GetPlan_result(AccounterSrv.GetPlan_result other)Performs a deep copy on other.GetPlan_result(PostingPlan success, PlanNotFound e1) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(AccounterSrv.GetPlan_result other)AccounterSrv.GetPlan_resultdeepCopy()booleanequals(AccounterSrv.GetPlan_result that)booleanequals(Object that)AccounterSrv.GetPlan_result._FieldsfieldForId(int fieldId)PlanNotFoundgetE1()Map<AccounterSrv.GetPlan_result._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()AccounterSrv.GetPlan_result._Fields[]getFields()ObjectgetFieldValue(AccounterSrv.GetPlan_result._Fields field)PostingPlangetSuccess()inthashCode()booleanisSet(AccounterSrv.GetPlan_result._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetE1()Returns true if field e1 is set (has been assigned a value) and false otherwisebooleanisSetSuccess()Returns true if field success is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)AccounterSrv.GetPlan_resultsetE1(PlanNotFound e1)voidsetE1IsSet(boolean value)voidsetFieldValue(AccounterSrv.GetPlan_result._Fields field, Object value)AccounterSrv.GetPlan_resultsetSuccess(PostingPlan success)voidsetSuccessIsSet(boolean value)StringtoString()voidunsetE1()voidunsetSuccess()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
success
-
e1
-
metaDataMap
public static final Map<AccounterSrv.GetPlan_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
GetPlan_result
public GetPlan_result() -
GetPlan_result
-
GetPlan_result
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<AccounterSrv.GetPlan_result,AccounterSrv.GetPlan_result._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<AccounterSrv.GetPlan_result,AccounterSrv.GetPlan_result._Fields>
-
getSuccess
-
setSuccess
-
unsetSuccess
public void unsetSuccess() -
isSetSuccess
public boolean isSetSuccess()Returns true if field success is set (has been assigned a value) and false otherwise -
setSuccessIsSet
public void setSuccessIsSet(boolean value) -
getE1
-
setE1
-
unsetE1
public void unsetE1() -
isSetE1
public boolean isSetE1()Returns true if field e1 is set (has been assigned a value) and false otherwise -
setE1IsSet
public void setE1IsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<AccounterSrv.GetPlan_result,AccounterSrv.GetPlan_result._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<AccounterSrv.GetPlan_result,AccounterSrv.GetPlan_result._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<AccounterSrv.GetPlan_result,AccounterSrv.GetPlan_result._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<AccounterSrv.GetPlan_result>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<AccounterSrv.GetPlan_result,AccounterSrv.GetPlan_result._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<AccounterSrv.GetPlan_result,AccounterSrv.GetPlan_result._Fields>
-
getFieldMetaData
public Map<AccounterSrv.GetPlan_result._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<AccounterSrv.GetPlan_result,AccounterSrv.GetPlan_result._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-