Class SpanLogs.Builder

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

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

      • getCustomer

        public String getCustomer()
        Gets the value of the 'customer' field.
        Returns:
        The value.
      • setCustomer

        public SpanLogs.Builder setCustomer​(String value)
        Sets the value of the 'customer' field.
        Parameters:
        value - The value of 'customer'.
        Returns:
        This builder.
      • hasCustomer

        public boolean hasCustomer()
        Checks whether the 'customer' field has been set.
        Returns:
        True if the 'customer' field has been set, false otherwise.
      • clearCustomer

        public SpanLogs.Builder clearCustomer()
        Clears the value of the 'customer' field.
        Returns:
        This builder.
      • getTraceId

        public String getTraceId()
        Gets the value of the 'traceId' field.
        Returns:
        The value.
      • setTraceId

        public SpanLogs.Builder setTraceId​(String value)
        Sets the value of the 'traceId' field.
        Parameters:
        value - The value of 'traceId'.
        Returns:
        This builder.
      • hasTraceId

        public boolean hasTraceId()
        Checks whether the 'traceId' field has been set.
        Returns:
        True if the 'traceId' field has been set, false otherwise.
      • clearTraceId

        public SpanLogs.Builder clearTraceId()
        Clears the value of the 'traceId' field.
        Returns:
        This builder.
      • getSpanId

        public String getSpanId()
        Gets the value of the 'spanId' field.
        Returns:
        The value.
      • setSpanId

        public SpanLogs.Builder setSpanId​(String value)
        Sets the value of the 'spanId' field.
        Parameters:
        value - The value of 'spanId'.
        Returns:
        This builder.
      • hasSpanId

        public boolean hasSpanId()
        Checks whether the 'spanId' field has been set.
        Returns:
        True if the 'spanId' field has been set, false otherwise.
      • clearSpanId

        public SpanLogs.Builder clearSpanId()
        Clears the value of the 'spanId' field.
        Returns:
        This builder.
      • getSpanSecondaryId

        public String getSpanSecondaryId()
        Gets the value of the 'spanSecondaryId' field.
        Returns:
        The value.
      • setSpanSecondaryId

        public SpanLogs.Builder setSpanSecondaryId​(String value)
        Sets the value of the 'spanSecondaryId' field.
        Parameters:
        value - The value of 'spanSecondaryId'.
        Returns:
        This builder.
      • hasSpanSecondaryId

        public boolean hasSpanSecondaryId()
        Checks whether the 'spanSecondaryId' field has been set.
        Returns:
        True if the 'spanSecondaryId' field has been set, false otherwise.
      • clearSpanSecondaryId

        public SpanLogs.Builder clearSpanSecondaryId()
        Clears the value of the 'spanSecondaryId' field.
        Returns:
        This builder.
      • getLogs

        public List<SpanLog> getLogs()
        Gets the value of the 'logs' field.
        Returns:
        The value.
      • setLogs

        public SpanLogs.Builder setLogs​(List<SpanLog> value)
        Sets the value of the 'logs' field.
        Parameters:
        value - The value of 'logs'.
        Returns:
        This builder.
      • hasLogs

        public boolean hasLogs()
        Checks whether the 'logs' field has been set.
        Returns:
        True if the 'logs' field has been set, false otherwise.
      • clearLogs

        public SpanLogs.Builder clearLogs()
        Clears the value of the 'logs' field.
        Returns:
        This builder.
      • getSpan

        public String getSpan()
        Gets the value of the 'span' field.
        Returns:
        The value.
      • setSpan

        public SpanLogs.Builder setSpan​(String value)
        Sets the value of the 'span' field.
        Parameters:
        value - The value of 'span'.
        Returns:
        This builder.
      • hasSpan

        public boolean hasSpan()
        Checks whether the 'span' field has been set.
        Returns:
        True if the 'span' field has been set, false otherwise.
      • clearSpan

        public SpanLogs.Builder clearSpan()
        Clears the value of the 'span' field.
        Returns:
        This builder.
      • build

        public SpanLogs build()
        Specified by:
        build in interface org.apache.avro.data.RecordBuilder<SpanLogs>