public static class VariantAvro.Builder extends SpecificRecordBuilderBase<VariantAvro> implements RecordBuilder<VariantAvro>
| Constructor and Description |
|---|
Builder() |
Builder(VariantAvro.Builder other) |
Builder(VariantAvro other) |
| Modifier and Type | Method and Description |
|---|---|
VariantAvro |
build() |
VariantAvro.Builder |
clearBooleanVariant()
Clears the value of the 'boolean_variant' field.
|
VariantAvro.Builder |
clearBytesVariant()
Clears the value of the 'bytes_variant' field.
|
VariantAvro.Builder |
clearDoubleVariant()
Clears the value of the 'double_variant' field.
|
VariantAvro.Builder |
clearFloatVariant()
Clears the value of the 'float_variant' field.
|
VariantAvro.Builder |
clearIntVariant()
Clears the value of the 'int_variant' field.
|
VariantAvro.Builder |
clearLongVariant()
Clears the value of the 'long_variant' field.
|
VariantAvro.Builder |
clearStringVariant()
Clears the value of the 'string_variant' field.
|
boolean |
getBooleanVariant()
Gets the value of the 'boolean_variant' field.
|
ByteBuffer |
getBytesVariant()
Gets the value of the 'bytes_variant' field.
|
double |
getDoubleVariant()
Gets the value of the 'double_variant' field.
|
float |
getFloatVariant()
Gets the value of the 'float_variant' field.
|
int |
getIntVariant()
Gets the value of the 'int_variant' field.
|
long |
getLongVariant()
Gets the value of the 'long_variant' field.
|
Utf8 |
getStringVariant()
Gets the value of the 'string_variant' field.
|
boolean |
hasBooleanVariant()
Checks whether the 'boolean_variant' field has been set.
|
boolean |
hasBytesVariant()
Checks whether the 'bytes_variant' field has been set.
|
boolean |
hasDoubleVariant()
Checks whether the 'double_variant' field has been set.
|
boolean |
hasFloatVariant()
Checks whether the 'float_variant' field has been set.
|
boolean |
hasIntVariant()
Checks whether the 'int_variant' field has been set.
|
boolean |
hasLongVariant()
Checks whether the 'long_variant' field has been set.
|
boolean |
hasStringVariant()
Checks whether the 'string_variant' field has been set.
|
VariantAvro.Builder |
setBooleanVariant(boolean value)
Sets the value of the 'boolean_variant' field.
|
VariantAvro.Builder |
setBytesVariant(ByteBuffer value)
Sets the value of the 'bytes_variant' field.
|
VariantAvro.Builder |
setDoubleVariant(double value)
Sets the value of the 'double_variant' field.
|
VariantAvro.Builder |
setFloatVariant(float value)
Sets the value of the 'float_variant' field.
|
VariantAvro.Builder |
setIntVariant(int value)
Sets the value of the 'int_variant' field.
|
VariantAvro.Builder |
setLongVariant(long value)
Sets the value of the 'long_variant' field.
|
VariantAvro.Builder |
setStringVariant(Utf8 value)
Sets the value of the 'string_variant' field.
|
equals, hashCodepublic Builder()
public Builder(VariantAvro.Builder other)
public Builder(VariantAvro other)
public int getIntVariant()
public VariantAvro.Builder setIntVariant(int value)
public boolean hasIntVariant()
public VariantAvro.Builder clearIntVariant()
public long getLongVariant()
public VariantAvro.Builder setLongVariant(long value)
public boolean hasLongVariant()
public VariantAvro.Builder clearLongVariant()
public float getFloatVariant()
public VariantAvro.Builder setFloatVariant(float value)
public boolean hasFloatVariant()
public VariantAvro.Builder clearFloatVariant()
public double getDoubleVariant()
public VariantAvro.Builder setDoubleVariant(double value)
public boolean hasDoubleVariant()
public VariantAvro.Builder clearDoubleVariant()
public boolean getBooleanVariant()
public VariantAvro.Builder setBooleanVariant(boolean value)
public boolean hasBooleanVariant()
public VariantAvro.Builder clearBooleanVariant()
public Utf8 getStringVariant()
public VariantAvro.Builder setStringVariant(Utf8 value)
public boolean hasStringVariant()
public VariantAvro.Builder clearStringVariant()
public ByteBuffer getBytesVariant()
public VariantAvro.Builder setBytesVariant(ByteBuffer value)
public boolean hasBytesVariant()
public VariantAvro.Builder clearBytesVariant()
public VariantAvro build()
build in interface RecordBuilder<VariantAvro>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.