Package dev.vality.damsel.analytics
Class ErrorDistribution
java.lang.Object
dev.vality.damsel.analytics.ErrorDistribution
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ErrorDistribution>,org.apache.thrift.TBase<ErrorDistribution,ErrorDistribution._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-11-14")
public class ErrorDistribution
extends Object
implements org.apache.thrift.TBase<ErrorDistribution,ErrorDistribution._Fields>, Serializable, Cloneable, Comparable<ErrorDistribution>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classErrorDistribution._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description SubErrorerrorstatic Map<ErrorDistribution._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapdoublepercents -
Constructor Summary
Constructors Constructor Description ErrorDistribution()ErrorDistribution(ErrorDistribution other)Performs a deep copy on other.ErrorDistribution(SubError error, double percents) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ErrorDistribution other)ErrorDistributiondeepCopy()booleanequals(ErrorDistribution that)booleanequals(Object that)ErrorDistribution._FieldsfieldForId(int fieldId)SubErrorgetError()Map<ErrorDistribution._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ErrorDistribution._Fields[]getFields()ObjectgetFieldValue(ErrorDistribution._Fields field)doublegetPercents()inthashCode()booleanisSet(ErrorDistribution._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetError()Returns true if field error is set (has been assigned a value) and false otherwisebooleanisSetPercents()Returns true if field percents is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ErrorDistributionsetError(SubError error)voidsetErrorIsSet(boolean value)voidsetFieldValue(ErrorDistribution._Fields field, Object value)ErrorDistributionsetPercents(double percents)voidsetPercentsIsSet(boolean value)StringtoString()voidunsetError()voidunsetPercents()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
error
-
percents
public double percents -
metaDataMap
public static final Map<ErrorDistribution._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ErrorDistribution
public ErrorDistribution() -
ErrorDistribution
-
ErrorDistribution
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ErrorDistribution,ErrorDistribution._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ErrorDistribution,ErrorDistribution._Fields>
-
getError
-
setError
-
unsetError
public void unsetError() -
isSetError
public boolean isSetError()Returns true if field error is set (has been assigned a value) and false otherwise -
setErrorIsSet
public void setErrorIsSet(boolean value) -
getPercents
public double getPercents() -
setPercents
-
unsetPercents
public void unsetPercents() -
isSetPercents
public boolean isSetPercents()Returns true if field percents is set (has been assigned a value) and false otherwise -
setPercentsIsSet
public void setPercentsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ErrorDistribution,ErrorDistribution._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ErrorDistribution,ErrorDistribution._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<ErrorDistribution,ErrorDistribution._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ErrorDistribution>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ErrorDistribution,ErrorDistribution._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ErrorDistribution,ErrorDistribution._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ErrorDistribution,ErrorDistribution._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
-