@Override public void clear() { setMyintIsSet(false); this.myint = 0; this.myString = null; setUnderscore_intIsSet(false); this.underscore_int = 0; }
/** * Performs a deep copy on <i>other</i>. */ public MiniStruct(MiniStruct other) { if (other.isSetMy_string()) { this.my_string = other.my_string; } if (other.isSetMy_enum()) { this.my_enum = other.my_enum; } }
public static PropValueUnion stringValue(String value) { PropValueUnion x = new PropValueUnion(); x.setStringValue(value); return x; }
public static PropValueUnion doubleValue(double value) { PropValueUnion x = new PropValueUnion(); x.setDoubleValue(value); return x; }
public static PropValueUnion flag(boolean value) { PropValueUnion x = new PropValueUnion(); x.setFlag(value); return x; }
public static PropValueUnion unionMStringString(Map<String,String> value) { PropValueUnion x = new PropValueUnion(); x.setUnionMStringString(value); return x; }
public static PropValueUnion lString(List<String> value) { PropValueUnion x = new PropValueUnion(); x.setLString(value); return x; }
public static PropValueUnion intValue(int value) { PropValueUnion x = new PropValueUnion(); x.setIntValue(value); return x; }
public static PropValueUnion longValue(long value) { PropValueUnion x = new PropValueUnion(); x.setLongValue(value); return x; }
/** * Performs a deep copy on <i>other</i>. */ public IntString(IntString other) { __isset_bitfield = other.__isset_bitfield; this.myint = other.myint; if (other.isSetMyString()) { this.myString = other.myString; } this.underscore_int = other.underscore_int; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof IntString) return this.equals((IntString)that); return false; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof Complex) return this.equals((Complex)that); return false; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof SetIntString) return this.equals((SetIntString)that); return false; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof MiniStruct) return this.equals((MiniStruct)that); return false; }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof MegaStruct) return this.equals((MegaStruct)that); return false; }
public boolean equals(Object other) { if (other instanceof PropValueUnion) { return equals((PropValueUnion)other); } else { return false; } }
public void setMy_32bit_int(int my_32bit_int) { this.my_32bit_int = my_32bit_int; setMy_32bit_intIsSet(true); }
@Override protected _Fields enumForId(short id) { return _Fields.findByThriftIdOrThrow(id); }
public ComplexTupleScheme getScheme() { return new ComplexTupleScheme(); } }
public IntString( int myint, String myString, int underscore_int) { this(); this.myint = myint; setMyintIsSet(true); this.myString = myString; this.underscore_int = underscore_int; setUnderscore_intIsSet(true); }