list.add(securityProtocol.getValue()); boolean present_resourceJobManager = true && (isSetResourceJobManager()); list.add(present_resourceJobManager); if (present_resourceJobManager)
list.add(securityProtocol.getValue()); boolean present_resourceJobManager = true && (isSetResourceJobManager()); list.add(present_resourceJobManager); if (present_resourceJobManager)
lastComparison = Boolean.valueOf(isSetResourceJobManager()).compareTo(other.isSetResourceJobManager()); if (lastComparison != 0) { return lastComparison; if (isSetResourceJobManager()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceJobManager, other.resourceJobManager); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetResourceJobManager()).compareTo(other.isSetResourceJobManager()); if (lastComparison != 0) { return lastComparison; if (isSetResourceJobManager()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceJobManager, other.resourceJobManager); if (lastComparison != 0) {
/** 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 RESOURCE_JOB_MANAGER: return isSetResourceJobManager(); case ALTERNATIVE_SSHHOST_NAME: return isSetAlternativeSSHHostName(); case SSH_PORT: return isSetSshPort(); case MONITOR_MODE: return isSetMonitorMode(); case BATCH_QUEUE_EMAIL_SENDERS: return isSetBatchQueueEmailSenders(); } 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 JOB_SUBMISSION_INTERFACE_ID: return isSetJobSubmissionInterfaceId(); case SECURITY_PROTOCOL: return isSetSecurityProtocol(); case RESOURCE_JOB_MANAGER: return isSetResourceJobManager(); case ALTERNATIVE_SSHHOST_NAME: return isSetAlternativeSSHHostName(); case SSH_PORT: return isSetSshPort(); case MONITOR_MODE: return isSetMonitorMode(); case BATCH_QUEUE_EMAIL_SENDERS: return isSetBatchQueueEmailSenders(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public SSHJobSubmission(SSHJobSubmission other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetJobSubmissionInterfaceId()) { this.jobSubmissionInterfaceId = other.jobSubmissionInterfaceId; } if (other.isSetSecurityProtocol()) { this.securityProtocol = other.securityProtocol; } if (other.isSetResourceJobManager()) { this.resourceJobManager = new ResourceJobManager(other.resourceJobManager); } if (other.isSetAlternativeSSHHostName()) { this.alternativeSSHHostName = other.alternativeSSHHostName; } this.sshPort = other.sshPort; if (other.isSetMonitorMode()) { this.monitorMode = other.monitorMode; } if (other.isSetBatchQueueEmailSenders()) { List<String> __this__batchQueueEmailSenders = new ArrayList<String>(other.batchQueueEmailSenders); this.batchQueueEmailSenders = __this__batchQueueEmailSenders; } }
/** * Performs a deep copy on <i>other</i>. */ public SSHJobSubmission(SSHJobSubmission other) { __isset_bitfield = other.__isset_bitfield; if (other.isSetJobSubmissionInterfaceId()) { this.jobSubmissionInterfaceId = other.jobSubmissionInterfaceId; } if (other.isSetSecurityProtocol()) { this.securityProtocol = other.securityProtocol; } if (other.isSetResourceJobManager()) { this.resourceJobManager = new ResourceJobManager(other.resourceJobManager); } if (other.isSetAlternativeSSHHostName()) { this.alternativeSSHHostName = other.alternativeSSHHostName; } this.sshPort = other.sshPort; if (other.isSetMonitorMode()) { this.monitorMode = other.monitorMode; } if (other.isSetBatchQueueEmailSenders()) { List<String> __this__batchQueueEmailSenders = new ArrayList<String>(other.batchQueueEmailSenders); this.batchQueueEmailSenders = __this__batchQueueEmailSenders; } }
boolean this_present_resourceJobManager = true && this.isSetResourceJobManager(); boolean that_present_resourceJobManager = true && that.isSetResourceJobManager(); if (this_present_resourceJobManager || that_present_resourceJobManager) { if (!(this_present_resourceJobManager && that_present_resourceJobManager))
boolean this_present_resourceJobManager = true && this.isSetResourceJobManager(); boolean that_present_resourceJobManager = true && that.isSetResourceJobManager(); if (this_present_resourceJobManager || that_present_resourceJobManager) { if (!(this_present_resourceJobManager && that_present_resourceJobManager))
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetJobSubmissionInterfaceId()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobSubmissionInterfaceId' is unset! Struct:" + toString()); } if (!isSetSecurityProtocol()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'securityProtocol' is unset! Struct:" + toString()); } if (!isSetResourceJobManager()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'resourceJobManager' is unset! Struct:" + toString()); } // check for sub-struct validity if (resourceJobManager != null) { resourceJobManager.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetJobSubmissionInterfaceId()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobSubmissionInterfaceId' is unset! Struct:" + toString()); } if (!isSetSecurityProtocol()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'securityProtocol' is unset! Struct:" + toString()); } if (!isSetResourceJobManager()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'resourceJobManager' is unset! Struct:" + toString()); } // check for sub-struct validity if (resourceJobManager != null) { resourceJobManager.validate(); } }