Package dev.vality.bouncer.rstn
Class Restrictions
java.lang.Object
dev.vality.bouncer.rstn.Restrictions
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Restrictions>,org.apache.thrift.TBase<Restrictions,Restrictions._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-08-25")
public class Restrictions
extends Object
implements org.apache.thrift.TBase<Restrictions,Restrictions._Fields>, Serializable, Cloneable, Comparable<Restrictions>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRestrictions._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description RestrictionsAnalyticsAPIanapiRestrictionsCommonAPIcapistatic Map<Restrictions._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapintvsn -
Constructor Summary
Constructors Constructor Description Restrictions()Restrictions(int vsn)Restrictions(Restrictions other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Restrictions other)RestrictionsdeepCopy()booleanequals(Restrictions that)booleanequals(Object that)Restrictions._FieldsfieldForId(int fieldId)RestrictionsAnalyticsAPIgetAnapi()RestrictionsCommonAPIgetCapi()Map<Restrictions._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Restrictions._Fields[]getFields()ObjectgetFieldValue(Restrictions._Fields field)intgetVsn()inthashCode()booleanisSet(Restrictions._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAnapi()Returns true if field anapi is set (has been assigned a value) and false otherwisebooleanisSetCapi()Returns true if field capi is set (has been assigned a value) and false otherwisebooleanisSetVsn()Returns true if field vsn is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)RestrictionssetAnapi(RestrictionsAnalyticsAPI anapi)voidsetAnapiIsSet(boolean value)RestrictionssetCapi(RestrictionsCommonAPI capi)voidsetCapiIsSet(boolean value)voidsetFieldValue(Restrictions._Fields field, Object value)RestrictionssetVsn(int vsn)voidsetVsnIsSet(boolean value)StringtoString()voidunsetAnapi()voidunsetCapi()voidunsetVsn()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
vsn
public int vsn -
anapi
-
capi
-
metaDataMap
public static final Map<Restrictions._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
Restrictions
public Restrictions() -
Restrictions
public Restrictions(int vsn) -
Restrictions
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Restrictions,Restrictions._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Restrictions,Restrictions._Fields>
-
getVsn
public int getVsn() -
setVsn
-
unsetVsn
public void unsetVsn() -
isSetVsn
public boolean isSetVsn()Returns true if field vsn is set (has been assigned a value) and false otherwise -
setVsnIsSet
public void setVsnIsSet(boolean value) -
getAnapi
-
setAnapi
-
unsetAnapi
public void unsetAnapi() -
isSetAnapi
public boolean isSetAnapi()Returns true if field anapi is set (has been assigned a value) and false otherwise -
setAnapiIsSet
public void setAnapiIsSet(boolean value) -
getCapi
-
setCapi
-
unsetCapi
public void unsetCapi() -
isSetCapi
public boolean isSetCapi()Returns true if field capi is set (has been assigned a value) and false otherwise -
setCapiIsSet
public void setCapiIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Restrictions,Restrictions._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Restrictions,Restrictions._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<Restrictions,Restrictions._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Restrictions>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Restrictions,Restrictions._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Restrictions,Restrictions._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Restrictions,Restrictions._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
-