Class ReportSourceTag.Builder

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

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

      • getOperation

        public SourceOperationType getOperation()
        Gets the value of the 'operation' field.
        Returns:
        The value.
      • hasOperation

        public boolean hasOperation()
        Checks whether the 'operation' field has been set.
        Returns:
        True if the 'operation' field has been set, false otherwise.
      • clearOperation

        public ReportSourceTag.Builder clearOperation()
        Clears the value of the 'operation' field.
        Returns:
        This builder.
      • getAction

        public SourceTagAction getAction()
        Gets the value of the 'action' field.
        Returns:
        The value.
      • hasAction

        public boolean hasAction()
        Checks whether the 'action' field has been set.
        Returns:
        True if the 'action' field has been set, false otherwise.
      • clearAction

        public ReportSourceTag.Builder clearAction()
        Clears the value of the 'action' field.
        Returns:
        This builder.
      • getSource

        public String getSource()
        Gets the value of the 'source' field.
        Returns:
        The value.
      • setSource

        public ReportSourceTag.Builder setSource​(String value)
        Sets the value of the 'source' field.
        Parameters:
        value - The value of 'source'.
        Returns:
        This builder.
      • hasSource

        public boolean hasSource()
        Checks whether the 'source' field has been set.
        Returns:
        True if the 'source' field has been set, false otherwise.
      • clearSource

        public ReportSourceTag.Builder clearSource()
        Clears the value of the 'source' field.
        Returns:
        This builder.
      • getAnnotations

        public List<String> getAnnotations()
        Gets the value of the 'annotations' field.
        Returns:
        The value.
      • setAnnotations

        public ReportSourceTag.Builder setAnnotations​(List<String> value)
        Sets the value of the 'annotations' field.
        Parameters:
        value - The value of 'annotations'.
        Returns:
        This builder.
      • hasAnnotations

        public boolean hasAnnotations()
        Checks whether the 'annotations' field has been set.
        Returns:
        True if the 'annotations' field has been set, false otherwise.
      • clearAnnotations

        public ReportSourceTag.Builder clearAnnotations()
        Clears the value of the 'annotations' field.
        Returns:
        This builder.