public static class GeoAvro.Builder extends SpecificRecordBuilderBase<GeoAvro> implements RecordBuilder<GeoAvro>
| Constructor and Description |
|---|
Builder() |
Builder(GeoAvro.Builder other) |
Builder(GeoAvro other) |
| Modifier and Type | Method and Description |
|---|---|
GeoAvro |
build() |
GeoAvro.Builder |
clearCity()
Clears the value of the 'city' field.
|
GeoAvro.Builder |
clearCountry()
Clears the value of the 'country' field.
|
GeoAvro.Builder |
clearLat()
Clears the value of the 'lat' field.
|
GeoAvro.Builder |
clearLon()
Clears the value of the 'lon' field.
|
GeoAvro.Builder |
clearMetro()
Clears the value of the 'metro' field.
|
GeoAvro.Builder |
clearRegion()
Clears the value of the 'region' field.
|
GeoAvro.Builder |
clearRegionfips104()
Clears the value of the 'regionfips104' field.
|
GeoAvro.Builder |
clearType()
Clears the value of the 'type' field.
|
GeoAvro.Builder |
clearZip()
Clears the value of the 'zip' field.
|
Utf8 |
getCity()
Gets the value of the 'city' field.
|
Utf8 |
getCountry()
Gets the value of the 'country' field.
|
float |
getLat()
Gets the value of the 'lat' field.
|
float |
getLon()
Gets the value of the 'lon' field.
|
Utf8 |
getMetro()
Gets the value of the 'metro' field.
|
Utf8 |
getRegion()
Gets the value of the 'region' field.
|
Utf8 |
getRegionfips104()
Gets the value of the 'regionfips104' field.
|
int |
getType()
Gets the value of the 'type' field.
|
Utf8 |
getZip()
Gets the value of the 'zip' field.
|
boolean |
hasCity()
Checks whether the 'city' field has been set.
|
boolean |
hasCountry()
Checks whether the 'country' field has been set.
|
boolean |
hasLat()
Checks whether the 'lat' field has been set.
|
boolean |
hasLon()
Checks whether the 'lon' field has been set.
|
boolean |
hasMetro()
Checks whether the 'metro' field has been set.
|
boolean |
hasRegion()
Checks whether the 'region' field has been set.
|
boolean |
hasRegionfips104()
Checks whether the 'regionfips104' field has been set.
|
boolean |
hasType()
Checks whether the 'type' field has been set.
|
boolean |
hasZip()
Checks whether the 'zip' field has been set.
|
GeoAvro.Builder |
setCity(Utf8 value)
Sets the value of the 'city' field.
|
GeoAvro.Builder |
setCountry(Utf8 value)
Sets the value of the 'country' field.
|
GeoAvro.Builder |
setLat(float value)
Sets the value of the 'lat' field.
|
GeoAvro.Builder |
setLon(float value)
Sets the value of the 'lon' field.
|
GeoAvro.Builder |
setMetro(Utf8 value)
Sets the value of the 'metro' field.
|
GeoAvro.Builder |
setRegion(Utf8 value)
Sets the value of the 'region' field.
|
GeoAvro.Builder |
setRegionfips104(Utf8 value)
Sets the value of the 'regionfips104' field.
|
GeoAvro.Builder |
setType(int value)
Sets the value of the 'type' field.
|
GeoAvro.Builder |
setZip(Utf8 value)
Sets the value of the 'zip' field.
|
equals, hashCodepublic Builder()
public Builder(GeoAvro.Builder other)
public Builder(GeoAvro other)
public float getLat()
public GeoAvro.Builder setLat(float value)
public boolean hasLat()
public GeoAvro.Builder clearLat()
public float getLon()
public GeoAvro.Builder setLon(float value)
public boolean hasLon()
public GeoAvro.Builder clearLon()
public Utf8 getCountry()
public GeoAvro.Builder setCountry(Utf8 value)
public boolean hasCountry()
public GeoAvro.Builder clearCountry()
public Utf8 getRegion()
public GeoAvro.Builder setRegion(Utf8 value)
public boolean hasRegion()
public GeoAvro.Builder clearRegion()
public Utf8 getRegionfips104()
public GeoAvro.Builder setRegionfips104(Utf8 value)
public boolean hasRegionfips104()
public GeoAvro.Builder clearRegionfips104()
public Utf8 getMetro()
public GeoAvro.Builder setMetro(Utf8 value)
public boolean hasMetro()
public GeoAvro.Builder clearMetro()
public Utf8 getCity()
public GeoAvro.Builder setCity(Utf8 value)
public boolean hasCity()
public GeoAvro.Builder clearCity()
public Utf8 getZip()
public GeoAvro.Builder setZip(Utf8 value)
public boolean hasZip()
public GeoAvro.Builder clearZip()
public int getType()
public GeoAvro.Builder setType(int value)
public boolean hasType()
public GeoAvro.Builder clearType()
public GeoAvro build()
build in interface RecordBuilder<GeoAvro>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.