if (other.isSetResourceJobManagerId()) { this.resourceJobManagerId = other.resourceJobManagerId;
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_resourceJobManagerId = true && (isSetResourceJobManagerId()); list.add(present_resourceJobManagerId); if (present_resourceJobManagerId) list.add(resourceJobManagerId); boolean present_resourceJobManagerType = true && (isSetResourceJobManagerType()); list.add(present_resourceJobManagerType); if (present_resourceJobManagerType) list.add(resourceJobManagerType.getValue()); boolean present_pushMonitoringEndpoint = true && (isSetPushMonitoringEndpoint()); list.add(present_pushMonitoringEndpoint); if (present_pushMonitoringEndpoint) list.add(pushMonitoringEndpoint); boolean present_jobManagerBinPath = true && (isSetJobManagerBinPath()); list.add(present_jobManagerBinPath); if (present_jobManagerBinPath) list.add(jobManagerBinPath); boolean present_jobManagerCommands = true && (isSetJobManagerCommands()); list.add(present_jobManagerCommands); if (present_jobManagerCommands) list.add(jobManagerCommands); boolean present_parallelismPrefix = true && (isSetParallelismPrefix()); list.add(present_parallelismPrefix); if (present_parallelismPrefix) list.add(parallelismPrefix); return list.hashCode(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_resourceJobManagerId = true && (isSetResourceJobManagerId()); list.add(present_resourceJobManagerId); if (present_resourceJobManagerId) list.add(resourceJobManagerId); boolean present_resourceJobManagerType = true && (isSetResourceJobManagerType()); list.add(present_resourceJobManagerType); if (present_resourceJobManagerType) list.add(resourceJobManagerType.getValue()); boolean present_pushMonitoringEndpoint = true && (isSetPushMonitoringEndpoint()); list.add(present_pushMonitoringEndpoint); if (present_pushMonitoringEndpoint) list.add(pushMonitoringEndpoint); boolean present_jobManagerBinPath = true && (isSetJobManagerBinPath()); list.add(present_jobManagerBinPath); if (present_jobManagerBinPath) list.add(jobManagerBinPath); boolean present_jobManagerCommands = true && (isSetJobManagerCommands()); list.add(present_jobManagerCommands); if (present_jobManagerCommands) list.add(jobManagerCommands); boolean present_parallelismPrefix = true && (isSetParallelismPrefix()); list.add(present_parallelismPrefix); if (present_parallelismPrefix) list.add(parallelismPrefix); return list.hashCode(); }
if (other.isSetResourceJobManagerId()) { this.resourceJobManagerId = other.resourceJobManagerId;
/** 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 RESOURCE_JOB_MANAGER_ID: return isSetResourceJobManagerId(); case RESOURCE_JOB_MANAGER_TYPE: return isSetResourceJobManagerType(); case PUSH_MONITORING_ENDPOINT: return isSetPushMonitoringEndpoint(); case JOB_MANAGER_BIN_PATH: return isSetJobManagerBinPath(); case JOB_MANAGER_COMMANDS: return isSetJobManagerCommands(); case PARALLELISM_PREFIX: return isSetParallelismPrefix(); } throw new IllegalStateException(); }
lastComparison = Boolean.valueOf(isSetResourceJobManagerId()).compareTo(other.isSetResourceJobManagerId()); if (lastComparison != 0) { return lastComparison; if (isSetResourceJobManagerId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceJobManagerId, other.resourceJobManagerId); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetResourceJobManagerId()).compareTo(other.isSetResourceJobManagerId()); if (lastComparison != 0) { return lastComparison; if (isSetResourceJobManagerId()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceJobManagerId, other.resourceJobManagerId); 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 RESOURCE_JOB_MANAGER_ID: return isSetResourceJobManagerId(); case RESOURCE_JOB_MANAGER_TYPE: return isSetResourceJobManagerType(); case PUSH_MONITORING_ENDPOINT: return isSetPushMonitoringEndpoint(); case JOB_MANAGER_BIN_PATH: return isSetJobManagerBinPath(); case JOB_MANAGER_COMMANDS: return isSetJobManagerCommands(); case PARALLELISM_PREFIX: return isSetParallelismPrefix(); } throw new IllegalStateException(); }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetResourceJobManagerId()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'resourceJobManagerId' is unset! Struct:" + toString()); } if (!isSetResourceJobManagerType()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'resourceJobManagerType' is unset! Struct:" + toString()); } // check for sub-struct validity }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetResourceJobManagerId()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'resourceJobManagerId' is unset! Struct:" + toString()); } if (!isSetResourceJobManagerType()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'resourceJobManagerType' is unset! Struct:" + toString()); } // check for sub-struct validity }
return false; boolean this_present_resourceJobManagerId = true && this.isSetResourceJobManagerId(); boolean that_present_resourceJobManagerId = true && that.isSetResourceJobManagerId(); if (this_present_resourceJobManagerId || that_present_resourceJobManagerId) { if (!(this_present_resourceJobManagerId && that_present_resourceJobManagerId))
return false; boolean this_present_resourceJobManagerId = true && this.isSetResourceJobManagerId(); boolean that_present_resourceJobManagerId = true && that.isSetResourceJobManagerId(); if (this_present_resourceJobManagerId || that_present_resourceJobManagerId) { if (!(this_present_resourceJobManagerId && that_present_resourceJobManagerId))