this.resourceJobManagerId = other.resourceJobManagerId; if (other.isSetResourceJobManagerType()) { this.resourceJobManagerType = other.resourceJobManagerType;
@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(); }
this.resourceJobManagerId = other.resourceJobManagerId; if (other.isSetResourceJobManagerType()) { this.resourceJobManagerType = other.resourceJobManagerType;
/** 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(isSetResourceJobManagerType()).compareTo(other.isSetResourceJobManagerType()); if (lastComparison != 0) { return lastComparison; if (isSetResourceJobManagerType()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceJobManagerType, other.resourceJobManagerType); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetResourceJobManagerType()).compareTo(other.isSetResourceJobManagerType()); if (lastComparison != 0) { return lastComparison; if (isSetResourceJobManagerType()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceJobManagerType, other.resourceJobManagerType); 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 }
boolean this_present_resourceJobManagerType = true && this.isSetResourceJobManagerType(); boolean that_present_resourceJobManagerType = true && that.isSetResourceJobManagerType(); if (this_present_resourceJobManagerType || that_present_resourceJobManagerType) { if (!(this_present_resourceJobManagerType && that_present_resourceJobManagerType))
boolean this_present_resourceJobManagerType = true && this.isSetResourceJobManagerType(); boolean that_present_resourceJobManagerType = true && that.isSetResourceJobManagerType(); if (this_present_resourceJobManagerType || that_present_resourceJobManagerType) { if (!(this_present_resourceJobManagerType && that_present_resourceJobManagerType))