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.19.0)",
date="2024-08-02")
public class LocationInfo
extends Object
implements org.apache.thrift.TBase<LocationInfo,LocationInfo._Fields>, Serializable, Cloneable, Comparable<LocationInfo>
- 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 TypeFieldDescriptionintintstatic final Map<LocationInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionLocationInfo(int city_geo_id, int country_geo_id) LocationInfo(LocationInfo other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(LocationInfo other) deepCopy()booleanequals(LocationInfo that) booleanfieldForId(int fieldId) intintMap<LocationInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> inthashCode()booleanisSet(LocationInfo._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field city_geo_id is set (has been assigned a value) and false otherwisebooleanReturns true if field country_geo_id is set (has been assigned a value) and false otherwisebooleanReturns true if field raw_response is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCityGeoId(int city_geo_id) voidsetCityGeoIdIsSet(boolean value) setCountryGeoId(int country_geo_id) voidsetCountryGeoIdIsSet(boolean value) voidsetFieldValue(LocationInfo._Fields field, Object value) setRawResponse(String raw_response) voidsetRawResponseIsSet(boolean value) toString()voidvoidvoidvoidvalidate()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
-
-
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
-