public static class BytesAvro.Builder extends SpecificRecordBuilderBase<BytesAvro> implements RecordBuilder<BytesAvro>
| Constructor and Description |
|---|
Builder() |
Builder(BytesAvro.Builder other) |
Builder(BytesAvro other) |
| Modifier and Type | Method and Description |
|---|---|
BytesAvro |
build() |
BytesAvro.Builder |
clearBytesField()
Clears the value of the 'bytes_field' field.
|
BytesAvro.Builder |
clearBytesList()
Clears the value of the 'bytes_list' field.
|
BytesAvro.Builder |
clearBytesMap()
Clears the value of the 'bytes_map' field.
|
ByteBuffer |
getBytesField()
Gets the value of the 'bytes_field' field.
|
GenericData.Array<ByteBuffer> |
getBytesList()
Gets the value of the 'bytes_list' field.
|
HashMap<Utf8,ByteBuffer> |
getBytesMap()
Gets the value of the 'bytes_map' field.
|
boolean |
hasBytesField()
Checks whether the 'bytes_field' field has been set.
|
boolean |
hasBytesList()
Checks whether the 'bytes_list' field has been set.
|
boolean |
hasBytesMap()
Checks whether the 'bytes_map' field has been set.
|
BytesAvro.Builder |
setBytesField(ByteBuffer value)
Sets the value of the 'bytes_field' field.
|
BytesAvro.Builder |
setBytesList(GenericData.Array<ByteBuffer> value)
Sets the value of the 'bytes_list' field.
|
BytesAvro.Builder |
setBytesMap(HashMap<Utf8,ByteBuffer> value)
Sets the value of the 'bytes_map' field.
|
equals, hashCodepublic Builder()
public Builder(BytesAvro.Builder other)
public Builder(BytesAvro other)
public ByteBuffer getBytesField()
public BytesAvro.Builder setBytesField(ByteBuffer value)
public boolean hasBytesField()
public BytesAvro.Builder clearBytesField()
public GenericData.Array<ByteBuffer> getBytesList()
public BytesAvro.Builder setBytesList(GenericData.Array<ByteBuffer> value)
public boolean hasBytesList()
public BytesAvro.Builder clearBytesList()
public HashMap<Utf8,ByteBuffer> getBytesMap()
public BytesAvro.Builder setBytesMap(HashMap<Utf8,ByteBuffer> value)
public boolean hasBytesMap()
public BytesAvro.Builder clearBytesMap()
public BytesAvro build()
build in interface RecordBuilder<BytesAvro>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.