public static class ComplexPayloadAvro.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<ComplexPayloadAvro> implements org.apache.avro.data.RecordBuilder<ComplexPayloadAvro>
Modifier and Type | Method and Description |
---|---|
ComplexPayloadAvro |
build() |
ComplexPayloadAvro.Builder |
clearEventTime()
Clears the value of the 'eventTime' field.
|
ComplexPayloadAvro.Builder |
clearInnerPayLoad()
Clears the value of the 'innerPayLoad' field.
|
ComplexPayloadAvro.Builder |
clearStringList()
Clears the value of the 'stringList' field.
|
ComplexPayloadAvro.Builder |
clearStrPayload()
Clears the value of the 'strPayload' field.
|
long |
getEventTime()
Gets the value of the 'eventTime' field.
|
InnerPayLoadAvro |
getInnerPayLoad()
Gets the value of the 'innerPayLoad' field.
|
InnerPayLoadAvro.Builder |
getInnerPayLoadBuilder()
Gets the Builder instance for the 'innerPayLoad' field and creates one if it doesn't exist yet.
|
List<String> |
getStringList()
Gets the value of the 'stringList' field.
|
String |
getStrPayload()
Gets the value of the 'strPayload' field.
|
boolean |
hasEventTime()
Checks whether the 'eventTime' field has been set.
|
boolean |
hasInnerPayLoad()
Checks whether the 'innerPayLoad' field has been set.
|
boolean |
hasInnerPayLoadBuilder()
Checks whether the 'innerPayLoad' field has an active Builder instance
|
boolean |
hasStringList()
Checks whether the 'stringList' field has been set.
|
boolean |
hasStrPayload()
Checks whether the 'strPayload' field has been set.
|
ComplexPayloadAvro.Builder |
setEventTime(long value)
Sets the value of the 'eventTime' field.
|
ComplexPayloadAvro.Builder |
setInnerPayLoad(InnerPayLoadAvro value)
Sets the value of the 'innerPayLoad' field.
|
ComplexPayloadAvro.Builder |
setInnerPayLoadBuilder(InnerPayLoadAvro.Builder value)
Sets the Builder instance for the 'innerPayLoad' field
|
ComplexPayloadAvro.Builder |
setStringList(List<String> value)
Sets the value of the 'stringList' field.
|
ComplexPayloadAvro.Builder |
setStrPayload(String value)
Sets the value of the 'strPayload' field.
|
public long getEventTime()
public ComplexPayloadAvro.Builder setEventTime(long value)
value
- The value of 'eventTime'.public boolean hasEventTime()
public ComplexPayloadAvro.Builder clearEventTime()
public List<String> getStringList()
public ComplexPayloadAvro.Builder setStringList(List<String> value)
value
- The value of 'stringList'.public boolean hasStringList()
public ComplexPayloadAvro.Builder clearStringList()
public String getStrPayload()
public ComplexPayloadAvro.Builder setStrPayload(String value)
value
- The value of 'strPayload'.public boolean hasStrPayload()
public ComplexPayloadAvro.Builder clearStrPayload()
public InnerPayLoadAvro getInnerPayLoad()
public ComplexPayloadAvro.Builder setInnerPayLoad(InnerPayLoadAvro value)
value
- The value of 'innerPayLoad'.public boolean hasInnerPayLoad()
public InnerPayLoadAvro.Builder getInnerPayLoadBuilder()
public ComplexPayloadAvro.Builder setInnerPayLoadBuilder(InnerPayLoadAvro.Builder value)
value
- The builder instance that must be set.public boolean hasInnerPayLoadBuilder()
public ComplexPayloadAvro.Builder clearInnerPayLoad()
public ComplexPayloadAvro build()
build
in interface org.apache.avro.data.RecordBuilder<ComplexPayloadAvro>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.