Package dev.vality.fistful.fistful_stat
Class InvalidRequest
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.thrift.TException
dev.vality.fistful.fistful_stat.InvalidRequest
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvalidRequest>,org.apache.thrift.TBase<InvalidRequest,InvalidRequest._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-06-27")
public class InvalidRequest
extends org.apache.thrift.TException
implements org.apache.thrift.TBase<InvalidRequest,InvalidRequest._Fields>, Serializable, Cloneable, Comparable<InvalidRequest>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvalidRequest._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description List<String>errorsСписок пригодных для восприятия человеком ошибок во входных данныхstatic Map<InvalidRequest._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description InvalidRequest()InvalidRequest(InvalidRequest other)Performs a deep copy on other.InvalidRequest(List<String> errors) -
Method Summary
Modifier and Type Method Description voidaddToErrors(String elem)voidclear()intcompareTo(InvalidRequest other)InvalidRequestdeepCopy()booleanequals(InvalidRequest that)booleanequals(Object that)InvalidRequest._FieldsfieldForId(int fieldId)List<String>getErrors()Список пригодных для восприятия человеком ошибок во входных данныхIterator<String>getErrorsIterator()intgetErrorsSize()Map<InvalidRequest._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()InvalidRequest._Fields[]getFields()ObjectgetFieldValue(InvalidRequest._Fields field)inthashCode()booleanisSet(InvalidRequest._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetErrors()Returns true if field errors is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)InvalidRequestsetErrors(List<String> errors)Список пригодных для восприятия человеком ошибок во входных данныхvoidsetErrorsIsSet(boolean value)voidsetFieldValue(InvalidRequest._Fields field, Object value)StringtoString()voidunsetErrors()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
errors
Список пригодных для восприятия человеком ошибок во входных данных -
metaDataMap
public static final Map<InvalidRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvalidRequest
public InvalidRequest() -
InvalidRequest
-
InvalidRequest
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvalidRequest,InvalidRequest._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvalidRequest,InvalidRequest._Fields>
-
getErrorsSize
public int getErrorsSize() -
getErrorsIterator
-
addToErrors
-
getErrors
Список пригодных для восприятия человеком ошибок во входных данных -
setErrors
Список пригодных для восприятия человеком ошибок во входных данных -
unsetErrors
public void unsetErrors() -
isSetErrors
public boolean isSetErrors()Returns true if field errors is set (has been assigned a value) and false otherwise -
setErrorsIsSet
public void setErrorsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InvalidRequest,InvalidRequest._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvalidRequest,InvalidRequest._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<InvalidRequest,InvalidRequest._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvalidRequest>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvalidRequest,InvalidRequest._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvalidRequest,InvalidRequest._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvalidRequest,InvalidRequest._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
-