Package org.apache.flink.avro.generated
Class Address.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<Address>
-
- org.apache.flink.avro.generated.Address.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
build()
Address.Builder
clearAppno()
Clears the value of the 'appno' field.Address.Builder
clearCity()
Clears the value of the 'city' field.Address.Builder
clearNum()
Clears the value of the 'num' field.Address.Builder
clearState()
Clears the value of the 'state' field.Address.Builder
clearStreet()
Clears the value of the 'street' field.Address.Builder
clearZip()
Clears the value of the 'zip' field.String
getAppno()
Gets the value of the 'appno' field.String
getCity()
Gets the value of the 'city' field.int
getNum()
Gets the value of the 'num' field.String
getState()
Gets the value of the 'state' field.String
getStreet()
Gets the value of the 'street' field.String
getZip()
Gets the value of the 'zip' field.boolean
hasAppno()
Checks whether the 'appno' field has been set.boolean
hasCity()
Checks whether the 'city' field has been set.boolean
hasNum()
Checks whether the 'num' field has been set.boolean
hasState()
Checks whether the 'state' field has been set.boolean
hasStreet()
Checks whether the 'street' field has been set.boolean
hasZip()
Checks whether the 'zip' field has been set.Address.Builder
setAppno(String value)
Sets the value of the 'appno' field.Address.Builder
setCity(String value)
Sets the value of the 'city' field.Address.Builder
setNum(int value)
Sets the value of the 'num' field.Address.Builder
setState(String value)
Sets the value of the 'state' field.Address.Builder
setStreet(String value)
Sets the value of the 'street' field.Address.Builder
setZip(String value)
Sets the value of the 'zip' field.
-
-
-
Method Detail
-
getNum
public int getNum()
Gets the value of the 'num' field.- Returns:
- The value.
-
setNum
public Address.Builder setNum(int value)
Sets the value of the 'num' field.- Parameters:
value
- The value of 'num'.- Returns:
- This builder.
-
hasNum
public boolean hasNum()
Checks whether the 'num' field has been set.- Returns:
- True if the 'num' field has been set, false otherwise.
-
clearNum
public Address.Builder clearNum()
Clears the value of the 'num' field.- Returns:
- This builder.
-
getStreet
public String getStreet()
Gets the value of the 'street' field.- Returns:
- The value.
-
setStreet
public Address.Builder setStreet(String value)
Sets the value of the 'street' field.- Parameters:
value
- The value of 'street'.- Returns:
- This builder.
-
hasStreet
public boolean hasStreet()
Checks whether the 'street' field has been set.- Returns:
- True if the 'street' field has been set, false otherwise.
-
clearStreet
public Address.Builder clearStreet()
Clears the value of the 'street' field.- Returns:
- This builder.
-
getCity
public String getCity()
Gets the value of the 'city' field.- Returns:
- The value.
-
setCity
public Address.Builder setCity(String value)
Sets the value of the 'city' field.- Parameters:
value
- The value of 'city'.- Returns:
- This builder.
-
hasCity
public boolean hasCity()
Checks whether the 'city' field has been set.- Returns:
- True if the 'city' field has been set, false otherwise.
-
clearCity
public Address.Builder clearCity()
Clears the value of the 'city' field.- Returns:
- This builder.
-
getState
public String getState()
Gets the value of the 'state' field.- Returns:
- The value.
-
setState
public Address.Builder setState(String value)
Sets the value of the 'state' field.- Parameters:
value
- The value of 'state'.- Returns:
- This builder.
-
hasState
public boolean hasState()
Checks whether the 'state' field has been set.- Returns:
- True if the 'state' field has been set, false otherwise.
-
clearState
public Address.Builder clearState()
Clears the value of the 'state' field.- Returns:
- This builder.
-
getZip
public String getZip()
Gets the value of the 'zip' field.- Returns:
- The value.
-
setZip
public Address.Builder setZip(String value)
Sets the value of the 'zip' field.- Parameters:
value
- The value of 'zip'.- Returns:
- This builder.
-
hasZip
public boolean hasZip()
Checks whether the 'zip' field has been set.- Returns:
- True if the 'zip' field has been set, false otherwise.
-
clearZip
public Address.Builder clearZip()
Clears the value of the 'zip' field.- Returns:
- This builder.
-
getAppno
public String getAppno()
Gets the value of the 'appno' field.- Returns:
- The value.
-
setAppno
public Address.Builder setAppno(String value)
Sets the value of the 'appno' field.- Parameters:
value
- The value of 'appno'.- Returns:
- This builder.
-
hasAppno
public boolean hasAppno()
Checks whether the 'appno' field has been set.- Returns:
- True if the 'appno' field has been set, false otherwise.
-
clearAppno
public Address.Builder clearAppno()
Clears the value of the 'appno' field.- Returns:
- This builder.
-
-