Package dev.vality.damsel.analytics
Class MerchantFilter
java.lang.Object
dev.vality.damsel.analytics.MerchantFilter
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<MerchantFilter>,org.apache.thrift.TBase<MerchantFilter,MerchantFilter._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-11-14")
public class MerchantFilter
extends Object
implements org.apache.thrift.TBase<MerchantFilter,MerchantFilter._Fields>, Serializable, Cloneable, Comparable<MerchantFilter>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMerchantFilter._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>exclude_shop_idsstatic Map<MerchantFilter._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringparty_idList<String>shop_ids -
Constructor Summary
Constructors Constructor Description MerchantFilter()MerchantFilter(MerchantFilter other)Performs a deep copy on other.MerchantFilter(String party_id) -
Method Summary
Modifier and Type Method Description voidaddToExcludeShopIds(String elem)voidaddToShopIds(String elem)voidclear()intcompareTo(MerchantFilter other)MerchantFilterdeepCopy()booleanequals(MerchantFilter that)booleanequals(Object that)MerchantFilter._FieldsfieldForId(int fieldId)List<String>getExcludeShopIds()Iterator<String>getExcludeShopIdsIterator()intgetExcludeShopIdsSize()Map<MerchantFilter._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()MerchantFilter._Fields[]getFields()ObjectgetFieldValue(MerchantFilter._Fields field)StringgetPartyId()List<String>getShopIds()Iterator<String>getShopIdsIterator()intgetShopIdsSize()inthashCode()booleanisSet(MerchantFilter._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetExcludeShopIds()Returns true if field exclude_shop_ids is set (has been assigned a value) and false otherwisebooleanisSetPartyId()Returns true if field party_id is set (has been assigned a value) and false otherwisebooleanisSetShopIds()Returns true if field shop_ids is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)MerchantFiltersetExcludeShopIds(List<String> exclude_shop_ids)voidsetExcludeShopIdsIsSet(boolean value)voidsetFieldValue(MerchantFilter._Fields field, Object value)MerchantFiltersetPartyId(String party_id)voidsetPartyIdIsSet(boolean value)MerchantFiltersetShopIds(List<String> shop_ids)voidsetShopIdsIsSet(boolean value)StringtoString()voidunsetExcludeShopIds()voidunsetPartyId()voidunsetShopIds()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
party_id
-
shop_ids
-
exclude_shop_ids
-
metaDataMap
public static final Map<MerchantFilter._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
MerchantFilter
public MerchantFilter() -
MerchantFilter
-
MerchantFilter
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<MerchantFilter,MerchantFilter._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<MerchantFilter,MerchantFilter._Fields>
-
getPartyId
-
setPartyId
-
unsetPartyId
public void unsetPartyId() -
isSetPartyId
public boolean isSetPartyId()Returns true if field party_id is set (has been assigned a value) and false otherwise -
setPartyIdIsSet
public void setPartyIdIsSet(boolean value) -
getShopIdsSize
public int getShopIdsSize() -
getShopIdsIterator
-
addToShopIds
-
getShopIds
-
setShopIds
-
unsetShopIds
public void unsetShopIds() -
isSetShopIds
public boolean isSetShopIds()Returns true if field shop_ids is set (has been assigned a value) and false otherwise -
setShopIdsIsSet
public void setShopIdsIsSet(boolean value) -
getExcludeShopIdsSize
public int getExcludeShopIdsSize() -
getExcludeShopIdsIterator
-
addToExcludeShopIds
-
getExcludeShopIds
-
setExcludeShopIds
-
unsetExcludeShopIds
public void unsetExcludeShopIds() -
isSetExcludeShopIds
public boolean isSetExcludeShopIds()Returns true if field exclude_shop_ids is set (has been assigned a value) and false otherwise -
setExcludeShopIdsIsSet
public void setExcludeShopIdsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<MerchantFilter,MerchantFilter._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<MerchantFilter,MerchantFilter._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<MerchantFilter,MerchantFilter._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<MerchantFilter>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<MerchantFilter,MerchantFilter._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<MerchantFilter,MerchantFilter._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<MerchantFilter,MerchantFilter._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
-