public boolean equals(ClearFileMetadataRequest that) { if (that == null) return false; boolean this_present_fileIds = true && this.isSetFileIds(); boolean that_present_fileIds = true && that.isSetFileIds(); if (this_present_fileIds || that_present_fileIds) { if (!(this_present_fileIds && that_present_fileIds)) return false; if (!this.fileIds.equals(that.fileIds)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public ClearFileMetadataRequest(ClearFileMetadataRequest other) { if (other.isSetFileIds()) { List<Long> __this__fileIds = new ArrayList<Long>(other.fileIds); this.fileIds = __this__fileIds; } }
/** 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 FILE_IDS: return isSetFileIds(); } throw new IllegalStateException(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_fileIds = true && (isSetFileIds()); list.add(present_fileIds); if (present_fileIds) list.add(fileIds); return list.hashCode(); }
@Override public int compareTo(ClearFileMetadataRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetFileIds()).compareTo(other.isSetFileIds()); if (lastComparison != 0) { return lastComparison; } if (isSetFileIds()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fileIds, other.fileIds); if (lastComparison != 0) { return lastComparison; } } return 0; }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetFileIds()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'fileIds' is unset! Struct:" + toString()); } // check for sub-struct validity }
public boolean equals(ClearFileMetadataRequest that) { if (that == null) return false; boolean this_present_fileIds = true && this.isSetFileIds(); boolean that_present_fileIds = true && that.isSetFileIds(); if (this_present_fileIds || that_present_fileIds) { if (!(this_present_fileIds && that_present_fileIds)) return false; if (!this.fileIds.equals(that.fileIds)) return false; } return true; }
/** * Performs a deep copy on <i>other</i>. */ public ClearFileMetadataRequest(ClearFileMetadataRequest other) { if (other.isSetFileIds()) { List<Long> __this__fileIds = new ArrayList<Long>(other.fileIds); this.fileIds = __this__fileIds; } }
/** 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 FILE_IDS: return isSetFileIds(); } throw new IllegalStateException(); }
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_fileIds = true && (isSetFileIds()); list.add(present_fileIds); if (present_fileIds) list.add(fileIds); return list.hashCode(); }
@Override public int compareTo(ClearFileMetadataRequest other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; lastComparison = Boolean.valueOf(isSetFileIds()).compareTo(other.isSetFileIds()); if (lastComparison != 0) { return lastComparison; } if (isSetFileIds()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fileIds, other.fileIds); if (lastComparison != 0) { return lastComparison; } } return 0; }
public void validate() throws org.apache.thrift.TException { // check for required fields if (!isSetFileIds()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'fileIds' is unset! Struct:" + toString()); } // check for sub-struct validity }