org.apache.hadoop.hive.serde2.thrift.test.Complex Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hive-apache Show documentation
Show all versions of hive-apache Show documentation
Shaded version of Apache Hive for Presto
The newest version!
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.serde2.thrift.test;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.apache.thrift.server.AbstractNonblockingServer.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import javax.annotation.Generated;
import io.prestosql.hive.$internal.org.slf4j.Logger;
import io.prestosql.hive.$internal.org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
public class Complex implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Complex");
private static final org.apache.thrift.protocol.TField AINT_FIELD_DESC = new org.apache.thrift.protocol.TField("aint", org.apache.thrift.protocol.TType.I32, (short)1);
private static final org.apache.thrift.protocol.TField A_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("aString", org.apache.thrift.protocol.TType.STRING, (short)2);
private static final org.apache.thrift.protocol.TField LINT_FIELD_DESC = new org.apache.thrift.protocol.TField("lint", org.apache.thrift.protocol.TType.LIST, (short)3);
private static final org.apache.thrift.protocol.TField L_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("lString", org.apache.thrift.protocol.TType.LIST, (short)4);
private static final org.apache.thrift.protocol.TField LINT_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("lintString", org.apache.thrift.protocol.TType.LIST, (short)5);
private static final org.apache.thrift.protocol.TField M_STRING_STRING_FIELD_DESC = new org.apache.thrift.protocol.TField("mStringString", org.apache.thrift.protocol.TType.MAP, (short)6);
private static final org.apache.thrift.protocol.TField ATTRIBUTES_FIELD_DESC = new org.apache.thrift.protocol.TField("attributes", org.apache.thrift.protocol.TType.MAP, (short)7);
private static final org.apache.thrift.protocol.TField UNION_FIELD1_FIELD_DESC = new org.apache.thrift.protocol.TField("unionField1", org.apache.thrift.protocol.TType.STRUCT, (short)8);
private static final org.apache.thrift.protocol.TField UNION_FIELD2_FIELD_DESC = new org.apache.thrift.protocol.TField("unionField2", org.apache.thrift.protocol.TType.STRUCT, (short)9);
private static final org.apache.thrift.protocol.TField UNION_FIELD3_FIELD_DESC = new org.apache.thrift.protocol.TField("unionField3", org.apache.thrift.protocol.TType.STRUCT, (short)10);
private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new ComplexStandardSchemeFactory());
schemes.put(TupleScheme.class, new ComplexTupleSchemeFactory());
}
private int aint; // required
private String aString; // required
private List lint; // required
private List lString; // required
private List lintString; // required
private Map mStringString; // required
private Map>> attributes; // required
private PropValueUnion unionField1; // required
private PropValueUnion unionField2; // required
private PropValueUnion unionField3; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
AINT((short)1, "aint"),
A_STRING((short)2, "aString"),
LINT((short)3, "lint"),
L_STRING((short)4, "lString"),
LINT_STRING((short)5, "lintString"),
M_STRING_STRING((short)6, "mStringString"),
ATTRIBUTES((short)7, "attributes"),
UNION_FIELD1((short)8, "unionField1"),
UNION_FIELD2((short)9, "unionField2"),
UNION_FIELD3((short)10, "unionField3");
private static final Map byName = new HashMap();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // AINT
return AINT;
case 2: // A_STRING
return A_STRING;
case 3: // LINT
return LINT;
case 4: // L_STRING
return L_STRING;
case 5: // LINT_STRING
return LINT_STRING;
case 6: // M_STRING_STRING
return M_STRING_STRING;
case 7: // ATTRIBUTES
return ATTRIBUTES;
case 8: // UNION_FIELD1
return UNION_FIELD1;
case 9: // UNION_FIELD2
return UNION_FIELD2;
case 10: // UNION_FIELD3
return UNION_FIELD3;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final int __AINT_ISSET_ID = 0;
private byte __isset_bitfield = 0;
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.AINT, new org.apache.thrift.meta_data.FieldMetaData("aint", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
tmpMap.put(_Fields.A_STRING, new org.apache.thrift.meta_data.FieldMetaData("aString", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.LINT, new org.apache.thrift.meta_data.FieldMetaData("lint", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))));
tmpMap.put(_Fields.L_STRING, new org.apache.thrift.meta_data.FieldMetaData("lString", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
tmpMap.put(_Fields.LINT_STRING, new org.apache.thrift.meta_data.FieldMetaData("lintString", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, IntString.class))));
tmpMap.put(_Fields.M_STRING_STRING, new org.apache.thrift.meta_data.FieldMetaData("mStringString", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING),
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
tmpMap.put(_Fields.ATTRIBUTES, new org.apache.thrift.meta_data.FieldMetaData("attributes", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING),
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING),
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING),
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PropValueUnion.class))))));
tmpMap.put(_Fields.UNION_FIELD1, new org.apache.thrift.meta_data.FieldMetaData("unionField1", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PropValueUnion.class)));
tmpMap.put(_Fields.UNION_FIELD2, new org.apache.thrift.meta_data.FieldMetaData("unionField2", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PropValueUnion.class)));
tmpMap.put(_Fields.UNION_FIELD3, new org.apache.thrift.meta_data.FieldMetaData("unionField3", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PropValueUnion.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Complex.class, metaDataMap);
}
public Complex() {
}
public Complex(
int aint,
String aString,
List lint,
List lString,
List lintString,
Map mStringString,
Map>> attributes,
PropValueUnion unionField1,
PropValueUnion unionField2,
PropValueUnion unionField3)
{
this();
this.aint = aint;
setAintIsSet(true);
this.aString = aString;
this.lint = lint;
this.lString = lString;
this.lintString = lintString;
this.mStringString = mStringString;
this.attributes = attributes;
this.unionField1 = unionField1;
this.unionField2 = unionField2;
this.unionField3 = unionField3;
}
/**
* Performs a deep copy on other.
*/
public Complex(Complex other) {
__isset_bitfield = other.__isset_bitfield;
this.aint = other.aint;
if (other.isSetAString()) {
this.aString = other.aString;
}
if (other.isSetLint()) {
List __this__lint = new ArrayList(other.lint);
this.lint = __this__lint;
}
if (other.isSetLString()) {
List __this__lString = new ArrayList(other.lString);
this.lString = __this__lString;
}
if (other.isSetLintString()) {
List __this__lintString = new ArrayList(other.lintString.size());
for (IntString other_element : other.lintString) {
__this__lintString.add(new IntString(other_element));
}
this.lintString = __this__lintString;
}
if (other.isSetMStringString()) {
Map __this__mStringString = new HashMap(other.mStringString);
this.mStringString = __this__mStringString;
}
if (other.isSetAttributes()) {
Map>> __this__attributes = new HashMap>>(other.attributes.size());
for (Map.Entry>> other_element : other.attributes.entrySet()) {
String other_element_key = other_element.getKey();
Map> other_element_value = other_element.getValue();
String __this__attributes_copy_key = other_element_key;
Map> __this__attributes_copy_value = new HashMap>(other_element_value.size());
for (Map.Entry> other_element_value_element : other_element_value.entrySet()) {
String other_element_value_element_key = other_element_value_element.getKey();
Map other_element_value_element_value = other_element_value_element.getValue();
String __this__attributes_copy_value_copy_key = other_element_value_element_key;
Map __this__attributes_copy_value_copy_value = new HashMap(other_element_value_element_value.size());
for (Map.Entry other_element_value_element_value_element : other_element_value_element_value.entrySet()) {
String other_element_value_element_value_element_key = other_element_value_element_value_element.getKey();
PropValueUnion other_element_value_element_value_element_value = other_element_value_element_value_element.getValue();
String __this__attributes_copy_value_copy_value_copy_key = other_element_value_element_value_element_key;
PropValueUnion __this__attributes_copy_value_copy_value_copy_value = new PropValueUnion(other_element_value_element_value_element_value);
__this__attributes_copy_value_copy_value.put(__this__attributes_copy_value_copy_value_copy_key, __this__attributes_copy_value_copy_value_copy_value);
}
__this__attributes_copy_value.put(__this__attributes_copy_value_copy_key, __this__attributes_copy_value_copy_value);
}
__this__attributes.put(__this__attributes_copy_key, __this__attributes_copy_value);
}
this.attributes = __this__attributes;
}
if (other.isSetUnionField1()) {
this.unionField1 = new PropValueUnion(other.unionField1);
}
if (other.isSetUnionField2()) {
this.unionField2 = new PropValueUnion(other.unionField2);
}
if (other.isSetUnionField3()) {
this.unionField3 = new PropValueUnion(other.unionField3);
}
}
public Complex deepCopy() {
return new Complex(this);
}
@Override
public void clear() {
setAintIsSet(false);
this.aint = 0;
this.aString = null;
this.lint = null;
this.lString = null;
this.lintString = null;
this.mStringString = null;
this.attributes = null;
this.unionField1 = null;
this.unionField2 = null;
this.unionField3 = null;
}
public int getAint() {
return this.aint;
}
public void setAint(int aint) {
this.aint = aint;
setAintIsSet(true);
}
public void unsetAint() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __AINT_ISSET_ID);
}
/** Returns true if field aint is set (has been assigned a value) and false otherwise */
public boolean isSetAint() {
return EncodingUtils.testBit(__isset_bitfield, __AINT_ISSET_ID);
}
public void setAintIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __AINT_ISSET_ID, value);
}
public String getAString() {
return this.aString;
}
public void setAString(String aString) {
this.aString = aString;
}
public void unsetAString() {
this.aString = null;
}
/** Returns true if field aString is set (has been assigned a value) and false otherwise */
public boolean isSetAString() {
return this.aString != null;
}
public void setAStringIsSet(boolean value) {
if (!value) {
this.aString = null;
}
}
public int getLintSize() {
return (this.lint == null) ? 0 : this.lint.size();
}
public java.util.Iterator getLintIterator() {
return (this.lint == null) ? null : this.lint.iterator();
}
public void addToLint(int elem) {
if (this.lint == null) {
this.lint = new ArrayList();
}
this.lint.add(elem);
}
public List getLint() {
return this.lint;
}
public void setLint(List lint) {
this.lint = lint;
}
public void unsetLint() {
this.lint = null;
}
/** Returns true if field lint is set (has been assigned a value) and false otherwise */
public boolean isSetLint() {
return this.lint != null;
}
public void setLintIsSet(boolean value) {
if (!value) {
this.lint = null;
}
}
public int getLStringSize() {
return (this.lString == null) ? 0 : this.lString.size();
}
public java.util.Iterator getLStringIterator() {
return (this.lString == null) ? null : this.lString.iterator();
}
public void addToLString(String elem) {
if (this.lString == null) {
this.lString = new ArrayList();
}
this.lString.add(elem);
}
public List getLString() {
return this.lString;
}
public void setLString(List lString) {
this.lString = lString;
}
public void unsetLString() {
this.lString = null;
}
/** Returns true if field lString is set (has been assigned a value) and false otherwise */
public boolean isSetLString() {
return this.lString != null;
}
public void setLStringIsSet(boolean value) {
if (!value) {
this.lString = null;
}
}
public int getLintStringSize() {
return (this.lintString == null) ? 0 : this.lintString.size();
}
public java.util.Iterator getLintStringIterator() {
return (this.lintString == null) ? null : this.lintString.iterator();
}
public void addToLintString(IntString elem) {
if (this.lintString == null) {
this.lintString = new ArrayList();
}
this.lintString.add(elem);
}
public List getLintString() {
return this.lintString;
}
public void setLintString(List lintString) {
this.lintString = lintString;
}
public void unsetLintString() {
this.lintString = null;
}
/** Returns true if field lintString is set (has been assigned a value) and false otherwise */
public boolean isSetLintString() {
return this.lintString != null;
}
public void setLintStringIsSet(boolean value) {
if (!value) {
this.lintString = null;
}
}
public int getMStringStringSize() {
return (this.mStringString == null) ? 0 : this.mStringString.size();
}
public void putToMStringString(String key, String val) {
if (this.mStringString == null) {
this.mStringString = new HashMap();
}
this.mStringString.put(key, val);
}
public Map getMStringString() {
return this.mStringString;
}
public void setMStringString(Map mStringString) {
this.mStringString = mStringString;
}
public void unsetMStringString() {
this.mStringString = null;
}
/** Returns true if field mStringString is set (has been assigned a value) and false otherwise */
public boolean isSetMStringString() {
return this.mStringString != null;
}
public void setMStringStringIsSet(boolean value) {
if (!value) {
this.mStringString = null;
}
}
public int getAttributesSize() {
return (this.attributes == null) ? 0 : this.attributes.size();
}
public void putToAttributes(String key, Map> val) {
if (this.attributes == null) {
this.attributes = new HashMap>>();
}
this.attributes.put(key, val);
}
public Map>> getAttributes() {
return this.attributes;
}
public void setAttributes(Map>> attributes) {
this.attributes = attributes;
}
public void unsetAttributes() {
this.attributes = null;
}
/** Returns true if field attributes is set (has been assigned a value) and false otherwise */
public boolean isSetAttributes() {
return this.attributes != null;
}
public void setAttributesIsSet(boolean value) {
if (!value) {
this.attributes = null;
}
}
public PropValueUnion getUnionField1() {
return this.unionField1;
}
public void setUnionField1(PropValueUnion unionField1) {
this.unionField1 = unionField1;
}
public void unsetUnionField1() {
this.unionField1 = null;
}
/** Returns true if field unionField1 is set (has been assigned a value) and false otherwise */
public boolean isSetUnionField1() {
return this.unionField1 != null;
}
public void setUnionField1IsSet(boolean value) {
if (!value) {
this.unionField1 = null;
}
}
public PropValueUnion getUnionField2() {
return this.unionField2;
}
public void setUnionField2(PropValueUnion unionField2) {
this.unionField2 = unionField2;
}
public void unsetUnionField2() {
this.unionField2 = null;
}
/** Returns true if field unionField2 is set (has been assigned a value) and false otherwise */
public boolean isSetUnionField2() {
return this.unionField2 != null;
}
public void setUnionField2IsSet(boolean value) {
if (!value) {
this.unionField2 = null;
}
}
public PropValueUnion getUnionField3() {
return this.unionField3;
}
public void setUnionField3(PropValueUnion unionField3) {
this.unionField3 = unionField3;
}
public void unsetUnionField3() {
this.unionField3 = null;
}
/** Returns true if field unionField3 is set (has been assigned a value) and false otherwise */
public boolean isSetUnionField3() {
return this.unionField3 != null;
}
public void setUnionField3IsSet(boolean value) {
if (!value) {
this.unionField3 = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case AINT:
if (value == null) {
unsetAint();
} else {
setAint((Integer)value);
}
break;
case A_STRING:
if (value == null) {
unsetAString();
} else {
setAString((String)value);
}
break;
case LINT:
if (value == null) {
unsetLint();
} else {
setLint((List)value);
}
break;
case L_STRING:
if (value == null) {
unsetLString();
} else {
setLString((List)value);
}
break;
case LINT_STRING:
if (value == null) {
unsetLintString();
} else {
setLintString((List)value);
}
break;
case M_STRING_STRING:
if (value == null) {
unsetMStringString();
} else {
setMStringString((Map)value);
}
break;
case ATTRIBUTES:
if (value == null) {
unsetAttributes();
} else {
setAttributes((Map>>)value);
}
break;
case UNION_FIELD1:
if (value == null) {
unsetUnionField1();
} else {
setUnionField1((PropValueUnion)value);
}
break;
case UNION_FIELD2:
if (value == null) {
unsetUnionField2();
} else {
setUnionField2((PropValueUnion)value);
}
break;
case UNION_FIELD3:
if (value == null) {
unsetUnionField3();
} else {
setUnionField3((PropValueUnion)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case AINT:
return getAint();
case A_STRING:
return getAString();
case LINT:
return getLint();
case L_STRING:
return getLString();
case LINT_STRING:
return getLintString();
case M_STRING_STRING:
return getMStringString();
case ATTRIBUTES:
return getAttributes();
case UNION_FIELD1:
return getUnionField1();
case UNION_FIELD2:
return getUnionField2();
case UNION_FIELD3:
return getUnionField3();
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case AINT:
return isSetAint();
case A_STRING:
return isSetAString();
case LINT:
return isSetLint();
case L_STRING:
return isSetLString();
case LINT_STRING:
return isSetLintString();
case M_STRING_STRING:
return isSetMStringString();
case ATTRIBUTES:
return isSetAttributes();
case UNION_FIELD1:
return isSetUnionField1();
case UNION_FIELD2:
return isSetUnionField2();
case UNION_FIELD3:
return isSetUnionField3();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof Complex)
return this.equals((Complex)that);
return false;
}
public boolean equals(Complex that) {
if (that == null)
return false;
boolean this_present_aint = true;
boolean that_present_aint = true;
if (this_present_aint || that_present_aint) {
if (!(this_present_aint && that_present_aint))
return false;
if (this.aint != that.aint)
return false;
}
boolean this_present_aString = true && this.isSetAString();
boolean that_present_aString = true && that.isSetAString();
if (this_present_aString || that_present_aString) {
if (!(this_present_aString && that_present_aString))
return false;
if (!this.aString.equals(that.aString))
return false;
}
boolean this_present_lint = true && this.isSetLint();
boolean that_present_lint = true && that.isSetLint();
if (this_present_lint || that_present_lint) {
if (!(this_present_lint && that_present_lint))
return false;
if (!this.lint.equals(that.lint))
return false;
}
boolean this_present_lString = true && this.isSetLString();
boolean that_present_lString = true && that.isSetLString();
if (this_present_lString || that_present_lString) {
if (!(this_present_lString && that_present_lString))
return false;
if (!this.lString.equals(that.lString))
return false;
}
boolean this_present_lintString = true && this.isSetLintString();
boolean that_present_lintString = true && that.isSetLintString();
if (this_present_lintString || that_present_lintString) {
if (!(this_present_lintString && that_present_lintString))
return false;
if (!this.lintString.equals(that.lintString))
return false;
}
boolean this_present_mStringString = true && this.isSetMStringString();
boolean that_present_mStringString = true && that.isSetMStringString();
if (this_present_mStringString || that_present_mStringString) {
if (!(this_present_mStringString && that_present_mStringString))
return false;
if (!this.mStringString.equals(that.mStringString))
return false;
}
boolean this_present_attributes = true && this.isSetAttributes();
boolean that_present_attributes = true && that.isSetAttributes();
if (this_present_attributes || that_present_attributes) {
if (!(this_present_attributes && that_present_attributes))
return false;
if (!this.attributes.equals(that.attributes))
return false;
}
boolean this_present_unionField1 = true && this.isSetUnionField1();
boolean that_present_unionField1 = true && that.isSetUnionField1();
if (this_present_unionField1 || that_present_unionField1) {
if (!(this_present_unionField1 && that_present_unionField1))
return false;
if (!this.unionField1.equals(that.unionField1))
return false;
}
boolean this_present_unionField2 = true && this.isSetUnionField2();
boolean that_present_unionField2 = true && that.isSetUnionField2();
if (this_present_unionField2 || that_present_unionField2) {
if (!(this_present_unionField2 && that_present_unionField2))
return false;
if (!this.unionField2.equals(that.unionField2))
return false;
}
boolean this_present_unionField3 = true && this.isSetUnionField3();
boolean that_present_unionField3 = true && that.isSetUnionField3();
if (this_present_unionField3 || that_present_unionField3) {
if (!(this_present_unionField3 && that_present_unionField3))
return false;
if (!this.unionField3.equals(that.unionField3))
return false;
}
return true;
}
@Override
public int hashCode() {
List © 2015 - 2025 Weber Informatics LLC | Privacy Policy