Package dev.vality.damsel.columbus
Class LocationInfo
java.lang.Object
dev.vality.damsel.columbus.LocationInfo
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<LocationInfo>,org.apache.thrift.TBase<LocationInfo,LocationInfo._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class LocationInfo
extends Object
implements org.apache.thrift.TBase<LocationInfo,LocationInfo._Fields>, Serializable, Cloneable, Comparable<LocationInfo>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLocationInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description intcity_geo_idintcountry_geo_idstatic Map<LocationInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringraw_response -
Constructor Summary
Constructors Constructor Description LocationInfo()LocationInfo(int city_geo_id, int country_geo_id)LocationInfo(LocationInfo other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(LocationInfo other)LocationInfodeepCopy()booleanequals(LocationInfo that)booleanequals(Object that)LocationInfo._FieldsfieldForId(int fieldId)intgetCityGeoId()intgetCountryGeoId()Map<LocationInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()LocationInfo._Fields[]getFields()ObjectgetFieldValue(LocationInfo._Fields field)StringgetRawResponse()inthashCode()booleanisSet(LocationInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCityGeoId()Returns true if field city_geo_id is set (has been assigned a value) and false otherwisebooleanisSetCountryGeoId()Returns true if field country_geo_id is set (has been assigned a value) and false otherwisebooleanisSetRawResponse()Returns true if field raw_response is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)LocationInfosetCityGeoId(int city_geo_id)voidsetCityGeoIdIsSet(boolean value)LocationInfosetCountryGeoId(int country_geo_id)voidsetCountryGeoIdIsSet(boolean value)voidsetFieldValue(LocationInfo._Fields field, Object value)LocationInfosetRawResponse(String raw_response)voidsetRawResponseIsSet(boolean value)StringtoString()voidunsetCityGeoId()voidunsetCountryGeoId()voidunsetRawResponse()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
city_geo_id
public int city_geo_id -
country_geo_id
public int country_geo_id -
raw_response
-
metaDataMap
public static final Map<LocationInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
LocationInfo
public LocationInfo() -
LocationInfo
public LocationInfo(int city_geo_id, int country_geo_id) -
LocationInfo
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<LocationInfo,LocationInfo._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<LocationInfo,LocationInfo._Fields>
-
getCityGeoId
public int getCityGeoId() -
setCityGeoId
-
unsetCityGeoId
public void unsetCityGeoId() -
isSetCityGeoId
public boolean isSetCityGeoId()Returns true if field city_geo_id is set (has been assigned a value) and false otherwise -
setCityGeoIdIsSet
public void setCityGeoIdIsSet(boolean value) -
getCountryGeoId
public int getCountryGeoId() -
setCountryGeoId
-
unsetCountryGeoId
public void unsetCountryGeoId() -
isSetCountryGeoId
public boolean isSetCountryGeoId()Returns true if field country_geo_id is set (has been assigned a value) and false otherwise -
setCountryGeoIdIsSet
public void setCountryGeoIdIsSet(boolean value) -
getRawResponse
-
setRawResponse
-
unsetRawResponse
public void unsetRawResponse() -
isSetRawResponse
public boolean isSetRawResponse()Returns true if field raw_response is set (has been assigned a value) and false otherwise -
setRawResponseIsSet
public void setRawResponseIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<LocationInfo,LocationInfo._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<LocationInfo,LocationInfo._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<LocationInfo,LocationInfo._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<LocationInfo>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<LocationInfo,LocationInfo._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<LocationInfo,LocationInfo._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<LocationInfo,LocationInfo._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
-