Class Scribe.Log_args
- java.lang.Object
-
- zipkin2.collector.scribe.generated.Scribe.Log_args
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Scribe.Log_args>
,org.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>
,org.apache.thrift.TSerializable
- Enclosing class:
- Scribe
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>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Scribe.Log_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description List<LogEntry>
messages
static Map<Scribe.Log_args._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 otherwiseboolean
isSetMessages()
Returns true if field messages is set (has been assigned a value) and false otherwisevoid
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)
-
-
-
Field Detail
-
metaDataMap
public static final Map<Scribe.Log_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
Log_args
public Log_args()
-
Log_args
public Log_args(Scribe.Log_args other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Scribe.Log_args deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>
-
getMessagesSize
public int getMessagesSize()
-
addToMessages
public void addToMessages(LogEntry elem)
-
setMessages
public Scribe.Log_args setMessages(List<LogEntry> messages)
-
unsetMessages
public void unsetMessages()
-
isSetMessages
public boolean isSetMessages()
Returns true if field messages is set (has been assigned a value) and false otherwise
-
setMessagesIsSet
public void setMessagesIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Scribe.Log_args._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>
-
getFieldValue
public Object getFieldValue(Scribe.Log_args._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>
-
isSet
public boolean isSet(Scribe.Log_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>
-
equals
public boolean equals(Scribe.Log_args that)
-
compareTo
public int compareTo(Scribe.Log_args other)
- Specified by:
compareTo
in interfaceComparable<Scribe.Log_args>
-
fieldForId
public Scribe.Log_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<Scribe.Log_args,Scribe.Log_args._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.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 interfaceorg.apache.thrift.TSerializable
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-