Package dev.vality.bouncer.decisions
Class ArbiterSrv.Judge_args
java.lang.Object
dev.vality.bouncer.decisions.ArbiterSrv.Judge_args
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ArbiterSrv.Judge_args>,org.apache.thrift.TBase<ArbiterSrv.Judge_args,ArbiterSrv.Judge_args._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- ArbiterSrv
public static class ArbiterSrv.Judge_args extends Object implements org.apache.thrift.TBase<ArbiterSrv.Judge_args,ArbiterSrv.Judge_args._Fields>, Serializable, Cloneable, Comparable<ArbiterSrv.Judge_args>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArbiterSrv.Judge_args._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Contextctxstatic Map<ArbiterSrv.Judge_args._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringruleset -
Constructor Summary
Constructors Constructor Description Judge_args()Judge_args(ArbiterSrv.Judge_args other)Performs a deep copy on other.Judge_args(String ruleset, Context ctx) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ArbiterSrv.Judge_args other)ArbiterSrv.Judge_argsdeepCopy()booleanequals(ArbiterSrv.Judge_args that)booleanequals(Object that)ArbiterSrv.Judge_args._FieldsfieldForId(int fieldId)ContextgetCtx()Map<ArbiterSrv.Judge_args._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ArbiterSrv.Judge_args._Fields[]getFields()ObjectgetFieldValue(ArbiterSrv.Judge_args._Fields field)StringgetRuleset()inthashCode()booleanisSet(ArbiterSrv.Judge_args._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCtx()Returns true if field ctx is set (has been assigned a value) and false otherwisebooleanisSetRuleset()Returns true if field ruleset is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ArbiterSrv.Judge_argssetCtx(Context ctx)voidsetCtxIsSet(boolean value)voidsetFieldValue(ArbiterSrv.Judge_args._Fields field, Object value)ArbiterSrv.Judge_argssetRuleset(String ruleset)voidsetRulesetIsSet(boolean value)StringtoString()voidunsetCtx()voidunsetRuleset()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
ruleset
-
ctx
-
metaDataMap
public static final Map<ArbiterSrv.Judge_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
Judge_args
public Judge_args() -
Judge_args
-
Judge_args
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ArbiterSrv.Judge_args,ArbiterSrv.Judge_args._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ArbiterSrv.Judge_args,ArbiterSrv.Judge_args._Fields>
-
getRuleset
-
setRuleset
-
unsetRuleset
public void unsetRuleset() -
isSetRuleset
public boolean isSetRuleset()Returns true if field ruleset is set (has been assigned a value) and false otherwise -
setRulesetIsSet
public void setRulesetIsSet(boolean value) -
getCtx
-
setCtx
-
unsetCtx
public void unsetCtx() -
isSetCtx
public boolean isSetCtx()Returns true if field ctx is set (has been assigned a value) and false otherwise -
setCtxIsSet
public void setCtxIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ArbiterSrv.Judge_args,ArbiterSrv.Judge_args._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ArbiterSrv.Judge_args,ArbiterSrv.Judge_args._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<ArbiterSrv.Judge_args,ArbiterSrv.Judge_args._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ArbiterSrv.Judge_args>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ArbiterSrv.Judge_args,ArbiterSrv.Judge_args._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ArbiterSrv.Judge_args,ArbiterSrv.Judge_args._Fields>
-
getFieldMetaData
public Map<ArbiterSrv.Judge_args._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ArbiterSrv.Judge_args,ArbiterSrv.Judge_args._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
-