public static class DataAvro.Builder extends SpecificRecordBuilderBase<DataAvro> implements RecordBuilder<DataAvro>
| Constructor and Description |
|---|
Builder() |
Builder(DataAvro.Builder other) |
Builder(DataAvro other) |
| Modifier and Type | Method and Description |
|---|---|
DataAvro |
build() |
DataAvro.Builder |
clearId()
Clears the value of the 'id' field.
|
DataAvro.Builder |
clearName()
Clears the value of the 'name' field.
|
DataAvro.Builder |
clearSegment()
Clears the value of the 'segment' field.
|
Utf8 |
getId()
Gets the value of the 'id' field.
|
Utf8 |
getName()
Gets the value of the 'name' field.
|
GenericData.Array<SegmentAvro> |
getSegment()
Gets the value of the 'segment' field.
|
boolean |
hasId()
Checks whether the 'id' field has been set.
|
boolean |
hasName()
Checks whether the 'name' field has been set.
|
boolean |
hasSegment()
Checks whether the 'segment' field has been set.
|
DataAvro.Builder |
setId(Utf8 value)
Sets the value of the 'id' field.
|
DataAvro.Builder |
setName(Utf8 value)
Sets the value of the 'name' field.
|
DataAvro.Builder |
setSegment(GenericData.Array<SegmentAvro> value)
Sets the value of the 'segment' field.
|
equals, hashCodepublic Builder()
public Builder(DataAvro.Builder other)
public Builder(DataAvro other)
public Utf8 getId()
public DataAvro.Builder setId(Utf8 value)
public boolean hasId()
public DataAvro.Builder clearId()
public Utf8 getName()
public DataAvro.Builder setName(Utf8 value)
public boolean hasName()
public DataAvro.Builder clearName()
public GenericData.Array<SegmentAvro> getSegment()
public DataAvro.Builder setSegment(GenericData.Array<SegmentAvro> value)
public boolean hasSegment()
public DataAvro.Builder clearSegment()
public DataAvro build()
build in interface RecordBuilder<DataAvro>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.