public static class NestedAvro.Builder extends SpecificRecordBuilderBase<NestedAvro> implements RecordBuilder<NestedAvro>
| Constructor and Description |
|---|
Builder() |
Builder(NestedAvro.Builder other) |
Builder(NestedAvro other) |
| Modifier and Type | Method and Description |
|---|---|
NestedAvro |
build() |
NestedAvro.Builder |
clearEnumField()
Clears the value of the 'enum_field' field.
|
NestedAvro.Builder |
clearEnumListField()
Clears the value of the 'enum_list_field' field.
|
NestedAvro.Builder |
clearEnumMapField()
Clears the value of the 'enum_map_field' field.
|
NestedAvro.Builder |
clearEnumSetField()
Clears the value of the 'enum_set_field' field.
|
NestedAvro.Builder |
clearFloatListField()
Deprecated.
|
NestedAvro.Builder |
clearFloatMapField()
Deprecated.
|
NestedAvro.Builder |
clearStructField()
Clears the value of the 'struct_field' field.
|
NestedAvro.Builder |
clearStructListField()
Clears the value of the 'struct_list_field' field.
|
NestedAvro.Builder |
clearStructMapField()
Clears the value of the 'struct_map_field' field.
|
NestedAvro.Builder |
clearStructSetField()
Clears the value of the 'struct_set_field' field.
|
NestedAvro.Builder |
clearVariant()
Clears the value of the 'variant' field.
|
EnumAvro |
getEnumField()
Gets the value of the 'enum_field' field.
|
GenericData.Array<EnumAvro> |
getEnumListField()
Gets the value of the 'enum_list_field' field.
|
HashMap<Utf8,EnumAvro> |
getEnumMapField()
Gets the value of the 'enum_map_field' field.
|
GenericData.Array<EnumAvro> |
getEnumSetField()
Gets the value of the 'enum_set_field' field.
|
GenericData.Array<Float> |
getFloatListField()
Deprecated.
|
HashMap<Utf8,Float> |
getFloatMapField()
Deprecated.
|
BytesAvro |
getStructField()
Gets the value of the 'struct_field' field.
|
GenericData.Array<BytesAvro> |
getStructListField()
Gets the value of the 'struct_list_field' field.
|
HashMap<Utf8,BytesAvro> |
getStructMapField()
Gets the value of the 'struct_map_field' field.
|
GenericData.Array<BytesAvro> |
getStructSetField()
Gets the value of the 'struct_set_field' field.
|
VariantAvro |
getVariant()
Gets the value of the 'variant' field.
|
boolean |
hasEnumField()
Checks whether the 'enum_field' field has been set.
|
boolean |
hasEnumListField()
Checks whether the 'enum_list_field' field has been set.
|
boolean |
hasEnumMapField()
Checks whether the 'enum_map_field' field has been set.
|
boolean |
hasEnumSetField()
Checks whether the 'enum_set_field' field has been set.
|
boolean |
hasFloatListField()
Deprecated.
|
boolean |
hasFloatMapField()
Deprecated.
|
boolean |
hasStructField()
Checks whether the 'struct_field' field has been set.
|
boolean |
hasStructListField()
Checks whether the 'struct_list_field' field has been set.
|
boolean |
hasStructMapField()
Checks whether the 'struct_map_field' field has been set.
|
boolean |
hasStructSetField()
Checks whether the 'struct_set_field' field has been set.
|
boolean |
hasVariant()
Checks whether the 'variant' field has been set.
|
NestedAvro.Builder |
setEnumField(EnumAvro value)
Sets the value of the 'enum_field' field.
|
NestedAvro.Builder |
setEnumListField(GenericData.Array<EnumAvro> value)
Sets the value of the 'enum_list_field' field.
|
NestedAvro.Builder |
setEnumMapField(HashMap<Utf8,EnumAvro> value)
Sets the value of the 'enum_map_field' field.
|
NestedAvro.Builder |
setEnumSetField(GenericData.Array<EnumAvro> value)
Sets the value of the 'enum_set_field' field.
|
NestedAvro.Builder |
setFloatListField(GenericData.Array<Float> value)
Deprecated.
|
NestedAvro.Builder |
setFloatMapField(HashMap<Utf8,Float> value)
Deprecated.
|
NestedAvro.Builder |
setStructField(BytesAvro value)
Sets the value of the 'struct_field' field.
|
NestedAvro.Builder |
setStructListField(GenericData.Array<BytesAvro> value)
Sets the value of the 'struct_list_field' field.
|
NestedAvro.Builder |
setStructMapField(HashMap<Utf8,BytesAvro> value)
Sets the value of the 'struct_map_field' field.
|
NestedAvro.Builder |
setStructSetField(GenericData.Array<BytesAvro> value)
Sets the value of the 'struct_set_field' field.
|
NestedAvro.Builder |
setVariant(VariantAvro value)
Sets the value of the 'variant' field.
|
equals, hashCodepublic Builder()
public Builder(NestedAvro.Builder other)
public Builder(NestedAvro other)
public EnumAvro getEnumField()
public NestedAvro.Builder setEnumField(EnumAvro value)
public boolean hasEnumField()
public NestedAvro.Builder clearEnumField()
public BytesAvro getStructField()
public NestedAvro.Builder setStructField(BytesAvro value)
public boolean hasStructField()
public NestedAvro.Builder clearStructField()
public GenericData.Array<EnumAvro> getEnumListField()
public NestedAvro.Builder setEnumListField(GenericData.Array<EnumAvro> value)
public boolean hasEnumListField()
public NestedAvro.Builder clearEnumListField()
public GenericData.Array<BytesAvro> getStructListField()
public NestedAvro.Builder setStructListField(GenericData.Array<BytesAvro> value)
public boolean hasStructListField()
public NestedAvro.Builder clearStructListField()
public GenericData.Array<EnumAvro> getEnumSetField()
public NestedAvro.Builder setEnumSetField(GenericData.Array<EnumAvro> value)
public boolean hasEnumSetField()
public NestedAvro.Builder clearEnumSetField()
public GenericData.Array<BytesAvro> getStructSetField()
public NestedAvro.Builder setStructSetField(GenericData.Array<BytesAvro> value)
public boolean hasStructSetField()
public NestedAvro.Builder clearStructSetField()
public HashMap<Utf8,EnumAvro> getEnumMapField()
public NestedAvro.Builder setEnumMapField(HashMap<Utf8,EnumAvro> value)
public boolean hasEnumMapField()
public NestedAvro.Builder clearEnumMapField()
public HashMap<Utf8,BytesAvro> getStructMapField()
public NestedAvro.Builder setStructMapField(HashMap<Utf8,BytesAvro> value)
public boolean hasStructMapField()
public NestedAvro.Builder clearStructMapField()
@Deprecated public GenericData.Array<Float> getFloatListField()
@Deprecated public NestedAvro.Builder setFloatListField(GenericData.Array<Float> value)
@Deprecated public boolean hasFloatListField()
@Deprecated public NestedAvro.Builder clearFloatListField()
@Deprecated public HashMap<Utf8,Float> getFloatMapField()
@Deprecated public NestedAvro.Builder setFloatMapField(HashMap<Utf8,Float> value)
@Deprecated public boolean hasFloatMapField()
@Deprecated public NestedAvro.Builder clearFloatMapField()
public VariantAvro getVariant()
public NestedAvro.Builder setVariant(VariantAvro value)
public boolean hasVariant()
public NestedAvro.Builder clearVariant()
public NestedAvro build()
build in interface RecordBuilder<NestedAvro>Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.