com.xiaomi.infra.galaxy.emr.thrift.CreateClusterRequest Maven / Gradle / Ivy
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.xiaomi.infra.galaxy.emr.thrift;
import libthrift091.scheme.IScheme;
import libthrift091.scheme.SchemeFactory;
import libthrift091.scheme.StandardScheme;
import libthrift091.scheme.TupleScheme;
import libthrift091.protocol.TTupleProtocol;
import libthrift091.protocol.TProtocolException;
import libthrift091.EncodingUtils;
import libthrift091.TException;
import libthrift091.async.AsyncMethodCallback;
import libthrift091.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 org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2016-8-2")
public class CreateClusterRequest implements libthrift091.TBase, java.io.Serializable, Cloneable, Comparable {
private static final libthrift091.protocol.TStruct STRUCT_DESC = new libthrift091.protocol.TStruct("CreateClusterRequest");
private static final libthrift091.protocol.TField NAME_FIELD_DESC = new libthrift091.protocol.TField("name", libthrift091.protocol.TType.STRING, (short)1);
private static final libthrift091.protocol.TField AUTO_TERMINATE_FIELD_DESC = new libthrift091.protocol.TField("autoTerminate", libthrift091.protocol.TType.BOOL, (short)2);
private static final libthrift091.protocol.TField TERMINATION_PROTECTED_FIELD_DESC = new libthrift091.protocol.TField("terminationProtected", libthrift091.protocol.TType.BOOL, (short)3);
private static final libthrift091.protocol.TField REGION_FIELD_DESC = new libthrift091.protocol.TField("region", libthrift091.protocol.TType.STRING, (short)4);
private static final libthrift091.protocol.TField PURPOSE_FIELD_DESC = new libthrift091.protocol.TField("purpose", libthrift091.protocol.TType.STRING, (short)5);
private static final libthrift091.protocol.TField KEY_PAIR_FIELD_DESC = new libthrift091.protocol.TField("keyPair", libthrift091.protocol.TType.STRING, (short)6);
private static final libthrift091.protocol.TField ADD_INSTANCE_GROUP_REQUESTS_FIELD_DESC = new libthrift091.protocol.TField("addInstanceGroupRequests", libthrift091.protocol.TType.LIST, (short)7);
private static final libthrift091.protocol.TField SUBMIT_JOB_REQUESTS_FIELD_DESC = new libthrift091.protocol.TField("submitJobRequests", libthrift091.protocol.TType.LIST, (short)8);
private static final libthrift091.protocol.TField SOFT_CONFIG_FIELD_DESC = new libthrift091.protocol.TField("softConfig", libthrift091.protocol.TType.STRUCT, (short)9);
private static final libthrift091.protocol.TField TAGS_FIELD_DESC = new libthrift091.protocol.TField("tags", libthrift091.protocol.TType.MAP, (short)10);
private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new CreateClusterRequestStandardSchemeFactory());
schemes.put(TupleScheme.class, new CreateClusterRequestTupleSchemeFactory());
}
public String name; // required
public boolean autoTerminate; // optional
public boolean terminationProtected; // optional
public String region; // optional
public String purpose; // optional
public String keyPair; // optional
public List addInstanceGroupRequests; // optional
public List submitJobRequests; // optional
public ApplicationSuite softConfig; // optional
public Map tags; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements libthrift091.TFieldIdEnum {
NAME((short)1, "name"),
AUTO_TERMINATE((short)2, "autoTerminate"),
TERMINATION_PROTECTED((short)3, "terminationProtected"),
REGION((short)4, "region"),
PURPOSE((short)5, "purpose"),
KEY_PAIR((short)6, "keyPair"),
ADD_INSTANCE_GROUP_REQUESTS((short)7, "addInstanceGroupRequests"),
SUBMIT_JOB_REQUESTS((short)8, "submitJobRequests"),
SOFT_CONFIG((short)9, "softConfig"),
TAGS((short)10, "tags");
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: // NAME
return NAME;
case 2: // AUTO_TERMINATE
return AUTO_TERMINATE;
case 3: // TERMINATION_PROTECTED
return TERMINATION_PROTECTED;
case 4: // REGION
return REGION;
case 5: // PURPOSE
return PURPOSE;
case 6: // KEY_PAIR
return KEY_PAIR;
case 7: // ADD_INSTANCE_GROUP_REQUESTS
return ADD_INSTANCE_GROUP_REQUESTS;
case 8: // SUBMIT_JOB_REQUESTS
return SUBMIT_JOB_REQUESTS;
case 9: // SOFT_CONFIG
return SOFT_CONFIG;
case 10: // TAGS
return TAGS;
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 __AUTOTERMINATE_ISSET_ID = 0;
private static final int __TERMINATIONPROTECTED_ISSET_ID = 1;
private byte __isset_bitfield = 0;
private static final _Fields optionals[] = {_Fields.AUTO_TERMINATE,_Fields.TERMINATION_PROTECTED,_Fields.REGION,_Fields.PURPOSE,_Fields.KEY_PAIR,_Fields.ADD_INSTANCE_GROUP_REQUESTS,_Fields.SUBMIT_JOB_REQUESTS,_Fields.SOFT_CONFIG,_Fields.TAGS};
public static final Map<_Fields, libthrift091.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, libthrift091.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, libthrift091.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.NAME, new libthrift091.meta_data.FieldMetaData("name", libthrift091.TFieldRequirementType.REQUIRED,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.STRING)));
tmpMap.put(_Fields.AUTO_TERMINATE, new libthrift091.meta_data.FieldMetaData("autoTerminate", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.BOOL)));
tmpMap.put(_Fields.TERMINATION_PROTECTED, new libthrift091.meta_data.FieldMetaData("terminationProtected", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.BOOL)));
tmpMap.put(_Fields.REGION, new libthrift091.meta_data.FieldMetaData("region", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.STRING)));
tmpMap.put(_Fields.PURPOSE, new libthrift091.meta_data.FieldMetaData("purpose", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.STRING)));
tmpMap.put(_Fields.KEY_PAIR, new libthrift091.meta_data.FieldMetaData("keyPair", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.STRING)));
tmpMap.put(_Fields.ADD_INSTANCE_GROUP_REQUESTS, new libthrift091.meta_data.FieldMetaData("addInstanceGroupRequests", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.ListMetaData(libthrift091.protocol.TType.LIST,
new libthrift091.meta_data.StructMetaData(libthrift091.protocol.TType.STRUCT, AddInstanceGroupRequest.class))));
tmpMap.put(_Fields.SUBMIT_JOB_REQUESTS, new libthrift091.meta_data.FieldMetaData("submitJobRequests", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.ListMetaData(libthrift091.protocol.TType.LIST,
new libthrift091.meta_data.StructMetaData(libthrift091.protocol.TType.STRUCT, SubmitJobRequest.class))));
tmpMap.put(_Fields.SOFT_CONFIG, new libthrift091.meta_data.FieldMetaData("softConfig", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.StructMetaData(libthrift091.protocol.TType.STRUCT, ApplicationSuite.class)));
tmpMap.put(_Fields.TAGS, new libthrift091.meta_data.FieldMetaData("tags", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.MapMetaData(libthrift091.protocol.TType.MAP,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.STRING),
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.STRING))));
metaDataMap = Collections.unmodifiableMap(tmpMap);
libthrift091.meta_data.FieldMetaData.addStructMetaDataMap(CreateClusterRequest.class, metaDataMap);
}
public CreateClusterRequest() {
this.autoTerminate = false;
this.terminationProtected = true;
}
public CreateClusterRequest(
String name)
{
this();
this.name = name;
}
/**
* Performs a deep copy on other.
*/
public CreateClusterRequest(CreateClusterRequest other) {
__isset_bitfield = other.__isset_bitfield;
if (other.isSetName()) {
this.name = other.name;
}
this.autoTerminate = other.autoTerminate;
this.terminationProtected = other.terminationProtected;
if (other.isSetRegion()) {
this.region = other.region;
}
if (other.isSetPurpose()) {
this.purpose = other.purpose;
}
if (other.isSetKeyPair()) {
this.keyPair = other.keyPair;
}
if (other.isSetAddInstanceGroupRequests()) {
List __this__addInstanceGroupRequests = new ArrayList(other.addInstanceGroupRequests.size());
for (AddInstanceGroupRequest other_element : other.addInstanceGroupRequests) {
__this__addInstanceGroupRequests.add(new AddInstanceGroupRequest(other_element));
}
this.addInstanceGroupRequests = __this__addInstanceGroupRequests;
}
if (other.isSetSubmitJobRequests()) {
List __this__submitJobRequests = new ArrayList(other.submitJobRequests.size());
for (SubmitJobRequest other_element : other.submitJobRequests) {
__this__submitJobRequests.add(new SubmitJobRequest(other_element));
}
this.submitJobRequests = __this__submitJobRequests;
}
if (other.isSetSoftConfig()) {
this.softConfig = new ApplicationSuite(other.softConfig);
}
if (other.isSetTags()) {
Map __this__tags = new HashMap(other.tags);
this.tags = __this__tags;
}
}
public CreateClusterRequest deepCopy() {
return new CreateClusterRequest(this);
}
@Override
public void clear() {
this.name = null;
this.autoTerminate = false;
this.terminationProtected = true;
this.region = null;
this.purpose = null;
this.keyPair = null;
this.addInstanceGroupRequests = null;
this.submitJobRequests = null;
this.softConfig = null;
this.tags = null;
}
public String getName() {
return this.name;
}
public CreateClusterRequest setName(String name) {
this.name = name;
return this;
}
public void unsetName() {
this.name = null;
}
/** Returns true if field name is set (has been assigned a value) and false otherwise */
public boolean isSetName() {
return this.name != null;
}
public void setNameIsSet(boolean value) {
if (!value) {
this.name = null;
}
}
public boolean isAutoTerminate() {
return this.autoTerminate;
}
public CreateClusterRequest setAutoTerminate(boolean autoTerminate) {
this.autoTerminate = autoTerminate;
setAutoTerminateIsSet(true);
return this;
}
public void unsetAutoTerminate() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __AUTOTERMINATE_ISSET_ID);
}
/** Returns true if field autoTerminate is set (has been assigned a value) and false otherwise */
public boolean isSetAutoTerminate() {
return EncodingUtils.testBit(__isset_bitfield, __AUTOTERMINATE_ISSET_ID);
}
public void setAutoTerminateIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __AUTOTERMINATE_ISSET_ID, value);
}
public boolean isTerminationProtected() {
return this.terminationProtected;
}
public CreateClusterRequest setTerminationProtected(boolean terminationProtected) {
this.terminationProtected = terminationProtected;
setTerminationProtectedIsSet(true);
return this;
}
public void unsetTerminationProtected() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TERMINATIONPROTECTED_ISSET_ID);
}
/** Returns true if field terminationProtected is set (has been assigned a value) and false otherwise */
public boolean isSetTerminationProtected() {
return EncodingUtils.testBit(__isset_bitfield, __TERMINATIONPROTECTED_ISSET_ID);
}
public void setTerminationProtectedIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TERMINATIONPROTECTED_ISSET_ID, value);
}
public String getRegion() {
return this.region;
}
public CreateClusterRequest setRegion(String region) {
this.region = region;
return this;
}
public void unsetRegion() {
this.region = null;
}
/** Returns true if field region is set (has been assigned a value) and false otherwise */
public boolean isSetRegion() {
return this.region != null;
}
public void setRegionIsSet(boolean value) {
if (!value) {
this.region = null;
}
}
public String getPurpose() {
return this.purpose;
}
public CreateClusterRequest setPurpose(String purpose) {
this.purpose = purpose;
return this;
}
public void unsetPurpose() {
this.purpose = null;
}
/** Returns true if field purpose is set (has been assigned a value) and false otherwise */
public boolean isSetPurpose() {
return this.purpose != null;
}
public void setPurposeIsSet(boolean value) {
if (!value) {
this.purpose = null;
}
}
public String getKeyPair() {
return this.keyPair;
}
public CreateClusterRequest setKeyPair(String keyPair) {
this.keyPair = keyPair;
return this;
}
public void unsetKeyPair() {
this.keyPair = null;
}
/** Returns true if field keyPair is set (has been assigned a value) and false otherwise */
public boolean isSetKeyPair() {
return this.keyPair != null;
}
public void setKeyPairIsSet(boolean value) {
if (!value) {
this.keyPair = null;
}
}
public int getAddInstanceGroupRequestsSize() {
return (this.addInstanceGroupRequests == null) ? 0 : this.addInstanceGroupRequests.size();
}
public java.util.Iterator getAddInstanceGroupRequestsIterator() {
return (this.addInstanceGroupRequests == null) ? null : this.addInstanceGroupRequests.iterator();
}
public void addToAddInstanceGroupRequests(AddInstanceGroupRequest elem) {
if (this.addInstanceGroupRequests == null) {
this.addInstanceGroupRequests = new ArrayList();
}
this.addInstanceGroupRequests.add(elem);
}
public List getAddInstanceGroupRequests() {
return this.addInstanceGroupRequests;
}
public CreateClusterRequest setAddInstanceGroupRequests(List addInstanceGroupRequests) {
this.addInstanceGroupRequests = addInstanceGroupRequests;
return this;
}
public void unsetAddInstanceGroupRequests() {
this.addInstanceGroupRequests = null;
}
/** Returns true if field addInstanceGroupRequests is set (has been assigned a value) and false otherwise */
public boolean isSetAddInstanceGroupRequests() {
return this.addInstanceGroupRequests != null;
}
public void setAddInstanceGroupRequestsIsSet(boolean value) {
if (!value) {
this.addInstanceGroupRequests = null;
}
}
public int getSubmitJobRequestsSize() {
return (this.submitJobRequests == null) ? 0 : this.submitJobRequests.size();
}
public java.util.Iterator getSubmitJobRequestsIterator() {
return (this.submitJobRequests == null) ? null : this.submitJobRequests.iterator();
}
public void addToSubmitJobRequests(SubmitJobRequest elem) {
if (this.submitJobRequests == null) {
this.submitJobRequests = new ArrayList();
}
this.submitJobRequests.add(elem);
}
public List getSubmitJobRequests() {
return this.submitJobRequests;
}
public CreateClusterRequest setSubmitJobRequests(List submitJobRequests) {
this.submitJobRequests = submitJobRequests;
return this;
}
public void unsetSubmitJobRequests() {
this.submitJobRequests = null;
}
/** Returns true if field submitJobRequests is set (has been assigned a value) and false otherwise */
public boolean isSetSubmitJobRequests() {
return this.submitJobRequests != null;
}
public void setSubmitJobRequestsIsSet(boolean value) {
if (!value) {
this.submitJobRequests = null;
}
}
public ApplicationSuite getSoftConfig() {
return this.softConfig;
}
public CreateClusterRequest setSoftConfig(ApplicationSuite softConfig) {
this.softConfig = softConfig;
return this;
}
public void unsetSoftConfig() {
this.softConfig = null;
}
/** Returns true if field softConfig is set (has been assigned a value) and false otherwise */
public boolean isSetSoftConfig() {
return this.softConfig != null;
}
public void setSoftConfigIsSet(boolean value) {
if (!value) {
this.softConfig = null;
}
}
public int getTagsSize() {
return (this.tags == null) ? 0 : this.tags.size();
}
public void putToTags(String key, String val) {
if (this.tags == null) {
this.tags = new HashMap();
}
this.tags.put(key, val);
}
public Map getTags() {
return this.tags;
}
public CreateClusterRequest setTags(Map tags) {
this.tags = tags;
return this;
}
public void unsetTags() {
this.tags = null;
}
/** Returns true if field tags is set (has been assigned a value) and false otherwise */
public boolean isSetTags() {
return this.tags != null;
}
public void setTagsIsSet(boolean value) {
if (!value) {
this.tags = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case NAME:
if (value == null) {
unsetName();
} else {
setName((String)value);
}
break;
case AUTO_TERMINATE:
if (value == null) {
unsetAutoTerminate();
} else {
setAutoTerminate((Boolean)value);
}
break;
case TERMINATION_PROTECTED:
if (value == null) {
unsetTerminationProtected();
} else {
setTerminationProtected((Boolean)value);
}
break;
case REGION:
if (value == null) {
unsetRegion();
} else {
setRegion((String)value);
}
break;
case PURPOSE:
if (value == null) {
unsetPurpose();
} else {
setPurpose((String)value);
}
break;
case KEY_PAIR:
if (value == null) {
unsetKeyPair();
} else {
setKeyPair((String)value);
}
break;
case ADD_INSTANCE_GROUP_REQUESTS:
if (value == null) {
unsetAddInstanceGroupRequests();
} else {
setAddInstanceGroupRequests((List)value);
}
break;
case SUBMIT_JOB_REQUESTS:
if (value == null) {
unsetSubmitJobRequests();
} else {
setSubmitJobRequests((List)value);
}
break;
case SOFT_CONFIG:
if (value == null) {
unsetSoftConfig();
} else {
setSoftConfig((ApplicationSuite)value);
}
break;
case TAGS:
if (value == null) {
unsetTags();
} else {
setTags((Map)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case NAME:
return getName();
case AUTO_TERMINATE:
return Boolean.valueOf(isAutoTerminate());
case TERMINATION_PROTECTED:
return Boolean.valueOf(isTerminationProtected());
case REGION:
return getRegion();
case PURPOSE:
return getPurpose();
case KEY_PAIR:
return getKeyPair();
case ADD_INSTANCE_GROUP_REQUESTS:
return getAddInstanceGroupRequests();
case SUBMIT_JOB_REQUESTS:
return getSubmitJobRequests();
case SOFT_CONFIG:
return getSoftConfig();
case TAGS:
return getTags();
}
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 NAME:
return isSetName();
case AUTO_TERMINATE:
return isSetAutoTerminate();
case TERMINATION_PROTECTED:
return isSetTerminationProtected();
case REGION:
return isSetRegion();
case PURPOSE:
return isSetPurpose();
case KEY_PAIR:
return isSetKeyPair();
case ADD_INSTANCE_GROUP_REQUESTS:
return isSetAddInstanceGroupRequests();
case SUBMIT_JOB_REQUESTS:
return isSetSubmitJobRequests();
case SOFT_CONFIG:
return isSetSoftConfig();
case TAGS:
return isSetTags();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof CreateClusterRequest)
return this.equals((CreateClusterRequest)that);
return false;
}
public boolean equals(CreateClusterRequest that) {
if (that == null)
return false;
boolean this_present_name = true && this.isSetName();
boolean that_present_name = true && that.isSetName();
if (this_present_name || that_present_name) {
if (!(this_present_name && that_present_name))
return false;
if (!this.name.equals(that.name))
return false;
}
boolean this_present_autoTerminate = true && this.isSetAutoTerminate();
boolean that_present_autoTerminate = true && that.isSetAutoTerminate();
if (this_present_autoTerminate || that_present_autoTerminate) {
if (!(this_present_autoTerminate && that_present_autoTerminate))
return false;
if (this.autoTerminate != that.autoTerminate)
return false;
}
boolean this_present_terminationProtected = true && this.isSetTerminationProtected();
boolean that_present_terminationProtected = true && that.isSetTerminationProtected();
if (this_present_terminationProtected || that_present_terminationProtected) {
if (!(this_present_terminationProtected && that_present_terminationProtected))
return false;
if (this.terminationProtected != that.terminationProtected)
return false;
}
boolean this_present_region = true && this.isSetRegion();
boolean that_present_region = true && that.isSetRegion();
if (this_present_region || that_present_region) {
if (!(this_present_region && that_present_region))
return false;
if (!this.region.equals(that.region))
return false;
}
boolean this_present_purpose = true && this.isSetPurpose();
boolean that_present_purpose = true && that.isSetPurpose();
if (this_present_purpose || that_present_purpose) {
if (!(this_present_purpose && that_present_purpose))
return false;
if (!this.purpose.equals(that.purpose))
return false;
}
boolean this_present_keyPair = true && this.isSetKeyPair();
boolean that_present_keyPair = true && that.isSetKeyPair();
if (this_present_keyPair || that_present_keyPair) {
if (!(this_present_keyPair && that_present_keyPair))
return false;
if (!this.keyPair.equals(that.keyPair))
return false;
}
boolean this_present_addInstanceGroupRequests = true && this.isSetAddInstanceGroupRequests();
boolean that_present_addInstanceGroupRequests = true && that.isSetAddInstanceGroupRequests();
if (this_present_addInstanceGroupRequests || that_present_addInstanceGroupRequests) {
if (!(this_present_addInstanceGroupRequests && that_present_addInstanceGroupRequests))
return false;
if (!this.addInstanceGroupRequests.equals(that.addInstanceGroupRequests))
return false;
}
boolean this_present_submitJobRequests = true && this.isSetSubmitJobRequests();
boolean that_present_submitJobRequests = true && that.isSetSubmitJobRequests();
if (this_present_submitJobRequests || that_present_submitJobRequests) {
if (!(this_present_submitJobRequests && that_present_submitJobRequests))
return false;
if (!this.submitJobRequests.equals(that.submitJobRequests))
return false;
}
boolean this_present_softConfig = true && this.isSetSoftConfig();
boolean that_present_softConfig = true && that.isSetSoftConfig();
if (this_present_softConfig || that_present_softConfig) {
if (!(this_present_softConfig && that_present_softConfig))
return false;
if (!this.softConfig.equals(that.softConfig))
return false;
}
boolean this_present_tags = true && this.isSetTags();
boolean that_present_tags = true && that.isSetTags();
if (this_present_tags || that_present_tags) {
if (!(this_present_tags && that_present_tags))
return false;
if (!this.tags.equals(that.tags))
return false;
}
return true;
}
@Override
public int hashCode() {
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy