@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2024-09-20") public class IntType extends Object implements org.apache.thrift.TBase<IntType,IntType._Fields>, Serializable, Cloneable, Comparable<IntType>
Modifier and Type | Class and Description |
---|---|
static class |
IntType._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
byte |
bitWidth |
boolean |
isSigned |
static Map<IntType._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
IntType() |
IntType(byte bitWidth,
boolean isSigned) |
IntType(IntType other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(IntType other) |
IntType |
deepCopy() |
boolean |
equals(IntType that) |
boolean |
equals(Object that) |
IntType._Fields |
fieldForId(int fieldId) |
byte |
getBitWidth() |
Object |
getFieldValue(IntType._Fields field) |
int |
hashCode() |
boolean |
isIsSigned() |
boolean |
isSet(IntType._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetBitWidth()
Returns true if field bitWidth is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsSigned()
Returns true if field isSigned is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
IntType |
setBitWidth(byte bitWidth) |
void |
setBitWidthIsSet(boolean value) |
void |
setFieldValue(IntType._Fields field,
Object value) |
IntType |
setIsSigned(boolean isSigned) |
void |
setIsSignedIsSet(boolean value) |
String |
toString() |
void |
unsetBitWidth() |
void |
unsetIsSigned() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public byte bitWidth
public boolean isSigned
public static final Map<IntType._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public IntType()
public IntType(byte bitWidth, boolean isSigned)
public IntType(IntType other)
public IntType deepCopy()
deepCopy
in interface org.apache.thrift.TBase<IntType,IntType._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<IntType,IntType._Fields>
public byte getBitWidth()
public IntType setBitWidth(byte bitWidth)
public void unsetBitWidth()
public boolean isSetBitWidth()
public void setBitWidthIsSet(boolean value)
public boolean isIsSigned()
public IntType setIsSigned(boolean isSigned)
public void unsetIsSigned()
public boolean isSetIsSigned()
public void setIsSignedIsSet(boolean value)
public void setFieldValue(IntType._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<IntType,IntType._Fields>
public Object getFieldValue(IntType._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<IntType,IntType._Fields>
public boolean isSet(IntType._Fields field)
isSet
in interface org.apache.thrift.TBase<IntType,IntType._Fields>
public boolean equals(IntType that)
public int compareTo(IntType other)
compareTo
in interface Comparable<IntType>
public IntType._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<IntType,IntType._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2024 The Apache Software Foundation. All rights reserved.