@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2017-09-01") public class LogEntry extends Object implements org.apache.thrift.TBase<LogEntry,LogEntry._Fields>, Serializable, Cloneable, Comparable<LogEntry>
| Modifier and Type | Class and Description |
|---|---|
static class |
LogEntry._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
String |
category |
String |
message |
static Map<LogEntry._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
LogEntry() |
LogEntry(LogEntry other)
Performs a deep copy on other.
|
LogEntry(String category,
String message) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(LogEntry other) |
LogEntry |
deepCopy() |
boolean |
equals(LogEntry that) |
boolean |
equals(Object that) |
LogEntry._Fields |
fieldForId(int fieldId) |
String |
getCategory() |
Object |
getFieldValue(LogEntry._Fields field) |
String |
getMessage() |
int |
hashCode() |
boolean |
isSet(LogEntry._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCategory()
Returns true if field category is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessage()
Returns true if field message is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
LogEntry |
setCategory(String category) |
void |
setCategoryIsSet(boolean value) |
void |
setFieldValue(LogEntry._Fields field,
Object value) |
LogEntry |
setMessage(String message) |
void |
setMessageIsSet(boolean value) |
String |
toString() |
void |
unsetCategory() |
void |
unsetMessage() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public String category
public String message
public static final Map<LogEntry._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public LogEntry()
public LogEntry(LogEntry other)
public LogEntry deepCopy()
deepCopy in interface org.apache.thrift.TBase<LogEntry,LogEntry._Fields>public void clear()
clear in interface org.apache.thrift.TBase<LogEntry,LogEntry._Fields>public String getCategory()
public void unsetCategory()
public boolean isSetCategory()
public void setCategoryIsSet(boolean value)
public String getMessage()
public void unsetMessage()
public boolean isSetMessage()
public void setMessageIsSet(boolean value)
public void setFieldValue(LogEntry._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<LogEntry,LogEntry._Fields>public Object getFieldValue(LogEntry._Fields field)
getFieldValue in interface org.apache.thrift.TBase<LogEntry,LogEntry._Fields>public boolean isSet(LogEntry._Fields field)
isSet in interface org.apache.thrift.TBase<LogEntry,LogEntry._Fields>public boolean equals(LogEntry that)
public int compareTo(LogEntry other)
compareTo in interface Comparable<LogEntry>public LogEntry._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<LogEntry,LogEntry._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2009-2022 Apache Software Foundation. All Rights Reserved.