@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof alluxio.grpc.GetFileInfoPResponse)) { return super.equals(obj); } alluxio.grpc.GetFileInfoPResponse other = (alluxio.grpc.GetFileInfoPResponse) obj; boolean result = true; result = result && (hasFileInfo() == other.hasFileInfo()); if (hasFileInfo()) { result = result && getFileInfo() .equals(other.getFileInfo()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFileInfo()) { hash = (37 * hash) + FILEINFO_FIELD_NUMBER; hash = (53 * hash) + getFileInfo().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(alluxio.grpc.GetFileInfoPResponse other) { if (other == alluxio.grpc.GetFileInfoPResponse.getDefaultInstance()) return this; if (other.hasFileInfo()) { mergeFileInfo(other.getFileInfo()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }