Class LogEntry

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<LogEntry>, org.apache.thrift.TBase<LogEntry,​LogEntry._Fields>, org.apache.thrift.TSerializable

    @Generated(value="Autogenerated by Thrift Compiler (0.12.0)",
               date="2019-05-07")
    public class LogEntry
    extends java.lang.Object
    implements org.apache.thrift.TBase<LogEntry,​LogEntry._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<LogEntry>
    See Also:
    Serialized Form
    • Field Detail

      • category

        public java.lang.String category
      • message

        public java.lang.String message
      • metaDataMap

        public static final java.util.Map<LogEntry._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • LogEntry

        public LogEntry()
      • LogEntry

        public LogEntry​(java.lang.String category,
                        java.lang.String message)
      • LogEntry

        public LogEntry​(LogEntry other)
        Performs a deep copy on other.
    • Method Detail

      • getCategory

        public java.lang.String getCategory()
      • setCategory

        public LogEntry setCategory​(java.lang.String category)
      • unsetCategory

        public void unsetCategory()
      • isSetCategory

        public boolean isSetCategory()
        Returns true if field category is set (has been assigned a value) and false otherwise
      • setCategoryIsSet

        public void setCategoryIsSet​(boolean value)
      • getMessage

        public java.lang.String getMessage()
      • setMessage

        public LogEntry setMessage​(java.lang.String message)
      • unsetMessage

        public void unsetMessage()
      • isSetMessage

        public boolean isSetMessage()
        Returns true if field message is set (has been assigned a value) and false otherwise
      • setMessageIsSet

        public void setMessageIsSet​(boolean value)
      • isSet

        public boolean isSet​(LogEntry._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<LogEntry,​LogEntry._Fields>
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object
      • equals

        public boolean equals​(LogEntry that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • compareTo

        public int compareTo​(LogEntry other)
        Specified by:
        compareTo in interface java.lang.Comparable<LogEntry>
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException