public static class Scribe.Log_args extends Object implements org.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>, Serializable, Cloneable, Comparable<Scribe.Log_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
Scribe.Log_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
List<LogEntry> |
messages |
static Map<Scribe.Log_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
Log_args() |
Log_args(List<LogEntry> messages) |
Log_args(Scribe.Log_args other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToMessages(LogEntry elem) |
void |
clear() |
int |
compareTo(Scribe.Log_args other) |
Scribe.Log_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Scribe.Log_args that) |
Scribe.Log_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(Scribe.Log_args._Fields field) |
List<LogEntry> |
getMessages() |
Iterator<LogEntry> |
getMessagesIterator() |
int |
getMessagesSize() |
int |
hashCode() |
boolean |
isSet(Scribe.Log_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetMessages()
Returns true if field messages is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Scribe.Log_args._Fields field,
Object value) |
Scribe.Log_args |
setMessages(List<LogEntry> messages) |
void |
setMessagesIsSet(boolean value) |
String |
toString() |
void |
unsetMessages() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Scribe.Log_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Log_args()
public Log_args(Scribe.Log_args other)
public Scribe.Log_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>public int getMessagesSize()
public void addToMessages(LogEntry elem)
public Scribe.Log_args setMessages(List<LogEntry> messages)
public void unsetMessages()
public boolean isSetMessages()
public void setMessagesIsSet(boolean value)
public void setFieldValue(Scribe.Log_args._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>public Object getFieldValue(Scribe.Log_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>public boolean isSet(Scribe.Log_args._Fields field)
isSet in interface org.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>public boolean equals(Scribe.Log_args that)
public int compareTo(Scribe.Log_args other)
compareTo in interface Comparable<Scribe.Log_args>public Scribe.Log_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._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.