/** 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 STATUS: return isSetStatus(); case OPERATION_HANDLE: return isSetOperationHandle(); } 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 STATUS: return isSetStatus(); case OPERATION_HANDLE: return isSetOperationHandle(); } 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 STATUS: return isSetStatus(); case OPERATION_HANDLE: return isSetOperationHandle(); } throw new IllegalStateException(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_status = true && (isSetStatus()); builder.append(present_status); if (present_status) builder.append(status); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_status = true && (isSetStatus()); builder.append(present_status); if (present_status) builder.append(status); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_status = true && (isSetStatus()); builder.append(present_status); if (present_status) builder.append(status); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_status = true && (isSetStatus()); builder.append(present_status); if (present_status) builder.append(status); boolean present_operationHandle = true && (isSetOperationHandle()); builder.append(present_operationHandle); if (present_operationHandle) builder.append(operationHandle); return builder.toHashCode(); }
/** 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 STATUS: return isSetStatus(); case OPERATION_HANDLE: return isSetOperationHandle(); } throw new IllegalStateException(); }
public boolean equals(TGetCatalogsResp that) { if (that == null) return false; boolean this_present_status = true && this.isSetStatus(); boolean that_present_status = true && that.isSetStatus(); if (this_present_status || that_present_status) { if (!(this_present_status && that_present_status)) return false; if (!this.status.equals(that.status)) return false; } boolean this_present_operationHandle = true && this.isSetOperationHandle(); boolean that_present_operationHandle = true && that.isSetOperationHandle(); if (this_present_operationHandle || that_present_operationHandle) { if (!(this_present_operationHandle && that_present_operationHandle)) return false; if (!this.operationHandle.equals(that.operationHandle)) return false; } return true; }
public boolean equals(TGetCatalogsResp that) { if (that == null) return false; boolean this_present_status = true && this.isSetStatus(); boolean that_present_status = true && that.isSetStatus(); if (this_present_status || that_present_status) { if (!(this_present_status && that_present_status)) return false; if (!this.status.equals(that.status)) return false; } boolean this_present_operationHandle = true && this.isSetOperationHandle(); boolean that_present_operationHandle = true && that.isSetOperationHandle(); if (this_present_operationHandle || that_present_operationHandle) { if (!(this_present_operationHandle && that_present_operationHandle)) return false; if (!this.operationHandle.equals(that.operationHandle)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public TGetCatalogsResp(TGetCatalogsResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetCatalogsResp(TGetCatalogsResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
/** * Performs a deep copy on <i>other</i>. */ public TGetCatalogsResp(TGetCatalogsResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
public boolean equals(TGetCatalogsResp that) { if (that == null) return false; boolean this_present_status = true && this.isSetStatus(); boolean that_present_status = true && that.isSetStatus(); if (this_present_status || that_present_status) { if (!(this_present_status && that_present_status)) return false; if (!this.status.equals(that.status)) return false; } boolean this_present_operationHandle = true && this.isSetOperationHandle(); boolean that_present_operationHandle = true && that.isSetOperationHandle(); if (this_present_operationHandle || that_present_operationHandle) { if (!(this_present_operationHandle && that_present_operationHandle)) return false; if (!this.operationHandle.equals(that.operationHandle)) return false; } return true; }
public boolean equals(TGetCatalogsResp that) { if (that == null) return false; boolean this_present_status = true && this.isSetStatus(); boolean that_present_status = true && that.isSetStatus(); if (this_present_status || that_present_status) { if (!(this_present_status && that_present_status)) return false; if (!this.status.equals(that.status)) return false; } boolean this_present_operationHandle = true && this.isSetOperationHandle(); boolean that_present_operationHandle = true && that.isSetOperationHandle(); if (this_present_operationHandle || that_present_operationHandle) { if (!(this_present_operationHandle && that_present_operationHandle)) return false; if (!this.operationHandle.equals(that.operationHandle)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public TGetCatalogsResp(TGetCatalogsResp other) { if (other.isSetStatus()) { this.status = new TStatus(other.status); } if (other.isSetOperationHandle()) { this.operationHandle = new TOperationHandle(other.operationHandle); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatus()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'status' is unset! Struct:" + toString()); } // check for sub-struct validity if (status != null) { status.validate(); } if (operationHandle != null) { operationHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatus()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'status' is unset! Struct:" + toString()); } // check for sub-struct validity if (status != null) { status.validate(); } if (operationHandle != null) { operationHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatus()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'status' is unset! Struct:" + toString()); } // check for sub-struct validity if (status != null) { status.validate(); } if (operationHandle != null) { operationHandle.validate(); } }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetStatus()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'status' is unset! Struct:" + toString()); } // check for sub-struct validity if (status != null) { status.validate(); } if (operationHandle != null) { operationHandle.validate(); } }