public static class SimpleAvro.Builder extends SpecificRecordBuilderBase<SimpleAvro> implements RecordBuilder<SimpleAvro>
| Constructor and Description |
|---|
Builder() |
Builder(SimpleAvro.Builder other) |
Builder(SimpleAvro other) |
| Modifier and Type | Method and Description |
|---|---|
SimpleAvro |
build() |
SimpleAvro.Builder |
clearBar()
Clears the value of the 'bar' field.
|
SimpleAvro.Builder |
clearBaz()
Clears the value of the 'baz' field.
|
SimpleAvro.Builder |
clearBlab()
Deprecated.
|
SimpleAvro.Builder |
clearFoo()
Clears the value of the 'foo' field.
|
ByteBuffer |
getBar()
Gets the value of the 'bar' field.
|
double |
getBaz()
Gets the value of the 'baz' field.
|
double |
getBlab()
Deprecated.
|
long |
getFoo()
Gets the value of the 'foo' field.
|
boolean |
hasBar()
Checks whether the 'bar' field has been set.
|
boolean |
hasBaz()
Checks whether the 'baz' field has been set.
|
boolean |
hasBlab()
Deprecated.
|
boolean |
hasFoo()
Checks whether the 'foo' field has been set.
|
SimpleAvro.Builder |
setBar(ByteBuffer value)
Sets the value of the 'bar' field.
|
SimpleAvro.Builder |
setBaz(double value)
Sets the value of the 'baz' field.
|
SimpleAvro.Builder |
setBlab(double value)
Deprecated.
|
SimpleAvro.Builder |
setFoo(long value)
Sets the value of the 'foo' field.
|
equals, hashCodepublic Builder()
public Builder(SimpleAvro.Builder other)
public Builder(SimpleAvro other)
public long getFoo()
public SimpleAvro.Builder setFoo(long value)
public boolean hasFoo()
public SimpleAvro.Builder clearFoo()
public ByteBuffer getBar()
public SimpleAvro.Builder setBar(ByteBuffer value)
public boolean hasBar()
public SimpleAvro.Builder clearBar()
public double getBaz()
public SimpleAvro.Builder setBaz(double value)
public boolean hasBaz()
public SimpleAvro.Builder clearBaz()
@Deprecated public double getBlab()
@Deprecated public SimpleAvro.Builder setBlab(double value)
@Deprecated public boolean hasBlab()
@Deprecated public SimpleAvro.Builder clearBlab()
public SimpleAvro build()
build in interface RecordBuilder<SimpleAvro>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.