Class Scribe.Log_result
java.lang.Object
zipkin2.collector.scribe.generated.Scribe.Log_result
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Scribe.Log_result>,org.apache.thrift.TBase<Scribe.Log_result,Scribe.Log_result._Fields>,org.apache.thrift.TSerializable
- Enclosing class:
- Scribe
public static class Scribe.Log_result extends Object implements org.apache.thrift.TBase<Scribe.Log_result,Scribe.Log_result._Fields>, Serializable, Cloneable, Comparable<Scribe.Log_result>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScribe.Log_result._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description static Map<Scribe.Log_result._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapResultCodesuccess -
Constructor Summary
Constructors Constructor Description Log_result()Log_result(ResultCode success)Log_result(Scribe.Log_result other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Scribe.Log_result other)Scribe.Log_resultdeepCopy()booleanequals(Object that)booleanequals(Scribe.Log_result that)Scribe.Log_result._FieldsfieldForId(int fieldId)ObjectgetFieldValue(Scribe.Log_result._Fields field)ResultCodegetSuccess()inthashCode()booleanisSet(Scribe.Log_result._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetSuccess()Returns true if field success is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(Scribe.Log_result._Fields field, Object value)Scribe.Log_resultsetSuccess(ResultCode success)voidsetSuccessIsSet(boolean value)StringtoString()voidunsetSuccess()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
success
- See Also:
ResultCode
-
metaDataMap
public static final Map<Scribe.Log_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
Log_result
public Log_result() -
Log_result
-
Log_result
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Scribe.Log_result,Scribe.Log_result._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Scribe.Log_result,Scribe.Log_result._Fields>
-
getSuccess
- See Also:
ResultCode
-
setSuccess
- See Also:
ResultCode
-
unsetSuccess
public void unsetSuccess() -
isSetSuccess
public boolean isSetSuccess()Returns true if field success is set (has been assigned a value) and false otherwise -
setSuccessIsSet
public void setSuccessIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Scribe.Log_result,Scribe.Log_result._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Scribe.Log_result,Scribe.Log_result._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<Scribe.Log_result,Scribe.Log_result._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Scribe.Log_result>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Scribe.Log_result,Scribe.Log_result._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin 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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-