Class ComplexPayloadAvro.Builder

  • All Implemented Interfaces:
    org.apache.avro.data.RecordBuilder<ComplexPayloadAvro>
    Enclosing class:
    ComplexPayloadAvro

    public static class ComplexPayloadAvro.Builder
    extends org.apache.avro.specific.SpecificRecordBuilderBase<ComplexPayloadAvro>
    implements org.apache.avro.data.RecordBuilder<ComplexPayloadAvro>
    RecordBuilder for ComplexPayloadAvro instances.
    • Method Detail

      • getEventTime

        public long getEventTime()
        Gets the value of the 'eventTime' field.
        Returns:
        The value.
      • setEventTime

        public ComplexPayloadAvro.Builder setEventTime​(long value)
        Sets the value of the 'eventTime' field.
        Parameters:
        value - The value of 'eventTime'.
        Returns:
        This builder.
      • hasEventTime

        public boolean hasEventTime()
        Checks whether the 'eventTime' field has been set.
        Returns:
        True if the 'eventTime' field has been set, false otherwise.
      • clearEventTime

        public ComplexPayloadAvro.Builder clearEventTime()
        Clears the value of the 'eventTime' field.
        Returns:
        This builder.
      • getStringList

        public List<String> getStringList()
        Gets the value of the 'stringList' field.
        Returns:
        The value.
      • setStringList

        public ComplexPayloadAvro.Builder setStringList​(List<String> value)
        Sets the value of the 'stringList' field.
        Parameters:
        value - The value of 'stringList'.
        Returns:
        This builder.
      • hasStringList

        public boolean hasStringList()
        Checks whether the 'stringList' field has been set.
        Returns:
        True if the 'stringList' field has been set, false otherwise.
      • clearStringList

        public ComplexPayloadAvro.Builder clearStringList()
        Clears the value of the 'stringList' field.
        Returns:
        This builder.
      • getStrPayload

        public String getStrPayload()
        Gets the value of the 'strPayload' field.
        Returns:
        The value.
      • setStrPayload

        public ComplexPayloadAvro.Builder setStrPayload​(String value)
        Sets the value of the 'strPayload' field.
        Parameters:
        value - The value of 'strPayload'.
        Returns:
        This builder.
      • hasStrPayload

        public boolean hasStrPayload()
        Checks whether the 'strPayload' field has been set.
        Returns:
        True if the 'strPayload' field has been set, false otherwise.
      • clearStrPayload

        public ComplexPayloadAvro.Builder clearStrPayload()
        Clears the value of the 'strPayload' field.
        Returns:
        This builder.
      • getInnerPayLoad

        public InnerPayLoadAvro getInnerPayLoad()
        Gets the value of the 'innerPayLoad' field.
        Returns:
        The value.
      • setInnerPayLoad

        public ComplexPayloadAvro.Builder setInnerPayLoad​(InnerPayLoadAvro value)
        Sets the value of the 'innerPayLoad' field.
        Parameters:
        value - The value of 'innerPayLoad'.
        Returns:
        This builder.
      • hasInnerPayLoad

        public boolean hasInnerPayLoad()
        Checks whether the 'innerPayLoad' field has been set.
        Returns:
        True if the 'innerPayLoad' field has been set, false otherwise.
      • getInnerPayLoadBuilder

        public InnerPayLoadAvro.Builder getInnerPayLoadBuilder()
        Gets the Builder instance for the 'innerPayLoad' field and creates one if it doesn't exist yet.
        Returns:
        This builder.
      • setInnerPayLoadBuilder

        public ComplexPayloadAvro.Builder setInnerPayLoadBuilder​(InnerPayLoadAvro.Builder value)
        Sets the Builder instance for the 'innerPayLoad' field
        Parameters:
        value - The builder instance that must be set.
        Returns:
        This builder.
      • hasInnerPayLoadBuilder

        public boolean hasInnerPayLoadBuilder()
        Checks whether the 'innerPayLoad' field has an active Builder instance
        Returns:
        True if the 'innerPayLoad' field has an active Builder instance
      • clearInnerPayLoad

        public ComplexPayloadAvro.Builder clearInnerPayLoad()
        Clears the value of the 'innerPayLoad' field.
        Returns:
        This builder.