Package dev.vality.damsel.domain
Class RandomizationMutationParams
java.lang.Object
dev.vality.damsel.domain.RandomizationMutationParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<RandomizationMutationParams>,org.apache.thrift.TBase<RandomizationMutationParams,,RandomizationMutationParams._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class RandomizationMutationParams
extends Object
implements org.apache.thrift.TBase<RandomizationMutationParams,RandomizationMutationParams._Fields>, Serializable, Cloneable, Comparable<RandomizationMutationParams>
- 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 TypeFieldDescriptionlonglongПо умолчанию полагается допустимым отклонение в обе стороныlongstatic final Map<RandomizationMutationParams._Fields,org.apache.thrift.meta_data.FieldMetaData> longlong -
Constructor Summary
ConstructorsConstructorDescriptionRandomizationMutationParams(long deviation, long precision) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) longlongПо умолчанию полагается допустимым отклонение в обе стороныMap<RandomizationMutationParams._Fields,org.apache.thrift.meta_data.FieldMetaData> longlonglonginthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field amount_multiplicity_condition is set (has been assigned a value) and false otherwisebooleanReturns true if field deviation is set (has been assigned a value) and false otherwisebooleanReturns true if field direction is set (has been assigned a value) and false otherwisebooleanReturns true if field max_amount_condition is set (has been assigned a value) and false otherwisebooleanReturns true if field min_amount_condition is set (has been assigned a value) and false otherwisebooleanReturns true if field precision is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAmountMultiplicityCondition(long amount_multiplicity_condition) voidsetAmountMultiplicityConditionIsSet(boolean value) setDeviation(long deviation) voidsetDeviationIsSet(boolean value) setDirection(DeviationDirection direction) По умолчанию полагается допустимым отклонение в обе стороныvoidsetDirectionIsSet(boolean value) voidsetFieldValue(RandomizationMutationParams._Fields field, Object value) setMaxAmountCondition(long max_amount_condition) voidsetMaxAmountConditionIsSet(boolean value) setMinAmountCondition(long min_amount_condition) voidsetMinAmountConditionIsSet(boolean value) setPrecision(long precision) voidsetPrecisionIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
deviation
public long deviation -
precision
public long precision -
direction
По умолчанию полагается допустимым отклонение в обе стороны- See Also:
-
min_amount_condition
public long min_amount_condition -
max_amount_condition
public long max_amount_condition -
amount_multiplicity_condition
public long amount_multiplicity_condition -
metaDataMap
public static final Map<RandomizationMutationParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
RandomizationMutationParams
public RandomizationMutationParams() -
RandomizationMutationParams
public RandomizationMutationParams(long deviation, long precision) -
RandomizationMutationParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<RandomizationMutationParams,RandomizationMutationParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<RandomizationMutationParams,RandomizationMutationParams._Fields>
-
getDeviation
public long getDeviation() -
setDeviation
-
unsetDeviation
public void unsetDeviation() -
isSetDeviation
public boolean isSetDeviation()Returns true if field deviation is set (has been assigned a value) and false otherwise -
setDeviationIsSet
public void setDeviationIsSet(boolean value) -
getPrecision
public long getPrecision() -
setPrecision
-
unsetPrecision
public void unsetPrecision() -
isSetPrecision
public boolean isSetPrecision()Returns true if field precision is set (has been assigned a value) and false otherwise -
setPrecisionIsSet
public void setPrecisionIsSet(boolean value) -
getDirection
По умолчанию полагается допустимым отклонение в обе стороны- See Also:
-
setDirection
По умолчанию полагается допустимым отклонение в обе стороны- See Also:
-
unsetDirection
public void unsetDirection() -
isSetDirection
public boolean isSetDirection()Returns true if field direction is set (has been assigned a value) and false otherwise -
setDirectionIsSet
public void setDirectionIsSet(boolean value) -
getMinAmountCondition
public long getMinAmountCondition() -
setMinAmountCondition
-
unsetMinAmountCondition
public void unsetMinAmountCondition() -
isSetMinAmountCondition
public boolean isSetMinAmountCondition()Returns true if field min_amount_condition is set (has been assigned a value) and false otherwise -
setMinAmountConditionIsSet
public void setMinAmountConditionIsSet(boolean value) -
getMaxAmountCondition
public long getMaxAmountCondition() -
setMaxAmountCondition
-
unsetMaxAmountCondition
public void unsetMaxAmountCondition() -
isSetMaxAmountCondition
public boolean isSetMaxAmountCondition()Returns true if field max_amount_condition is set (has been assigned a value) and false otherwise -
setMaxAmountConditionIsSet
public void setMaxAmountConditionIsSet(boolean value) -
getAmountMultiplicityCondition
public long getAmountMultiplicityCondition() -
setAmountMultiplicityCondition
public RandomizationMutationParams setAmountMultiplicityCondition(long amount_multiplicity_condition) -
unsetAmountMultiplicityCondition
public void unsetAmountMultiplicityCondition() -
isSetAmountMultiplicityCondition
public boolean isSetAmountMultiplicityCondition()Returns true if field amount_multiplicity_condition is set (has been assigned a value) and false otherwise -
setAmountMultiplicityConditionIsSet
public void setAmountMultiplicityConditionIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<RandomizationMutationParams,RandomizationMutationParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<RandomizationMutationParams,RandomizationMutationParams._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<RandomizationMutationParams,RandomizationMutationParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<RandomizationMutationParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<RandomizationMutationParams,RandomizationMutationParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<RandomizationMutationParams,RandomizationMutationParams._Fields>
-
getFieldMetaData
public Map<RandomizationMutationParams._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<RandomizationMutationParams,RandomizationMutationParams._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
-