Package ai.heavy.thrift.server
Class TPixel
- java.lang.Object
-
- ai.heavy.thrift.server.TPixel
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TPixel>,org.apache.thrift.TBase<TPixel,TPixel._Fields>,org.apache.thrift.TSerializable
public class TPixel extends Object implements org.apache.thrift.TBase<TPixel,TPixel._Fields>, Serializable, Cloneable, Comparable<TPixel>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTPixel._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<TPixel._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongxlongy
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TPixel other)TPixeldeepCopy()booleanequals(TPixel that)booleanequals(Object that)TPixel._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TPixel._Fields field)longgetX()longgetY()inthashCode()booleanisSet(TPixel._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetX()Returns true if field x is set (has been assigned a value) and false otherwisebooleanisSetY()Returns true if field y is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TPixel._Fields field, Object value)TPixelsetX(long x)voidsetXIsSet(boolean value)TPixelsetY(long y)voidsetYIsSet(boolean value)StringtoString()voidunsetX()voidunsetY()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
x
public long x
-
y
public long y
-
metaDataMap
public static final Map<TPixel._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TPixel
public TPixel()
-
TPixel
public TPixel(long x, long y)
-
TPixel
public TPixel(TPixel other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TPixel deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TPixel,TPixel._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TPixel,TPixel._Fields>
-
getX
public long getX()
-
setX
public TPixel setX(long x)
-
unsetX
public void unsetX()
-
isSetX
public boolean isSetX()
Returns true if field x is set (has been assigned a value) and false otherwise
-
setXIsSet
public void setXIsSet(boolean value)
-
getY
public long getY()
-
setY
public TPixel setY(long y)
-
unsetY
public void unsetY()
-
isSetY
public boolean isSetY()
Returns true if field y is set (has been assigned a value) and false otherwise
-
setYIsSet
public void setYIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TPixel._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TPixel,TPixel._Fields>
-
getFieldValue
public Object getFieldValue(TPixel._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TPixel,TPixel._Fields>
-
isSet
public boolean isSet(TPixel._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TPixel,TPixel._Fields>
-
equals
public boolean equals(TPixel that)
-
compareTo
public int compareTo(TPixel other)
- Specified by:
compareToin interfaceComparable<TPixel>
-
fieldForId
public TPixel._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TPixel,TPixel._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
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-