/** 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 JOB_SUBMISSION_INTERFACE_ID: return isSetJobSubmissionInterfaceId(); case SECURITY_PROTOCOL: return isSetSecurityProtocol(); case GLOBUS_GATE_KEEPER_END_POINT: return isSetGlobusGateKeeperEndPoint(); } throw new IllegalStateException(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_jobSubmissionInterfaceId = true && (isSetJobSubmissionInterfaceId()); list.add(present_jobSubmissionInterfaceId); if (present_jobSubmissionInterfaceId) list.add(jobSubmissionInterfaceId); boolean present_securityProtocol = true && (isSetSecurityProtocol()); list.add(present_securityProtocol); if (present_securityProtocol) list.add(securityProtocol.getValue()); boolean present_globusGateKeeperEndPoint = true && (isSetGlobusGateKeeperEndPoint()); list.add(present_globusGateKeeperEndPoint); if (present_globusGateKeeperEndPoint) list.add(globusGateKeeperEndPoint); return list.hashCode(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_jobSubmissionInterfaceId = true && (isSetJobSubmissionInterfaceId()); list.add(present_jobSubmissionInterfaceId); if (present_jobSubmissionInterfaceId) list.add(jobSubmissionInterfaceId); boolean present_securityProtocol = true && (isSetSecurityProtocol()); list.add(present_securityProtocol); if (present_securityProtocol) list.add(securityProtocol.getValue()); boolean present_globusGateKeeperEndPoint = true && (isSetGlobusGateKeeperEndPoint()); list.add(present_globusGateKeeperEndPoint); if (present_globusGateKeeperEndPoint) list.add(globusGateKeeperEndPoint); return list.hashCode(); }
if (isSetGlobusGateKeeperEndPoint()) { if (!first) sb.append(", "); sb.append("globusGateKeeperEndPoint:");
/** 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 JOB_SUBMISSION_INTERFACE_ID: return isSetJobSubmissionInterfaceId(); case SECURITY_PROTOCOL: return isSetSecurityProtocol(); case GLOBUS_GATE_KEEPER_END_POINT: return isSetGlobusGateKeeperEndPoint(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public GlobusJobSubmission(GlobusJobSubmission other) { if (other.isSetJobSubmissionInterfaceId()) { this.jobSubmissionInterfaceId = other.jobSubmissionInterfaceId; } if (other.isSetSecurityProtocol()) { this.securityProtocol = other.securityProtocol; } if (other.isSetGlobusGateKeeperEndPoint()) { List<String> __this__globusGateKeeperEndPoint = new ArrayList<String>(other.globusGateKeeperEndPoint); this.globusGateKeeperEndPoint = __this__globusGateKeeperEndPoint; } }
if (isSetGlobusGateKeeperEndPoint()) { if (!first) sb.append(", "); sb.append("globusGateKeeperEndPoint:");
/** * Performs a deep copy on <i>other</i>. */ public GlobusJobSubmission(GlobusJobSubmission other) { if (other.isSetJobSubmissionInterfaceId()) { this.jobSubmissionInterfaceId = other.jobSubmissionInterfaceId; } if (other.isSetSecurityProtocol()) { this.securityProtocol = other.securityProtocol; } if (other.isSetGlobusGateKeeperEndPoint()) { List<String> __this__globusGateKeeperEndPoint = new ArrayList<String>(other.globusGateKeeperEndPoint); this.globusGateKeeperEndPoint = __this__globusGateKeeperEndPoint; } }
lastComparison = Boolean.valueOf(isSetGlobusGateKeeperEndPoint()).compareTo(other.isSetGlobusGateKeeperEndPoint()); if (lastComparison != 0) { return lastComparison; if (isSetGlobusGateKeeperEndPoint()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.globusGateKeeperEndPoint, other.globusGateKeeperEndPoint); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetGlobusGateKeeperEndPoint()).compareTo(other.isSetGlobusGateKeeperEndPoint()); if (lastComparison != 0) { return lastComparison; if (isSetGlobusGateKeeperEndPoint()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.globusGateKeeperEndPoint, other.globusGateKeeperEndPoint); if (lastComparison != 0) {
@Override public void write(org.apache.thrift.protocol.TProtocol prot, GlobusJobSubmission struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.jobSubmissionInterfaceId); oprot.writeI32(struct.securityProtocol.getValue()); BitSet optionals = new BitSet(); if (struct.isSetGlobusGateKeeperEndPoint()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetGlobusGateKeeperEndPoint()) { { oprot.writeI32(struct.globusGateKeeperEndPoint.size()); for (String _iter32 : struct.globusGateKeeperEndPoint) { oprot.writeString(_iter32); } } } }
public void write(org.apache.thrift.protocol.TProtocol oprot, GlobusJobSubmission struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.jobSubmissionInterfaceId != null) { oprot.writeFieldBegin(JOB_SUBMISSION_INTERFACE_ID_FIELD_DESC); oprot.writeString(struct.jobSubmissionInterfaceId); oprot.writeFieldEnd(); } if (struct.securityProtocol != null) { oprot.writeFieldBegin(SECURITY_PROTOCOL_FIELD_DESC); oprot.writeI32(struct.securityProtocol.getValue()); oprot.writeFieldEnd(); } if (struct.globusGateKeeperEndPoint != null) { if (struct.isSetGlobusGateKeeperEndPoint()) { oprot.writeFieldBegin(GLOBUS_GATE_KEEPER_END_POINT_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.globusGateKeeperEndPoint.size())); for (String _iter31 : struct.globusGateKeeperEndPoint) { oprot.writeString(_iter31); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
@Override public void write(org.apache.thrift.protocol.TProtocol prot, GlobusJobSubmission struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeString(struct.jobSubmissionInterfaceId); oprot.writeI32(struct.securityProtocol.getValue()); BitSet optionals = new BitSet(); if (struct.isSetGlobusGateKeeperEndPoint()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); if (struct.isSetGlobusGateKeeperEndPoint()) { { oprot.writeI32(struct.globusGateKeeperEndPoint.size()); for (String _iter32 : struct.globusGateKeeperEndPoint) { oprot.writeString(_iter32); } } } }
public void write(org.apache.thrift.protocol.TProtocol oprot, GlobusJobSubmission struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.jobSubmissionInterfaceId != null) { oprot.writeFieldBegin(JOB_SUBMISSION_INTERFACE_ID_FIELD_DESC); oprot.writeString(struct.jobSubmissionInterfaceId); oprot.writeFieldEnd(); } if (struct.securityProtocol != null) { oprot.writeFieldBegin(SECURITY_PROTOCOL_FIELD_DESC); oprot.writeI32(struct.securityProtocol.getValue()); oprot.writeFieldEnd(); } if (struct.globusGateKeeperEndPoint != null) { if (struct.isSetGlobusGateKeeperEndPoint()) { oprot.writeFieldBegin(GLOBUS_GATE_KEEPER_END_POINT_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.globusGateKeeperEndPoint.size())); for (String _iter31 : struct.globusGateKeeperEndPoint) { oprot.writeString(_iter31); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } } oprot.writeFieldStop(); oprot.writeStructEnd(); }
public boolean equals(GlobusJobSubmission that) { if (that == null) return false; boolean this_present_jobSubmissionInterfaceId = true && this.isSetJobSubmissionInterfaceId(); boolean that_present_jobSubmissionInterfaceId = true && that.isSetJobSubmissionInterfaceId(); if (this_present_jobSubmissionInterfaceId || that_present_jobSubmissionInterfaceId) { if (!(this_present_jobSubmissionInterfaceId && that_present_jobSubmissionInterfaceId)) return false; if (!this.jobSubmissionInterfaceId.equals(that.jobSubmissionInterfaceId)) return false; } boolean this_present_securityProtocol = true && this.isSetSecurityProtocol(); boolean that_present_securityProtocol = true && that.isSetSecurityProtocol(); if (this_present_securityProtocol || that_present_securityProtocol) { if (!(this_present_securityProtocol && that_present_securityProtocol)) return false; if (!this.securityProtocol.equals(that.securityProtocol)) return false; } boolean this_present_globusGateKeeperEndPoint = true && this.isSetGlobusGateKeeperEndPoint(); boolean that_present_globusGateKeeperEndPoint = true && that.isSetGlobusGateKeeperEndPoint(); if (this_present_globusGateKeeperEndPoint || that_present_globusGateKeeperEndPoint) { if (!(this_present_globusGateKeeperEndPoint && that_present_globusGateKeeperEndPoint)) return false; if (!this.globusGateKeeperEndPoint.equals(that.globusGateKeeperEndPoint)) return false; } return true; }
public boolean equals(GlobusJobSubmission that) { if (that == null) return false; boolean this_present_jobSubmissionInterfaceId = true && this.isSetJobSubmissionInterfaceId(); boolean that_present_jobSubmissionInterfaceId = true && that.isSetJobSubmissionInterfaceId(); if (this_present_jobSubmissionInterfaceId || that_present_jobSubmissionInterfaceId) { if (!(this_present_jobSubmissionInterfaceId && that_present_jobSubmissionInterfaceId)) return false; if (!this.jobSubmissionInterfaceId.equals(that.jobSubmissionInterfaceId)) return false; } boolean this_present_securityProtocol = true && this.isSetSecurityProtocol(); boolean that_present_securityProtocol = true && that.isSetSecurityProtocol(); if (this_present_securityProtocol || that_present_securityProtocol) { if (!(this_present_securityProtocol && that_present_securityProtocol)) return false; if (!this.securityProtocol.equals(that.securityProtocol)) return false; } boolean this_present_globusGateKeeperEndPoint = true && this.isSetGlobusGateKeeperEndPoint(); boolean that_present_globusGateKeeperEndPoint = true && that.isSetGlobusGateKeeperEndPoint(); if (this_present_globusGateKeeperEndPoint || that_present_globusGateKeeperEndPoint) { if (!(this_present_globusGateKeeperEndPoint && that_present_globusGateKeeperEndPoint)) return false; if (!this.globusGateKeeperEndPoint.equals(that.globusGateKeeperEndPoint)) return false; } return true; }