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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<ArbiterSrv.Judge_args._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionJudge_args(ArbiterSrv.Judge_args other) Performs a deep copy on other.Judge_args(String ruleset, Context ctx) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(ArbiterSrv.Judge_args other) deepCopy()booleanequals(ArbiterSrv.Judge_args that) booleanfieldForId(int fieldId) getCtx()Map<ArbiterSrv.Judge_args._Fields,org.apache.thrift.meta_data.FieldMetaData> inthashCode()booleanReturns 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 otherwisebooleanReturns true if field ruleset is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetCtxIsSet(boolean value) voidsetFieldValue(ArbiterSrv.Judge_args._Fields field, Object value) setRuleset(String ruleset) voidsetRulesetIsSet(boolean value) toString()voidunsetCtx()voidvoidvalidate()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
-