Class BlackListContext
java.lang.Object
dev.vality.damsel.proxy_inspector.BlackListContext
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<BlackListContext>,org.apache.thrift.TBase<BlackListContext,,BlackListContext._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class BlackListContext
extends Object
implements org.apache.thrift.TBase<BlackListContext,BlackListContext._Fields>, Serializable, Cloneable, Comparable<BlackListContext>
Набор данных для проверки в черных списках.
- 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<BlackListContext._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionBlackListContext(BlackListContext other) Performs a deep copy on other.BlackListContext(String field_name, String value) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(BlackListContext other) deepCopy()booleanequals(BlackListContext that) booleanfieldForId(int fieldId) Map<BlackListContext._Fields,org.apache.thrift.meta_data.FieldMetaData> getValue()inthashCode()booleanisSet(BlackListContext._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field field_name is set (has been assigned a value) and false otherwisebooleanReturns true if field first_id is set (has been assigned a value) and false otherwisebooleanReturns true if field second_id is set (has been assigned a value) and false otherwisebooleanReturns true if field value is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setFieldName(String field_name) voidsetFieldNameIsSet(boolean value) voidsetFieldValue(BlackListContext._Fields field, Object value) setFirstId(String first_id) voidsetFirstIdIsSet(boolean value) setSecondId(String second_id) voidsetSecondIdIsSet(boolean value) voidsetValueIsSet(boolean value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
first_id
-
second_id
-
field_name
-
value
-
metaDataMap
public static final Map<BlackListContext._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
BlackListContext
public BlackListContext() -
BlackListContext
-
BlackListContext
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<BlackListContext,BlackListContext._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<BlackListContext,BlackListContext._Fields>
-
getFirstId
-
setFirstId
-
unsetFirstId
public void unsetFirstId() -
isSetFirstId
public boolean isSetFirstId()Returns true if field first_id is set (has been assigned a value) and false otherwise -
setFirstIdIsSet
public void setFirstIdIsSet(boolean value) -
getSecondId
-
setSecondId
-
unsetSecondId
public void unsetSecondId() -
isSetSecondId
public boolean isSetSecondId()Returns true if field second_id is set (has been assigned a value) and false otherwise -
setSecondIdIsSet
public void setSecondIdIsSet(boolean value) -
getFieldName
-
setFieldName
-
unsetFieldName
public void unsetFieldName() -
isSetFieldName
public boolean isSetFieldName()Returns true if field field_name is set (has been assigned a value) and false otherwise -
setFieldNameIsSet
public void setFieldNameIsSet(boolean value) -
getValue
-
setValue
-
unsetValue
public void unsetValue() -
isSetValue
public boolean isSetValue()Returns true if field value is set (has been assigned a value) and false otherwise -
setValueIsSet
public void setValueIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<BlackListContext,BlackListContext._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<BlackListContext,BlackListContext._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<BlackListContext,BlackListContext._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<BlackListContext>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<BlackListContext,BlackListContext._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<BlackListContext,BlackListContext._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<BlackListContext,BlackListContext._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
-